The @ suppresses any warning/error messages that are produced - hence the
complaints when it's taken out :-)

Cheers
Jon

-----Original Message-----
From: Erols [mailto:[EMAIL PROTECTED]]
Sent: 31 August 2001 01:06
To: [EMAIL PROTECTED]
Subject: [PHP] PHP Syntax question.


Sorry for my ignorance.
I just saw some PHP syntax that I am not aware of. Could someone please shed
some light on this.
What is the purpose of the @ in the following call to the PHP mail method?

@mail( /* some parameters */ );

If I remove the @, then php compiler complains.

Thank you in advance.


**********************************************************************
'The information included in this Email is of a confidential nature and is 
intended only for the addressee. If you are not the intended addressee, 
any disclosure, copying or distribution by you is prohibited and may be 
unlawful. Disclosure to any party other than the addressee, whether 
inadvertent or otherwise is not intended to waive privilege or confidentiality'

**********************************************************************

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to