Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
rfc:autoload_include [2009/11/24 14:32] – moved to proposed state lsmith | rfc:autoload_include [2017/09/22 13:28] (current) – external edit 127.0.0.1 |
---|
* Date: 2009-11-10 | * Date: 2009-11-10 |
* Author: Lukas Smith <smith@pooteeweet.org> | * Author: Lukas Smith <smith@pooteeweet.org> |
* Status: [[http://news.php.net/php.internals/46162|Proposed]] | * Status: updated stream_resolve_include_path() was added in PHP 5.3.3 |
* First Published at: http://wiki.php.net/rfc/autoload_include | * First Published at: http://wiki.php.net/rfc/autoload_include |
| |
"stream_resolve_include_path() as currently constructed could not be intercepted, and is actually unable to process an include_path that contains streams. I'm guessing it was written long before PHP 5.3. This could be easily fixed by having stream_resolve_include_path call zend_resolve_path() instead of doing its own internal calculations. With these changes, an opcode cache could easily cache the results." | "stream_resolve_include_path() as currently constructed could not be intercepted, and is actually unable to process an include_path that contains streams. I'm guessing it was written long before PHP 5.3. This could be easily fixed by having stream_resolve_include_path call zend_resolve_path() instead of doing its own internal calculations. With these changes, an opcode cache could easily cache the results." |
| |
===== Changelog ===== | ===== Patches ===== |
| |
| * [[http://valokuva.org/patches/php/new/stream_resolve_include_path.txt}|patch to add an improved stream_resolve_include_path() to 5.3]] |