Re: [SMARTY-DEV] Strict PHP5 Compatibility
| From: | Ruben Vermeersch | Date: | Wed, 01 Sep 2004 07:34:01 +0000 |
| Subject: | Re: [SMARTY-DEV] Strict PHP5 Compatibility | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-2540@lists.php.net to get a copy of this message | ||
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/