#19236 [Opn]: Need $php_errorLineNumber $php_errorScript in addition to $php_errormsg
ID: 19236
Updated by: wez@php.net
Reported By: php-bugs@ketan.org
Status: Open
Bug Type: Feature/Change Request
Operating System: FreeBSD
PHP Version: 4.2.2
New Comment:
That's too much magic; you can do this yourself using
set_error_handler and having your error handler set up
these global vars yourself.
Previous Comments:
------------------------------------------------------------------------
[2002-09-04 16:49:35] php-bugs@ketan.org
When using ini configuration directive track_errors = On, $php_errormsg
contains the last error message. We need a corresponding variable
$php_errorLineNumber (or whatever) that keeps track of where in the
file the error occurred, and $php_errorScriptName to tell in which file
the error occurred (in case of include()).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19236&edit=1
Thread (5 messages)