You are here: Re: require, require_once, etc. « PHP Programming Language « IT news, forums, messages
Re: require, require_once, etc.

Posted by Michael Fesser on 09/28/32 12:01

..oO(Roberto)

>I read on a website recently that using require_once, although it
>sounds like a nice idea, actually is processor expensive.

Usually you won't notice any difference, if there is one at all in
recent PHP versions.

>But the guy
>who posted that didn't say what else is faster:
>
>* require
>* include
>* include_once
>
>Which is fastest?

Just use what fits your needs the best. If you encounter performance
problems, use a profiler to find the real bottlenecks in your code.

Micha

 

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

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