Thread: The SQL Class
View Single Post
Old 12-31-2008, 12:16 AM   #17 (permalink)
Tanax
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

Quote:
Originally Posted by sketchMedia View Post
can we PLEASE stop using error suppression i.e. '@'

For one it slows down your script and secondly it makes it hard to debug and I for one can't be bothered grep'ing through the code for '@' every time something just blows up and no error is shown.

For the production version, set error_reporting(0).
But I throw an exception if it didn't work? So you'll get your error msg.
__________________
Tanax is offline  
Reply With Quote