Re: PHP Syntax question.

From: Date: Fri, 07 Sep 2001 10:09:53 +0000
Subject: Re: PHP Syntax question.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-66426@lists.php.net to get a copy of this message
It suppresses the error messages, so in both case the mail() generates an error, but with prepended with '@' you can't see the error message. read more: http://www.php.net/manual/en/language.operators.errorcontrol.php ----- Original Message ----- From: Erols <anas@erols.com> To: <php-general@lists.php.net> Sent: Friday, August 31, 2001 2:06 AM 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. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#66426) next »