Req #70531 [Csd]: Run and quit mode (-rr) should not fallback to interactive mode

From: Date: Fri, 02 Oct 2015 10:52:14 +0000
Subject: Req #70531 [Csd]: Run and quit mode (-rr) should not fallback to interactive mode
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-196346@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70531&edit=1

 ID:                 70531
 Updated by:         bwoebi@php.net
 Reported by:        j dot tvr at centrum dot cz
 Summary:            Run and quit mode (-rr) should not fallback to
                     interactive mode
 Status:             Closed
 Type:               Feature/Change Request
 Package:            phpdbg
 PHP Version:        7.0.0RC3
 Assigned To:        bwoebi
 Block user comment: N
 Private report:     N

 New Comment:

Thanks, fixed them all :-)


Previous Comments:
------------------------------------------------------------------------
[2015-10-01 18:08:24] j dot tvr at centrum dot cz

Another use-case where it will fallback to interactive mode:

<?php
set_exception_handler(function () {
	exit(123);
});

throw new Exception();

------------------------------------------------------------------------
[2015-10-01 17:51:15] j dot tvr at centrum dot cz

I tested RC4 and it works fine except for two problems

* the exit code is incorrect (https://bugs.php.net/bug.php?id=70614)
* it still ends-up in interactive-mode when the script contains parse error (e.g. <?php
$->) – can you reopen this or should I send new bug report?

------------------------------------------------------------------------
[2015-09-29 13:10:41] ab@php.net

Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=bccac3774bade617d88da45e7f1781151bb16160
Log: Fixed bug #70531 (-rr should not fallback to interactive mode in phpdbg)

------------------------------------------------------------------------
[2015-09-23 16:30:55] bwoebi@php.net

Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=bccac3774bade617d88da45e7f1781151bb16160
Log: Fixed bug #70531 (-rr should not fallback to interactive mode in phpdbg)

------------------------------------------------------------------------
[2015-09-23 16:30:20] bwoebi@php.net

Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=bccac3774bade617d88da45e7f1781151bb16160
Log: Fixed bug #70531 (-rr should not fallback to interactive mode in phpdbg)

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=70531


--
Edit this bug report at https://bugs.php.net/bug.php?id=70531&edit=1


Thread (6 messages)

« previous php.bugs (#196346) next »