--- Sebastian Mendel <lists@xxxxxxxxxxxxxxxxxx> wrote:
> messju mohr schrieb:
> > On Thu, Nov 08, 2007 at 09:30:12AM +0100, Sebastian Mendel wrote:
> >> Hielke Hoeve schrieb:
> >>> On 07/11/2007, Luke Baker <lukebaker@xxxxxxxxx> wrote:
> >>>> Attached is the changes I made against Smarty 2.6.18. I'd appreciate
> >>>> consideration for adding these changes to the Smarty core.
> >>> There is no attachment, sorry.
> >> i remember, in teh past patches that do add functionality for only a
> >> specific PHP version where not accepted, did Smarty devs changed this
> policy?
> >>
> >> (beside th fact that i did never understood why)
> >
> > Smarty-2.x requires php-4.0.6 or later. this requirement has never been
> weakened.
>
> i was not talking about Smarty requirements, i was talking about features
> working only with specific versions of PHP like the above mentioned
I only can think of one exception, namely object iterator support which was
added for PHP5 users; however, that was done without resorting to a PHP version
compare, IIR.
FWIW, I'm not against supporting this change either since it seems to have no
impact on PHP4 users except for the version check (which I do dislike). I'd
likely also support other PHP5 specific changes that can be done silently while
also avoiding template syntax or parsing changes.
That said, Luke, can you give more detail on why this is important? Thanks!
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|