|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-05-05 20:20 UTC] pollita@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 07:00:01 2025 UTC |
Description: ------------ stream_wrapper_register does not call the new __autoload function of Zend Engine 2. Reproduce code: --------------- VariableStream.class.php: <?php class VariableStream { function __call() {} } ?> index.php: <?php function __autoload( $class ) { echo $class; include_once( $class . '.class.php' ); } stream_wrapper_register( 'var', 'VariableStream' ); ?> Expected result: ---------------- VariableStream Actual result: -------------- Warning: stream_wrapper_register() [function.stream-wrapper-register]: class 'VariableStream' is undefined in index.php on line 6