RE: [PHP] Whacky increment/assignment logic with $foo++ vs ++$foo
| From: | Andrea Giammarchi | Date: | Tue, 06 Oct 2009 23:07:40 +0000 |
| Subject: | RE: [PHP] Whacky increment/assignment logic with $foo++ vs ++$foo | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-298696@lists.php.net to get a copy of this message | ||
ah ah ah .... that's for sure, I've never said that is correct, I said that is illogical
;-)
> Subject: RE: [PHP] Whacky increment/assignment logic with $foo++ vs ++$foo
> Date: Tue, 6 Oct 2009 12:46:36 -0500
> From: jblanchard@pocket.com
> To: an_red@hotmail.com; tedd.sperling@gmail.com; php-general@lists.php.net
>
> [snip]
> ...micro optimizations...
> [/snip]
>
> And in the land of micro optimization you would likely never see the
> following;
>
> $a = $a++;
_________________________________________________________________
Windows Live: Keep your friends up to date with what you do online.
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_1:092010