You are here: Re: WHILE loop problems « All PHP « IT news, forums, messages
Re: WHILE loop problems

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация