Accessing $php_errmsg give an error ...

From: Date: Wed, 29 Jan 2003 10:28:10 +0000
Subject: Accessing $php_errmsg give an error ...
Groups: php.general 
Request: Send a blank email to php-general+get-133475@lists.php.net to get a copy of this message
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

« previous php.general (#133475) next »