What does @ mean?

Source: Internet
Author: User
What does @ mean $ dims = @ getimagesize ($ image)

What does @ In the middle mean?


Reply to discussion (solution)

The error message should be blocked. Despite blocking, the error is still

Suppress errors so that you can handle them by yourself.

Otherwise, the browser will output an unfriendly error prompt.

Http://php.net/manual/zh/language.operators.errorcontrol.php

PHP supports an error control operator :@. Before placing the expression in a PHP expression, any error information that may be generated by the expression is ignored. For more information, see the above link.

Http://www.baidu.com? Ie = UTF-8 & bs = php + % 40 & f = 8 & rsv_bp = 1 & rsv_spt = 3 & wd = php + % 40 & inputT = 0

Baidu yisuo

If @ is added, even if this method reports a notice or waring error, it will not be displayed on the page.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.