Bug #70614 [Asn->Csd]: phpdbg: incorrect exit code in run and quit mode (-rr)

From: Date: Fri, 02 Oct 2015 10:37:46 +0000
Subject: Bug #70614 [Asn->Csd]: phpdbg: incorrect exit code in run and quit mode (-rr)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-196345@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70614&edit=1 ID: 70614 Updated by: bwoebi@php.net Reported by: j dot tvr at centrum dot cz Summary: phpdbg: incorrect exit code in run and quit mode (-rr) -Status: Assigned +Status: Closed Type: Bug Package: phpdbg PHP Version: 7.0.0RC4 Assigned To: bwoebi Block user comment: N Private report: N New Comment: Automatic comment on behalf of bobwei9@hotmail.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=0c03ba0ad0dfb4c5a7d3a1de19545a785be90ed6 Log: Fixed bug #70614 (incorrect exit code in -rr mode with Exceptions) Previous Comments: ------------------------------------------------------------------------ [2015-10-01 17:39:32] j dot tvr at centrum dot cz Description: ------------ phpdbg SAPI return in run and quit mode (-rr) invalid exit code for uncaught exception/fatal error. See https://bugs.php.net/bug.php?id=60978#1328439270 for more thorough expected behavior description. Test script: --------------- phpdbg -qrr test.php; echo $? <?php throw new Exception(); Expected result: ---------------- 255 Actual result: -------------- 0 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70614&edit=1

« previous php.bugs (#196345) next »