hi,

On Tue, Apr 1, 2008 at 1:27 PM, Ian P. Christian <[EMAIL PROTECTED]> wrote:

>  Happy April Fools day!

oh so that's what all this symfony 1.1 final soon to be released stuff
was all about ? :P

>  What do you guys thing about this kinda thing:
>
>  333       if (false === @mkdir(dirname($cache), 0777, true))

i think ti would be easier and cleaner to implement a custom error
handler (http://php.net/set_error_handler). As it's done here for
instance : 
http://trac.symfony-project.com/browser/plugins/sfWebBrowserPlugin/lib/sfFopenAdapter.class.php

pros :
 * pros it fixes the HTML messages problem
 * it's a global thing
 * it's probably better for performances than the "@" switch

cons :
 * it may not be better for performances than the "@" switch...
 * probably many issues i'm not aware of

regards,

tristan

-- 
Tristan Rivoallan
http://www.clever-age.com
Clever Age - conseil en architecture technique
GSM: +33 6 219 219 33 Tél: +33 1 53 34 66 10

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to