RE: [PHP] Whacky increment/assignment logic with $foo++ vs ++$foo
| From: | Ashley Sheridan | Date: | Tue, 06 Oct 2009 18:44:10 +0000 |
| Subject: | RE: [PHP] Whacky increment/assignment logic with $foo++ vs ++$foo | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-298683@lists.php.net to get a copy of this message | ||
On Tue, 2009-10-06 at 13:34 -0500, Jay Blanchard wrote:
> [snip]
> I find it interesting for a discussion to go on this long for something
> as
> $a = $a++;
> [/snip]
>
> You think that is interesting? Start a conversation about these
>
> {}
>
Now they actually make sense! I've used those as placeholders in
scripts, should I foresee an area where something may be expanded in the
future.
Thanks,
Ash
http://www.ashleysheridan.co.uk