You are here: Re: auto select actual month in dropdown box « PHP Programming Language « IT news, forums, messages
Re: auto select actual month in dropdown box

Posted by Andy Hassall on 07/20/07 18:24

On Fri, 20 Jul 2007 18:54:25 +0200, Michael Fesser <netizen@gmx.de> wrote:

>>While theres no difference in using double or single quotes - but
>>concatenation is much faster than embedd variables into strings.
>
>Not necessarily. In the UCNs on php.net you'll find "benchmarks" that
>state one or the other

It should probably be mentioned that PHP 5.2.3 included optimisations in the
way PHP parses and evaluates interpolated strings and heredocs, so any
differences are quite possibly even less noticable in versions from now on.

>And performance is hardly ever a reason when printing out something.

Yep. On a related note, I've recently been using xdebug's profiler option,
feeding the data into kcachegrind - this works quite nicely to find the real
bottlenecks in PHP code:

http://xdebug.org/docs/profiler

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

 

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

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