Re: [SMARTY] Re: Bugfixes and some other stuff...
| From: | Andrei Zmievski | Date: | Sun, 14 Jul 2002 15:06:58 +0000 |
| Subject: | Re: [SMARTY] Re: Bugfixes and some other stuff... | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5288@lists.php.net to get a copy of this message | ||
On Sun, 14 Jul 2002, Norbert Röcher wrote:
> Writing something like:
> echo 'test: '.$test;
> is about 10% slower than
> echo "test: $test";
>
> So this can't be said generally.
Eh, no. In the first scenario PHP does not have to interpolate variables
inside the string, so it is faster than the second one.
-Andrei http://www.gravitonic.com/
* The future is not what it used to be. *