Ford, Mike <LSS>
    on Thursday, March 18, 2004 5:02 AM said:

> Not quite -- the increment is performed immediately after the access
> -- in fact, as part of the same operation.  So:
> 
>     $x = 3;
>     $y = ($x++ * 2) + $x;
> 
> is likely to give you $y==10, not 9.

i see. good example.



chris.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to