|
Posted by ZeldorBlat on 04/23/07 14:59
On Apr 23, 10:39 am, "Rolf Mander" <rolf.man...@spam.com> wrote:
> What performs better, theoreticaly?
> This
> <?
> echo date("d",time());
> echo date("m",time());
> echo date("Y",time());
> ?>
> Or that?
> <?
> $time = time();
> echo date("d",$time);
> echo date("m",$time);
> echo date("Y",$time);
> ?>
> when does it get relevant?
> thanks
> Rolf
Theoretically the second one, since you only need to make 4 function
calls instead of six. It won't be relevant anytime soon.
Navigation:
[Reply to this message]
|