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 Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or 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

Add a Patch

Pull Requests

Add a Pull Request

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: Tue Mar 19 02:01:28 2024 UTC