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.
1.4m articles
1.4m replys
5 comments
57.0k users