Bug #73897 [Opn->Nab]: eval() and PHP Fatal error: Uncaught Error: Call to undefined method
| From: | nikic@php.net | Date: | Mon, 09 Jan 2017 14:19:22 +0000 |
| Subject: | Bug #73897 [Opn->Nab]: eval() and PHP Fatal error: Uncaught Error: Call to undefined method | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-206449@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73897&edit=1
ID: 73897
Updated by: nikic@php.net
Reported by: spam2 at rhsoft dot net
Summary: eval() and PHP Fatal error: Uncaught Error: Call to
undefined method
-Status: Open
+Status: Not a bug
Type: Bug
Package: Scripting Engine problem
PHP Version: 7.1.0
Block user comment: N
Private report: N
New Comment:
As the error message says, it is an exception of type Error (see http://php.net/Error).
Previous Comments:
------------------------------------------------------------------------
[2017-01-09 14:13:00] spam2 at rhsoft dot net
Description:
------------
PHP Fatal error: Uncaught Error: Call to undefined method cl_misc::tl_linklist() in /***.php(908) :
eval()'d code:1
in case of parse errors there is try {} catch(ParseError $e) {}
and how are we supposed to handle the "PHP Fatal error: Uncaught Error" in PHP7 when this
is *not* an Exception? i am sitting here in front of a fuzzy-caller and have no way to trigger a
custom error log and output a clean error message and so have no idea where the responsible code
exists
PLEASE make it consistent and throw exceptions everywhere!
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73897&edit=1