I have seen uses of @ in front of certain functions, like the following:
@
$fileHandle = @fopen($fileName, $writeAttributes);
What is the use of this symbol?
It suppresses error messages — see Error Control Operators in the PHP manual.
2.1m questions
2.1m answers
60 comments
57.0k users