Re: Strict PHP5 Compatibility
Ruben Vermeersch <[email protected]>
| Newsgroups | gmane.comp.php.smarty.devel |
|---|---|
| Message-ID | <1094024041.14658.3.camel@ruben> |
On Wed, 2004-09-01 at 17:18 +1000, Robert Amos wrote: > The question is, aside from private/protected/public variables and > methods, what benefits and improvements would you make to smarty that > are php5-only ? > > Smarty already benefits from the improved object handles and the speed > improvements to foreach(), etc. So what else is there that would > warrant a php5 branch? > > -bok Well, i'd mostly drop all backwards compatibility stuff and see where it's possible to squeeze out just a little more of smarty, by using all the new stuff we got. I'd also prefer error handling based on Exceptions, and the ability to use PHP5 with a E_STRICT error reporting set (although PEAR is also very bad in this). However, I'm not saying we should branch it right away, I love the current state (and who am i to say there should be a branch) and i'd like to stay to the HEAD mainline for all development Greetings, Ruben -- Ruben Vermeersch http://www.Lambda1.be/ -- Smarty Development Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php