@The symbol is used in php code to mask/ignore the error prompt information generated by the expression. The @ operator is only valid for expressions. It can be called in variables, constants, functions and include(), but it cannot be used before the definition of functions or classes, or in conditional structures (such as if and foreach).
Generally speaking, after using the @ symbol, the statement following the @ symbol will not give an error prompt even if there is an error.
If track is enabled_ Errors function, the error message generated by the expression will be saved in the variable $php_ In errormsg, each error will overwrite this variable.
$getSize = @filesize('../default.jpg');
The filesize() function returns the number of bytes of the file size on success, and returns false on failure and generates an E_ WARNING level error. After the @ symbol is used in front of filesize(), no E will appear on the page_ Warning error prompt.