----- Original Message ----
> From: Ben Dunlap <bdun...@agentintellect.com>
> To: Daevid Vincent <dae...@daevid.com>
> Cc: php-general@lists.php.net
> Sent: Fri, October 2, 2009 2:06:47 PM
> Subject: Re: [PHP] Whacky increment/assignment logic with $foo++ vs ++$foo
> 
> > Can someone PLEASE explain why the developers of PHP chose this seemingly
> > whacky logic?
> 
> It mimicks C.
> 
> Ben
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

Any language based on C has it, such as C++, Java and C#.  It gives 
programmers/developers flexibility when to increment and use its value.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to