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
 [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: Thu Aug 14 04:00:03 2025 UTC