Re: the function of the "@" symbol?
| From: | Burhan Khalid | Date: | Sat, 08 Nov 2003 21:32:05 +0000 |
| Subject: | Re: the function of the "@" symbol? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168962@lists.php.net to get a copy of this message | ||
Wouter van Vliet wrote:
To me .. This looks more like a line of perl code. I am familiar with the @ sign to kindly ask a function not to give any errors to a function. But can it really be used like this on vars? What would it suppress, the "notice: undefined variable $first on line 44" notification?Probably
Funny..Not really, considering those kinds of notices are what can prevent some hour-long headscratching trying to figure out why a piece of code isn't working when $name was typed as $names. -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com ----------------------- "Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing."