mirror of
https://github.com/php/php-src.git
synced 2024-10-20 07:53:58 +00:00
13f006ac69
not found").
12 lines
290 B
PHP
12 lines
290 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: spl_autoload(): Class Foo could not be loaded in %s on line 3
|