Reply to Re: Nesting native functions?

Your name:

Reply:


Posted by Tobierre on 10/23/05 01:08

Hi Tom,

Thanks for clarifying that one!

Tobierre





"Tom Thackrey" <use.signature@nospam.com> wrote in message
news:uls6f.5429$q%.2471@newssvr12.news.prodigy.com...
>
> 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

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