12-31-2008, 12:16 AM
|
#17 (permalink)
|
|
The Prestige
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
|
Quote:
Originally Posted by sketchMedia
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.
__________________
|
|
|
|