Edit report at http://bugs.php.net/bug.php?id=52195&edit=1

 ID:               52195
 Updated by:       [email protected]
 Reported by:      bastard dot internets at gmail dot com
 Summary:          Interactive shell: gentle fatal error handling
-Status:           Open
+Status:           Closed
 Type:             Feature/Change Request
 Package:          Scripting Engine problem
 Operating System: any
 PHP Version:      5.3.2
-Assigned To:      
+Assigned To:      johannes

 New Comment:

This has been fixed in trunk some time ago, along with other
improvements. Won't appear in 5.3 though.


Previous Comments:
------------------------------------------------------------------------
[2010-06-27 06:27:14] bastard dot internets at gmail dot com

To add, failure to start or continue the shell on bad config or
environment settings would be expected.  Just not as a result of shell
user errors, such as bad function definitions or typos.

------------------------------------------------------------------------
[2010-06-27 06:21:28] bastard dot internets at gmail dot com

Description:
------------
Could interactive shell not exit on fatal or any other user-generated
errors, rather instead continue after outputting the error message and
code?  Giving a catchable error, just refusal to complete the previous
command in its entity (such as fatal error caused by any script in an
'included' file) would be fine.

Test script:
---------------
Any code which could cause a fatal error.

Expected result:
----------------
Shell continues on fatal error, rather than exiting.

Actual result:
--------------
Ejection from shell.


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



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

Reply via email to