Req #52195 [Opn]: Interactive shell: gentle fatal error handling
| From: | bastard dot internets at gmail dot com | Date: | Sun, 27 Jun 2010 04:27:15 +0000 |
| Subject: | Req #52195 [Opn]: Interactive shell: gentle fatal error handling | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-151907@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52195&edit=1
ID: 52195
User updated by: bastard dot internets at gmail dot com
Reported by: bastard dot internets at gmail dot com
Summary: Interactive shell: gentle fatal error handling
Status: Open
Type: Feature/Change Request
Package: Scripting Engine problem
Operating System: any
PHP Version: 5.3.2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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