> look at the opcodes for:
>
> a(b(c()));
>
> function a() {}
> function b() {}
> function c() {}
>
> and tell me which function is called from which scope. unless
> you know something i dont youll see
> a()
> b()
> c()
>
> which is wrong as the correct call-order is
> c()
> b()
> a()
That makes sense to me, as in order to pass a value to a, it must execute
b to get the parameter, and before it can do that it needs to execute c in
order to pass the param to b ... so the it turns out c,b,a.
--
Dan Hardiker [[EMAIL PROTECTED]]
ADAM Software & Systems Engineer
First Creative Ltd
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php