|
Posted by Erwin Moller on July 29, 2008, 11:49 am
Please log in for more thread options
Jeff schreef:
> I'm looking through the GD sample code and I'm seeing things like this:
>
> $src=@imagecreatefromjpeg($spath);
>
> I don't understand the "@". And I don't see a reference to it in the
> manual, I suppose that's because I don't know what it's called!
>
> Jeff
Hi Jeff,
Yes, these short of things can be hard to find if you don't know what
they are supposed to do.
In this case: It is an error suppression mechanism.
Read more here:
http://nl2.php.net/manual/en/language.operators.errorcontrol.php
Regards,
Erwin Moller
|