You are here: Re: What performs better, theoreticaly? « PHP Programming Language « IT news, forums, messages
Re: What performs better, theoreticaly?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация