Re: Whacky increment/assignment logic with $foo++ vs ++$foo

From: Date: Sat, 03 Oct 2009 15:19:22 +0000
Subject: Re: Whacky increment/assignment logic with $foo++ vs ++$foo
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-298529@lists.php.net to get a copy of this message
On Sat, Oct 3, 2009 at 10:49, tedd <tedd.sperling@gmail.com> wrote: > > That's absolutely true. > > The problem here is in the statement of: > > $num = $num++; Yeah, I understood Daevid's email a bit better *after* I sent mine. Then I was hoping no one noticed. -- </Daniel P. Brown> daniel.brown@parasane.net || danbrown@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Check out our great hosting and dedicated server deals at http://twitter.com/pilotpig

« previous php.general (#298529) next »