Posted by Tobierre on 10/22/05 11:37
Hi all,
just want to reassure myself of this.
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?
Regards Tobierre
Navigation:
[Reply to this message]
|