View Single Post
Old 04-17-2009, 11:23 PM   #58 (permalink)
Kalle
The Frequenter
Zend Certified 
 
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
Kalle is on a distinguished road
Default

I looked at the templates or views, or what you called thme in /application/errors/, most of them are exactly the same, wouldn't it be more logical to just have a $error_type that differs from "Warning", "Fatal", etc. Also remember that fatal errors (E_USER_ERROR and E_RECOVERABLE_ERROR being the only one that can be caught) should terminate execution because something *critical* happened.

Another thing I came across, why implement a File object when SPL already does that in a nice and easy manner:
http://www.php.net/splfileinfo

;)
__________________
Send a message via MSN to Kalle Send a message via Skype™ to Kalle
Kalle is offline  
Reply With Quote