Reply to Re: WHILE loop problems

Your name:

Reply:


Posted by Vince Morgan on 04/10/07 12:49

"Steve" <no.one@example.com> wrote in message
news:WIDSh.101$Xq6.16@newsfe12.lga...

> no...i think the operation as a whole is considered before the = ... so,
++
> would increment then the assignment would be made (lhs = rhs). afaicr. you
> can further test this by ++$imagenum...the pre/post incrementor should
have
> NO impact on the final lhs result if this precedence processing is true.

Steve, run the following and then look again at the original OP's
expression.
You've got the experience to work this out I think.

$i = 1;
echo $i++.'<br>';
echo $i;

The brain hurt isn't going away just yet ; )
Vince

[Back to original 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

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