Re: How to EXPECT _error
| From: | Igor Feghali | Date: | Fri, 17 Apr 2009 11:57:08 +0000 |
| Subject: | Re: How to EXPECT _error | ||
| References: | 1 2 3 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-64782@lists.php.net to get a copy of this message | ||
Hello Zoe,
On Fri, Apr 17, 2009 at 07:23, zoe <zoe.slattery@googlemail.com> wrote:
> missing something obvious....can you (or anyone else) explain the intention
> of "use $php_errormsg variable..."?
Its a special variable. This should clarify a little bit:
http://www.php.net/manual/en/reserved.variables.phperrormsg.php
"$php_errormsg is a variable containing the text of the last error
message generated by PHP. This variable will only be available within
the scope in which the error occurred, and only if the track_errors
configuration option is turned on (it defaults to off). "
Best,
~IF