Re: An at char before a functioncall?
| From: | Stig Sæther Bakken | Date: | Tue, 25 Jul 2000 11:08:49 +0000 |
| Subject: | Re: An at char before a functioncall? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-8006@lists.php.net to get a copy of this message | ||
Thomas Angst wrote:
>
> Hi folks,
>
> I saw the following code in a sample:
>
> @unlink("somefile.file");
>
> what function has that at character in front of the function call?
That is PHP's "shut up" operator, it makes sure that no error message is
printed to the user if the expression (in this case the unlink call)
fails.
- Stig