Forum Moderators: coopster
I see this bit of code about quite a bit, not just on the function below but on a lot of functions.
@file_get_contents("whatever"); What does the @ symbol do?
Also when calling functions in classes i see this aswell.
$myClass::myFunction(); What does the :: mean? is it just the same as
$myClass->myFunction(); Thanks in advance.
Ally
[edited by: Scally_Ally at 1:07 pm (utc) on May 17, 2007]
The '@' tells the function that if it fails, it should fail silently. Sorry I don't know about the other question, but I'll be watching this thread for the answer! ;)
[edited by: MatthewHSE at 1:50 pm (utc) on May 17, 2007]
[php.net...]