mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
ee16316148
Make sure we don't execute further scripts if one of them encountered an exit exception. Also make sure that we free file handles that end up unused due to an early abort in php_execute_scripts(), which turned up as an issue in the added test case. Finally, make use of EG(exit_status) in the places where we zend_eval_string_ex, instead of unconditionally assigning exit code 254. If an error occurs, the error handler will already set exit status 255.
3 lines
28 B
PHP
3 lines
28 B
PHP
<?php
|
|
exit("Exiting...\n");
|