Re: Re[2]: [PHP] Simple: Whats wrong with this?

From: Date: Wed, 17 Mar 2004 17:19:21 +0000
Subject: Re: Re[2]: [PHP] Simple: Whats wrong with this?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-180706@lists.php.net to get a copy of this message
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. */

« previous php.general (#180706) next »