You are here: Re: $i++ problem understanding « PHP Programming Language « IT news, forums, messages
Re: $i++ problem understanding

Posted by Samuel on 10/06/05 19:32

Maybe a little off topic, but I recall the good old days when a teacher
I had one day said she would give an extra point in the finals to the
first person to correctly say what would be the output of

$a = 1;
$b = 2;
$c = $a++ + ++$b;
echo "$a $b $c";

The fastest one to answer was, looking back now, not quite fast enough
:D

 

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

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