Increment an object variable
<?php
$this->start($loop);
$object = new stdClass;
$object->counter = 0;
for ($i = 0; $i < $this->loop; ++$i) {
$object->counter++;
}
return $this->end();
PHP | Loops | Seconds | Percent |
---|---|---|---|
8.3.13 | 100.000 | 0.008049 | +268% |
8.3.10 | 100.000 | 0.007094 | +236% |
8.3.9 | 100.000 | 0.006871 | +229% |
7.3.33 | 100.000 | 0.005859 | +195% |
7.3.31 | 100.000 | 0.004932 | +164% |
7.3.30 | 100.000 | 0.005164 | +172% |
7.3.29 | 100.000 | 0.004455 | +149% |
7.3.28 | 100.000 | 0.005558 | +185% |
7.3.27 | 100.000 | 0.005730 | +191% |
7.3.24 | 100.000 | 0.004244 | +141% |
7.3.23 | 100.000 | 0.004990 | +166% |
7.3.22 | 100.000 | 0.004918 | +164% |
7.3.19 | 100.000 | 0.005187 | +173% |
7.3.18 | 100.000 | 0.005092 | +170% |
7.3.17 | 100.000 | 0.004558 | +152% |
7.3.16 | 100.000 | 0.004650 | +155% |
7.3.15 | 100.000 | 0.004570 | +152% |
7.3.14 | 100.000 | 0.006265 | +209% |
7.3.13 | 100.000 | 0.006241 | +208% |
7.3.12 | 100.000 | 0.005058 | +169% |
7.3.11 | 100.000 | 0.004440 | +148% |
7.3.9 | 100.000 | 0.004083 | +136% |
7.3.8 | 100.000 | 0.003812 | +127% |
7.2.29 | 100.000 | 0.006809 | +227% |
8.3.13 | 10.000 | 0.001079 | +303% |
7.2.34 | 100.000 | 0.006215 | +207% |
7.2.33 | 100.000 | 0.005332 | +178% |
7.2.31 | 100.000 | 0.005739 | +191% |
7.2.30 | 100.000 | 0.005617 | +187% |
8.3.10 | 10.000 | 0.000952 | +267% |
7.2.28 | 100.000 | 0.005306 | +177% |
7.2.27 | 100.000 | 0.007025 | +234% |
7.2.26 | 100.000 | 0.007609 | +254% |
7.2.25 | 100.000 | 0.006653 | +222% |
7.2.24 | 100.000 | 0.004482 | +149% |
7.2.22 | 100.000 | 0.004798 | +160% |
7.2.21 | 100.000 | 0.004424 | +147% |
7.1.33 | 100.000 | 0.006629 | +221% |
7.1.32 | 100.000 | 0.005300 | +177% |
7.1.31 | 100.000 | 0.004908 | +164% |
7.1.0 | 100.000 | 0.022269 | +742% |
7.0.33 | 100.000 | 0.006516 | +217% |
7.0.7 | 100.000 | 0.020725 | +691% |
5.6.40 | 100.000 | 0.013550 | +452% |
5.6.22 | 100.000 | 0.038884 | +1296% |
5.5.36 | 100.000 | 0.040042 | +1335% |
5.4.45 | 100.000 | 0.040015 | +1334% |
5.3.29 | 100.000 | 0.052589 | +1753% |
8.3.9 | 10.000 | 0.000942 | +265% |
8.0.30 | 100.000 | 0.005908 | +197% |
8.0.29 | 100.000 | 0.003479 | +116% |
8.0.28 | 100.000 | 0.003925 | +131% |
8.0.27 | 100.000 | 0.004811 | +160% |
8.0.26 | 100.000 | 0.004017 | +134% |
8.0.25 | 100.000 | 0.004857 | +162% |
8.0.24 | 100.000 | 0.004769 | +159% |
8.0.23 | 100.000 | 0.004729 | +158% |
8.0.20 | 10.000 | 0.000394 | +111% |
8.0.20 | 100.000 | 0.003450 | +115% |
8.0.19 | 10.000 | 0.000537 | +151% |
8.0.19 | 100.000 | 0.004882 | +163% |
8.0.17 | 10.000 | 0.000523 | +147% |
8.0.17 | 100.000 | 0.005133 | +171% |
8.0.16 | 10.000 | 0.000500 | +141% |
8.0.16 | 100.000 | 0.005498 | +183% |
8.0.14 | 10.000 | 0.000559 | +157% |
8.0.14 | 100.000 | 0.005143 | +171% |
8.0.11 | 100.000 | 0.004136 | +138% |
8.0.10 | 100.000 | 0.003857 | +129% |
8.0.9 | 100.000 | 0.004296 | +143% |
8.0.8 | 100.000 | 0.005051 | +168% |
8.0.7 | 100.000 | 0.004958 | +165% |
8.0.3 | 100.000 | 0.006078 | +203% |
8.0.2 | 100.000 | 0.006070 | +202% |
8.0.0 | 100.000 | 0.004168 | +139% |
7.4.33 | 100.000 | 0.005369 | +179% |
7.4.32 | 100.000 | 0.004380 | +146% |
7.4.30 | 100.000 | 0.004142 | +138% |
7.4.28 | 100.000 | 0.005144 | +172% |
7.4.27 | 100.000 | 0.005336 | +178% |
7.4.24 | 100.000 | 0.004407 | +147% |
7.4.23 | 100.000 | 0.004270 | +142% |
7.4.22 | 100.000 | 0.003467 | +116% |
8.0.11 | 10.000 | 0.000462 | +130% |
8.0.10 | 10.000 | 0.000448 | +126% |
8.0.0 | 10.000 | 0.000476 | +134% |
7.4.29 | 100.000 | 0.005306 | +177% |
7.4.21 | 10.000 | 0.000575 | +162% |
7.4.21 | 100.000 | 0.005089 | +170% |
7.4.20 | 10.000 | 0.000574 | +161% |
7.4.20 | 100.000 | 0.005146 | +172% |
7.4.16 | 100.000 | 0.005806 | +194% |
7.4.15 | 100.000 | 0.005809 | +194% |
7.4.33 | 10.000 | 0.000622 | +175% |
7.4.32 | 10.000 | 0.000522 | +147% |
7.4.30 | 10.000 | 0.000437 | +123% |
7.4.29 | 10.000 | 0.000602 | +169% |
7.4.24 | 10.000 | 0.000451 | +127% |
7.4.23 | 10.000 | 0.000447 | +126% |
7.4.22 | 10.000 | 0.000431 | +121% |
7.4.13 | 100.000 | 0.004020 | +134% |
7.4.12 | 100.000 | 0.003000 | 100% |
7.4.11 | 100.000 | 0.004852 | +162% |
7.4.10 | 100.000 | 0.004374 | +146% |
8.0.2 | 10.000 | 0.000632 | +178% |
7.4.0 | 100.000 | 0.003890 | +130% |
8.0.30 | 10.000 | 0.000710 | +200% |
8.0.29 | 10.000 | 0.000391 | +110% |
8.0.28 | 10.000 | 0.000403 | +113% |
8.0.27 | 10.000 | 0.000482 | +135% |
8.0.26 | 10.000 | 0.000451 | +127% |
8.0.25 | 10.000 | 0.000525 | +147% |
8.0.24 | 10.000 | 0.000441 | +124% |
8.0.23 | 10.000 | 0.000404 | +114% |
8.0.9 | 10.000 | 0.000386 | +109% |
8.0.8 | 10.000 | 0.000564 | +158% |
8.0.7 | 10.000 | 0.000569 | +160% |
8.0.3 | 10.000 | 0.000622 | +175% |
7.4.28 | 10.000 | 0.000601 | +169% |
7.4.27 | 10.000 | 0.000568 | +159% |
7.4.16 | 10.000 | 0.000612 | +172% |
7.4.15 | 10.000 | 0.000594 | +167% |
7.4.13 | 10.000 | 0.000421 | +118% |
7.4.12 | 10.000 | 0.000356 | 100% |
7.4.11 | 10.000 | 0.000547 | +154% |
7.4.10 | 10.000 | 0.000442 | +124% |
7.4.7 | 10.000 | 0.000483 | +136% |
7.4.7 | 100.000 | 0.004032 | +134% |
7.4.6 | 10.000 | 0.000453 | +127% |
7.4.6 | 100.000 | 0.004773 | +159% |
7.4.5 | 10.000 | 0.000474 | +133% |
7.4.5 | 100.000 | 0.004845 | +162% |
7.4.4 | 10.000 | 0.000486 | +136% |
7.4.4 | 100.000 | 0.005128 | +171% |
7.4.3 | 10.000 | 0.000499 | +140% |
7.4.3 | 100.000 | 0.004740 | +158% |
7.4.1 | 100.000 | 0.006134 | +204% |
7.4.2 | 10.000 | 0.000662 | +186% |
7.4.2 | 100.000 | 0.005459 | +182% |
7.4.1 | 10.000 | 0.000645 | +181% |
7.4.0 | 10.000 | 0.000431 | +121% |
7.3.33 | 10.000 | 0.000656 | +184% |
7.3.31 | 10.000 | 0.000503 | +141% |
7.3.30 | 10.000 | 0.000508 | +143% |
7.3.29 | 10.000 | 0.000529 | +149% |
7.3.28 | 10.000 | 0.000553 | +155% |
7.3.27 | 10.000 | 0.000608 | +171% |
7.3.24 | 10.000 | 0.000437 | +123% |
7.3.23 | 10.000 | 0.000462 | +130% |
7.3.22 | 10.000 | 0.000605 | +170% |
7.3.19 | 10.000 | 0.000525 | +148% |
7.3.18 | 10.000 | 0.000542 | +152% |
7.3.17 | 10.000 | 0.000571 | +160% |
7.3.16 | 10.000 | 0.000401 | +113% |
7.3.15 | 10.000 | 0.000415 | +116% |
7.3.14 | 10.000 | 0.000620 | +174% |
7.3.13 | 10.000 | 0.000632 | +178% |
7.3.12 | 10.000 | 0.000576 | +162% |
7.3.11 | 10.000 | 0.000451 | +127% |
7.3.9 | 10.000 | 0.000474 | +133% |
7.3.8 | 10.000 | 0.000421 | +118% |
7.2.34 | 10.000 | 0.000711 | +200% |
7.2.33 | 10.000 | 0.000618 | +174% |
7.2.31 | 10.000 | 0.000655 | +184% |
7.2.30 | 10.000 | 0.000529 | +149% |
7.2.29 | 10.000 | 0.000862 | +242% |
7.2.28 | 10.000 | 0.000505 | +142% |
7.2.27 | 10.000 | 0.000834 | +234% |
7.2.26 | 10.000 | 0.000800 | +225% |
7.2.25 | 10.000 | 0.000719 | +202% |
7.2.24 | 10.000 | 0.000601 | +169% |
7.2.22 | 10.000 | 0.000513 | +144% |
7.2.21 | 10.000 | 0.000482 | +135% |
7.1.33 | 10.000 | 0.000748 | +210% |
7.1.32 | 10.000 | 0.000588 | +165% |
7.1.31 | 10.000 | 0.000492 | +138% |
7.1.0 | 10.000 | 0.002288 | +643% |
7.0.33 | 10.000 | 0.000749 | +210% |
7.0.7 | 10.000 | 0.002150 | +604% |
5.6.40 | 10.000 | 0.001646 | +462% |
5.6.22 | 10.000 | 0.004105 | +1153% |
5.5.36 | 10.000 | 0.004249 | +1194% |
5.4.45 | 10.000 | 0.004266 | +1198% |
5.3.29 | 10.000 | 0.005489 | +1542% |