|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
  [2015-09-19 22:35 UTC] j dot tvr at centrum dot cz
 Description: ------------ Currently having test.php with <?php throw new Exception(); ?> and running phpdbg -qrr test.php will end-up in interactive mode. Test script: --------------- phpdbg -qrr test.php; echo $? <?php throw new Exception(); ?> Expected result: ---------------- Fatal error: Uncaught Exception ... Stack trace: ... 255 Actual result: -------------- prompt> PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 09:00:01 2025 UTC | 
Another use-case where it will fallback to interactive mode: <?php set_exception_handler(function () { exit(123); }); throw new Exception();