>>>>> "Michael" == Michael Turner <[EMAIL PROTECTED]> writes:
Michael> $b = 1; $b = $b++;
Michael> Result:
Michael> $b = 1
$b++ is synonymous with $b = $b + 1. So, your second statement reads:
'$b = $b = $b + 1'.
If you replace your code with:
'$b = 1; $b++;' or '$b = 1; $b = $b + 1', you'll get more expected
behaviour. :)
- Chris.
--
$a="printf.net"; Chris Ball | chris@void.$a | www.$a | finger: chris@$a
"Blessings to the chap who invented ice cream, ginger-pop and the rest!
I'd rather invent things like that any day than rockets and bombs."
-- Julian, "Five on Finniston Farm"
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]