I am trying to access the last error message using the superglobal
$php_errmsg. But trying to acess that var gives a "not defined" error ...
Running this script gives me:
<?php
ini_set("track_errors", true);
error_reporting (E_ALL);
$a = $php_errmsg;
die;
?>
Notice: Undefined variable: php_errmsg in err.php on line 5
What am I doing wrong?
Thanks,
Jc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- [PHP] Re: Accessing $php_errmsg give an error ... Jean-Christian Imbeault
- [PHP] Re: Accessing $php_errmsg give an error... Jean-Christian Imbeault
- Re: [PHP] Accessing $php_errmsg give an error... Ernest E Vogelsinger