I agree with Ray. I don't think I have Any code that uses a '@' to suppress error reporting... because it does not suppress the error, it just fails to 'report' it.
Ray Paseur
Very well put, Dave. It's like you still ran over the cat, you just didn't tell anyone. No problem till someone says, "Here kitty" or notices that the mice are eating all of the cheese.
No problem till someone says, "Here kitty" or notices that the mice are eating all of the cheese.
Hahahaha nice!
Ray Paseur
Thanks for the points and thanks for using EE. Going forward, don't feel uncomfortable about sharing the points among the answers that contribute to your understanding. Both Gary and Dave added good information here, too!
http://php.net/manual/en/language.operators.errorcontrol.php
In that case if the var doesn't exist then the code won't burp