View Single Post
Old 08-14-2010, 05:36 PM   #2 (permalink)
tony
The Addict
 
tony's Avatar
 
Join Date: Aug 2008
Posts: 336
Thanks: 8
tony is on a distinguished road
Default

it is a language construct that suppresses warnings and errors. In this case it won't stop the execution of the script if there is an error or warning.

It is a bad practice though, because if you don't get the results you expected you need to handle them accordingly so that the user of the app/website/script would have a better experience. Plus without it is better to debug.
tony is offline  
Reply With Quote
The Following User Says Thank You to tony For This Useful Post:
haskabab (08-14-2010)