--TEST--
Bug #35176 (include()/require()/*_once() produce wrong error messages about main())
--INI--
html_errors=1
docref_root="/"
error_reporting=4095
--FILE--
--EXPECTF--
Warning: require_once(nonexisiting.php) [function.require-once.html]: Failed to open stream: No such file or directory in %sbug35176.php on line 2
Fatal error: Uncaught Error: Failed opening required 'nonexisiting.php' (include_path='%s') in %s:%d
Stack trace:
#0 {main}
thrown in %sbug35176.php on line 2