On Thursday 18 March 2004 01:07, Richard Davey wrote:

> ++ is a _post_ increment. This means it'll returns $correct first and
> then increment it by one. There is a section in the PHP manual on this
> (search for "Incrementing/Decrementing Operators".

Whether it's pre or post depends on whether it is placed before the variable 
in question or after.

  $doo++ !== ++$doo

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Marxist Law of Distribution of Wealth:
        Shortages will be divided equally among the peasants.
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to