I want to know where and how to use the at sign, like the example below.
if (!@$zip) exit(); - What is it, is there a reference to it?
- How can i use it?
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about CollectivesStack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
Explore Stack InternalI want to know where and how to use the at sign, like the example below.
if (!@$zip) exit(); In PHP, the @ is a control operator. When prepended to an expression, any error messages generated by it (except catchable errors) will be ignored.
try/catchinstead). So if an expression causes a critical error that can't be caught, then it will silently just stop executing the script.@.