mirror of
https://github.com/php/php-src.git
synced 2024-10-05 00:36:17 +00:00
10 lines
203 B
PHP
10 lines
203 B
PHP
--TEST--
|
|
Bug #38325 (spl_autoload_register() gaves wrong line for "class not found")
|
|
--FILE--
|
|
<?php
|
|
spl_autoload_register();
|
|
new Foo();
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Class 'Foo' not found in %s on line %d
|