Announcement

Symphony's issue tracker has been moved to Github.

Issues are displayed here for reference only and cannot be created or edited.

Browse

Closed#655: include_once() and require_once() performance

It appers that include_once()'s and require_once()'s performance is pretty bad. They are being used all over Symphony's core, so maybe they could be replaced by a solution similar to the one from the article.

The difference seems to be next to nothing for Symphony's purposes when I implemented a similar solution. I'm guessing it's because we are not doing it a million times.

My suggestion:

Kill all "requireonce" and "includeonce" and create an autoloader. Register this implementation.

Examples (PHP 5.3):

Migrated to Github

This issue is closed.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details