diff options
Diffstat (limited to 'ext/spl/tests/bug40091.phpt')
-rw-r--r-- | ext/spl/tests/bug40091.phpt | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/ext/spl/tests/bug40091.phpt b/ext/spl/tests/bug40091.phpt index eb157e72ae..3bb1bbf152 100644 --- a/ext/spl/tests/bug40091.phpt +++ b/ext/spl/tests/bug40091.phpt @@ -3,10 +3,10 @@ Bug #40091 (issue with spl_autoload_register() and 2 instances of the same class --FILE-- <?php class MyAutoloader { - function __construct($directory_to_use) {} - function autoload($class_name) { - // code to autoload based on directory - } + function __construct($directory_to_use) {} + function autoload($class_name) { + // code to autoload based on directory + } } $autloader1 = new MyAutoloader('dir1'); @@ -17,7 +17,6 @@ spl_autoload_register(array($autloader2, 'autoload')); print_r(spl_autoload_functions()); ?> -===DONE=== --EXPECT-- Array ( @@ -40,4 +39,3 @@ Array ) ) -===DONE=== |