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