#8644 [Opn->WFx]: Include Signal catching for parse errors
| From: | andrey@php.net | Date: | Sat, 18 Jan 2003 18:42:26 +0000 |
| Subject: | #8644 [Opn->WFx]: Include Signal catching for parse errors | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30497@lists.php.net to get a copy of this message | ||
ID: 8644
Updated by: andrey@php.net
Reported By: trevor@verite.com
-Status: Open
+Status: Wont fix
Bug Type: Feature/Change Request
Operating System: ALL
PHP Version: 4.0.4
New Comment:
There was very long discussion on php-dev about that. The decision is
that parse errors are preventable. Use php -l (as I use it every day)
before uploading to the server.
Previous Comments:
------------------------------------------------------------------------
[2001-01-10 18:09:39] trevor@verite.com
I think php needs signal catching for it's parse errors/warnings and
when a document for some reason doesn't load much similar to signal
catching of segmentation fault errors in C. For professional
applications written in PHP it would be much more "pleasent" for a
person to recieve a simple error message and a email sent to the
administrator when a parse error is recieved rather than seeing "PARSE
ERROR AT LINE ...". Obviously parse errors in the signal catching code
would be unavoidable, but it would still be a nice feature. Anyway,
just a suggestion.
-- Trevor Linton
trevor@verite.com
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=8644&edit=1