mirror of
https://github.com/php/php-src.git
synced 2024-09-28 05:16:12 +00:00
12 lines
267 B
PHP
12 lines
267 B
PHP
--TEST--
|
|
Bug #38325 (spl_autoload_register() gaves wrong line for "class not found")
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("spl")) print "skip"; ?>
|
|
--FILE--
|
|
<?php
|
|
spl_autoload_register();
|
|
new Foo();
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Class 'Foo' not found in %s on line %d
|