blob: c2506009a584606272aed52802241c500d1024e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--TEST--
Bug #74372: autoloading file with syntax error uses next autoloader, may hide parse error
--FILE--
<?php
spl_autoload_register(function($class) {
eval("ha ha ha");
});
spl_autoload_register(function($class) {
echo "Don't call me.\n";
});
new Foo;
?>
--EXPECTF--
Parse error: syntax error, unexpected identifier "ha" in %s on line %d
|