Return to bug35176.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / lang |
1.1 ! misho 1: --TEST-- ! 2: Bug #35176 (include()/require()/*_once() produce wrong error messages about main()) ! 3: --INI-- ! 4: html_errors=1 ! 5: error_reporting=4095 ! 6: --FILE-- ! 7: <?php ! 8: require_once('nonexisiting.php'); ! 9: ?> ! 10: --EXPECTF-- ! 11: <br /> ! 12: <b>Warning</b>: require_once(nonexisiting.php) [<a href='function.require-once.html'>function.require-once.html</a>]: failed to open stream: No such file or directory in <b>%sbug35176.php</b> on line <b>2</b><br /> ! 13: <br /> ! 14: <b>Fatal error</b>: require_once() [<a href='function.require.html'>function.require.html</a>]: Failed opening required 'nonexisiting.php' (%s) in <b>%sbug35176.php</b> on line <b>2</b><br />