Re: [PHP] the function of the @ symbol?
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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] the function of the @ symbol?
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? Funny.. -Original Message- From: Nitin [mailto:[EMAIL PROTECTED] Sent: Tuesday 04 November 2003 12:10 To: Leevy, Joffrey L; [EMAIL PROTECTED] Subject: Re: [PHP] the function of the @ symbol? it basically means, shutup please. - Original Message - From: Leevy, Joffrey L [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 1:12 PM Subject: [PHP] the function of the @ symbol? Hi all: I have been searching through several books to find out what the @ character represents. An example used in code: if (@$first == no). Could anyone please explain the function of @ in the code? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] the function of the @ symbol?
Wouter van Vliet wrote: What would it suppress, the notice: undefined variable $first on line 44 notification? Exactly. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] the function of the @ symbol?
Hi all: I have been searching through several books to find out what the @ character represents. An example used in code: if (@$first == no). Could anyone please explain the function of @ in the code? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] the function of the @ symbol?
Hi, On Tue, 4 Nov 2003 02:42:33 -0500 Leevy, Joffrey L [EMAIL PROTECTED] wrote: Hi all: I have been searching through several books to find out what the @ character represents. An example used in code: if (@$first == no). Could anyone please explain the function of @ in the code? Looking for this? http://www.php.net/manual/en/language.operators.errorcontrol.php - E - __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] the function of the @ symbol?
it basically means, shutup please. - Original Message - From: Leevy, Joffrey L [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 1:12 PM Subject: [PHP] the function of the @ symbol? Hi all: I have been searching through several books to find out what the @ character represents. An example used in code: if (@$first == no). Could anyone please explain the function of @ in the code? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php