php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #8644 Include Signal catching for parse errors
Submitted: 2001-01-10 18:09 UTC Modified: 2003-01-18 12:42 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:0 of 0 (0.0%)
From: trevor at verite dot com Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: 4.0.4 OS: ALL
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: trevor at verite dot com
New email:
PHP Version: OS:

 

 [2001-01-10 18:09 UTC] trevor at verite dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-18 12:42 UTC] andrey@php.net
 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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 05 13:01:31 2024 UTC