Posted by Vince Morgan on 04/10/07 12:55
"Tyno Gendo" <user@example.com> wrote in message
news:w9HSh.76255$%g3.50879@fe3.news.blueyonder.co.uk...
> I thought same as you Vince, but seemingly it doesn't leave it
> incremented. I've never used that kind of assignment either.
A simple test of post increment shows that it works as expected, but not in
combination with a previous self assignment.
Last time I saw something like this it was ++var += var++ in C, and that
most certainly produced undefined behaviour.
I wouldn't have a clue how the php interpreter deals with such stuff.
Very curious.
Vince
Navigation:
[Reply to this message]
|