rfc:autoload_include

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rfc:autoload_include [2009/11/24 14:32]
lsmith moved to proposed state
rfc:autoload_include [2017/09/22 13:28] (current)
Line 3: Line 3:
   * 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
  
Line 63: Line 63:
 "​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]]
rfc/autoload_include.1259073178.txt.gz · Last modified: 2017/09/22 13:28 (external edit)