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]
|