RE: [PHP] Whacky increment/assignment logic with $foo++ vs ++$foo

From: Date: Tue, 06 Oct 2009 23:17:44 +0000
Subject: RE: [PHP] Whacky increment/assignment logic with $foo++ vs ++$foo
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-298699@lists.php.net to get a copy of this message
> if used properly, could avoid recursion, and speed up operations ... there is nothing wrong > with goto, everything we write on lowest level is a jump in the memory (as goto is a jump in the > code flow) > > ++goto ... and not goto++ I forgot, I have always used goto in Batch script, which indeed can emulates functions, except there is no recursion problem. I have a couple of batches online if interesting, and from performances point of view, ask yourself why on earth PHP core developers have introduced goto and actually somebody is using it ;-) Uh, I forgot I live in microoptimization land ... lol _________________________________________________________________ Keep your friends updated—even when you’re not signed in. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010

« previous php.general (#298699) next »