note 39671 deleted from language.operators.increment by hholzgra
| From: | hholzgra@php.net | Date: | Thu, 02 Aug 2012 15:20:29 +0000 |
| Subject: | note 39671 deleted from language.operators.increment by hholzgra | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-189849@lists.php.net to get a copy of this message | ||
Note Submitter: chris at free-source dot com
----
Interesting performance note:
$i++ seems to be slightly slower than ++$i, when used on a line by itself the 2 have the same
purpose. It's not much, but over 100,000 incements the pre-increment is about .004 seconds
faster on average.