summaryrefslogtreecommitdiff
path: root/ext/spl/tests/bug38325.phpt
blob: 5fa521a96c6c01f8c07d9e586247011260eeedd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Bug #38325 (spl_autoload_register() gaves wrong line for "class not found")
--FILE--
<?php
spl_autoload_register();
new ThisClassDoesNotExistEverFoo();
?>
--EXPECTF--
Fatal error: Uncaught Error: Class "ThisClassDoesNotExistEverFoo" not found in %s:%d
Stack trace:
#0 {main}
  thrown in %s on line 3