Code Comments
Programming Forum and web based access to our favorite programming groups.Hi boots, Thansks for your comments. Really I don't like modifiying the Smarty class and we extend it for customization purposes. But in one project I'm required all scripts runn under E_STRICT. After some testing, seen that just modifiying the var declarations to public, makes Smarty to run in E_STRICT mode with no problems :D Thanks again, Jordi. On Wed, 20 Oct 2004 11:01:57 -0700 (PDT), boots <jayboots@yahoo.com> wrote: > --- Jordi Canals <jcanals@gmail.com> wrote: > > You may want to turn error reporting down to E_ALL when including the > Smarty class and then put it back to E_STRICT afterwards instead of > modifying the Smarty class directly. While Smarty is compatible with > PHP5, it is not fully compliant so using E_STRICT against it is not > appropriate, IMO. > [snip]
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.