[prev in list] [next in list] [prev in thread] [next in thread]
List: smarty-dev
Subject: [SMARTY-DEV] Re: problems with PHP5
From: 80.212.128.234
Date: 2003-06-22 12:27:36
[Download RAW message or body]
i dont really depend on the CVS version of smarty, but v2.5.0 isnt any
"better" as it uses $this outside a class.. and the speed improvments that i
was expecting in the cvs wasnt great eather ( actual it raised from avg 0,016
s on 2.5.0 to abt 0.025 on cvs )..
since php5 uses object referencing as default behaviour im sure i can figure
out a solution to this. like instead of printing $this->_plugins[..] etc. in
the templates_c it writes $smarty->_plugins[...] and adds a reference to
$smarty at the top of every templates_c. have no idea if this works of as i
dont know the smarty code, so if it is impossible i would appreciate a
"sorry, impossible"..
Terje
On Sun, 22 Jun 2003 3:17:12 +0200, Boots wrote
(in message <20030622011712.5905.qmail@web9902.mail.yahoo.com>):
> @Terje:
>
> It sounds like you are painting yourself into a corner if you are
> dependant on PHP5 (which is not even beta yet) and the CVS version of
> Smarty. I agree with your premise that $this should only be used where
> appropriate (especially since PHP5 now enforces proper usage) but as a
> friendly gesture, I caution against building expections as to how beta
> and pre-beta software ought to work or react with each other.
>
> Even with the $this/$smarty change enacted, it is possible that Smarty
> will not work properly with PHP5 and as messju indicated, PHP5
> compatability is not even on the radar yet -- though I don't doubt that
> a release version of PHP5 will be fully supported. In the meantime,
> other than for experimentation, I heartily suggest PHP4 with Smarty.
>
> Good luck!
> xo boots
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
--
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic