]> granicus.if.org Git - php/commit
Bug #43177: If an eval() has a parse error, the overall exit status and return code...
authorStanislav Malyshev <stas@php.net>
Wed, 2 Jan 2013 04:14:44 +0000 (20:14 -0800)
committerStanislav Malyshev <stas@php.net>
Wed, 2 Jan 2013 05:18:59 +0000 (21:18 -0800)
commit36e19c9cab6cce4e44782563f590c6c4560fb187
tree506c5f2740f7706d7c7674fa5feac556606e0c5e
parentdd288f93e1faa0aff5a22c51be034dfa4edaa0c0
Bug #43177: If an eval() has a parse error, the overall exit status and return code should not be affected.

Without this fix, a webpage using eval() may return code 500.  That might display
fine and the 500 go unnoticed, but using AJAX or wget, the 500 will cause problems.
Zend/zend.c
main/main.c
sapi/cli/tests/bug43177.phpt [new file with mode: 0644]