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