On Wed, Jan 12, 2011 at 15:41, Michael Shadle <mike...@gmail.com> wrote:
> On Wed, Jan 12, 2011 at 12:37 PM, Daniel Brown <danbr...@php.net> wrote:
>
>>    The @ is an error control operator, used to buffer the output and
>> store it in a variable - $php_errormsg.  There's no way that would be
>> changed to become an array designator (though that doesn't mean your
>> idea itself is a bad one).
>
> @ squelches error messages.
>
> AFAIK $php_errormsg is the last error that PHP incurred. not based on "@"

    Correct.  The way I worded it makes it sound like @ is what
populates the variable, which would be incorrect.  Plus, I should also
mention that $php_errormsg is only available if you enable
track_errors anyway, which (if I remember correctly) is off by
default.

    Thanks for pointing that out, Mike.

-- 
</Daniel P. Brown>
Network Infrastructure Manager
Documentation, Webmaster Teams
http://www.php.net/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to