php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #41890 Eval manual page doesn't specify that execution continues after page error
Submitted: 2007-07-03 17:22 UTC Modified: 2007-08-16 13:10 UTC
From: d dot albano at gmail dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Linux
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: d dot albano at gmail dot com
New email:
PHP Version: OS:

 

 [2007-07-03 17:22 UTC] d dot albano at gmail dot com
Description:
------------
Hi,

as in summary, eval continue to work after a parse error, while this normally stop the execution.

This behaviur in documentation isin't reported and can lead developers to bugs and malfuctions.

Another note should be added to the manual page: parse errors reported by eval can't be catched using the error handler


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-16 13:10 UTC] vrana@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

"Normal code continues in execution after parse error in eval() and this error can not be catched by set_error_handler()."
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Aug 16 00:00:03 2025 UTC