RE: [PHP] PHP Syntax question.
| From: | Jon Haworth | Date: | Fri, 31 Aug 2001 14:12:02 +0000 |
| Subject: | RE: [PHP] PHP Syntax question. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-65473@lists.php.net to get a copy of this message | ||
The @ suppresses any warning/error messages that are produced - hence the
complaints when it's taken out :-)
Cheers
Jon
-----Original Message-----
From: Erols [mailto:anas@erols.com]
Sent: 31 August 2001 01:06
To: php-general@lists.php.net
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'
**********************************************************************