Reply to Re: Nesting native functions?

Your name:

Reply:


Posted by Tom Thackrey on 10/22/05 17:51

On 22-Oct-2005, "Tobierre" <No-Reply@hotmail.com> wrote:

> If I have the following example statement
>
> trim(strtolower(str(ucwords($var)));
>
> When parsing PHP will process $var in the following order
>
> firstly trim white space
> secondly convert $var value to lower case
> thirdly capitalize first letter of each word
>
> Right? What I am basically asking is it the rule that PHP processes
> nested
> statements from the outside in or vice versa?

No. Like all programming languages the innermost function will be executed
first followed by the next innermost...

--
Tom Thackrey
www.creative-light.com
tom (at) creative (dash) light (dot) com
do NOT send email to jamesbutler@willglen.net (it's reserved for spammers)

[Back to original 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

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