@ Symbol does not know what it means. In fact, it is an error control character, that is, even if an error occurs, it ignores the error message and continues to execute the following code to view the PHP code, there is always a @ symbol on the front of some rows, and I don't know what it means. For example, dede5.7 @ ni = imagecreatetruecolor (ftoW, $ ftoH );
I used it today. just remember it. In fact, it is an error control character, that is, even if an error occurs, it ignores the error message and continues to execute the following code.
@ $ Page = $ _ GET ['Page']? Intval ($ _ GET ['Page']): 1;
This is the value of the page keyword obtained from the URL, such as "index. php? Page = 5 ", $ page will get 5.
However, if there is an error, such as "index. php "does not have the page keyword. if $ _ GET ['Page'] does not exist, an error is returned. if @ is returned, this small error can be ignored.
For example:
$ Conn = mysqli_conncet ("q", "w", "e", "r ");
In this case, an error message is entered about database connection.
If @ is added before $ conn, the error message will not be output.
@ $ Conn = mysqli_conncet ("q", "w", "e", "r ");
Remember here.
For more articles about the function example of PHP @ at Mark, please follow the PHP Chinese network!