Fill an array with array_push
<?php
$this->start($loop);
$values = array();
for ($i = 0; $i < $this->loop; $i++) {
array_push($values, $i);
}
return $this->end();
PHP | Loops | Seconds | Percent |
---|---|---|---|
8.3.13 | 100.000 | 0.017678 | +193% |
8.3.10 | 100.000 | 0.012674 | +138% |
8.3.9 | 100.000 | 0.013170 | +144% |
7.3.33 | 100.000 | 0.013793 | +150% |
7.3.31 | 100.000 | 0.013486 | +147% |
7.3.30 | 100.000 | 0.012868 | +140% |
7.3.29 | 100.000 | 0.012322 | +134% |
7.3.28 | 100.000 | 0.014657 | +160% |
7.3.27 | 100.000 | 0.016641 | +181% |
7.3.24 | 100.000 | 0.012734 | +139% |
7.3.23 | 100.000 | 0.014131 | +154% |
7.3.22 | 100.000 | 0.012295 | +134% |
7.3.19 | 100.000 | 0.013866 | +151% |
7.3.18 | 100.000 | 0.014620 | +159% |
7.3.17 | 100.000 | 0.014181 | +155% |
7.3.16 | 100.000 | 0.014793 | +161% |
7.3.15 | 100.000 | 0.014367 | +157% |
7.3.14 | 100.000 | 0.015501 | +169% |
7.3.13 | 100.000 | 0.015934 | +174% |
7.3.12 | 100.000 | 0.014317 | +156% |
7.3.11 | 100.000 | 0.012122 | +132% |
7.3.9 | 100.000 | 0.013707 | +149% |
7.3.8 | 100.000 | 0.011658 | +127% |
7.2.29 | 100.000 | 0.014305 | +156% |
8.3.13 | 10.000 | 0.001821 | +392% |
7.2.34 | 100.000 | 0.014833 | +162% |
7.2.33 | 100.000 | 0.013820 | +151% |
7.2.31 | 100.000 | 0.014960 | +163% |
7.2.30 | 100.000 | 0.014995 | +163% |
8.3.10 | 10.000 | 0.000982 | +211% |
7.2.28 | 100.000 | 0.015877 | +173% |
7.2.27 | 100.000 | 0.016761 | +183% |
7.2.26 | 100.000 | 0.016887 | +184% |
7.2.25 | 100.000 | 0.014587 | +159% |
7.2.24 | 100.000 | 0.013234 | +144% |
7.2.22 | 100.000 | 0.013652 | +149% |
7.2.21 | 100.000 | 0.012335 | +134% |
7.1.33 | 100.000 | 0.023629 | +258% |
7.1.32 | 100.000 | 0.027214 | +297% |
7.1.31 | 100.000 | 0.026017 | +284% |
7.1.0 | 100.000 | 0.063415 | +691% |
7.0.33 | 100.000 | 0.036776 | +401% |
7.0.7 | 100.000 | 0.058553 | +638% |
5.6.40 | 100.000 | 0.045184 | +493% |
5.6.22 | 100.000 | 0.237128 | +2585% |
5.5.36 | 100.000 | 0.242855 | +2648% |
5.4.45 | 100.000 | 0.231474 | +2524% |
5.3.29 | 100.000 | 0.233337 | +2544% |
8.3.9 | 10.000 | 0.001195 | +257% |
8.0.30 | 100.000 | 0.014737 | +161% |
8.0.29 | 100.000 | 0.009171 | 100% |
8.0.28 | 100.000 | 0.009931 | +108% |
8.0.27 | 100.000 | 0.012173 | +133% |
8.0.26 | 100.000 | 0.012195 | +133% |
8.0.25 | 100.000 | 0.012263 | +134% |
8.0.24 | 100.000 | 0.010350 | +113% |
8.0.23 | 100.000 | 0.010223 | +111% |
8.0.20 | 10.000 | 0.000593 | +128% |
8.0.20 | 100.000 | 0.010284 | +112% |
8.0.19 | 10.000 | 0.000766 | +165% |
8.0.19 | 100.000 | 0.014555 | +159% |
8.0.17 | 10.000 | 0.000736 | +158% |
8.0.17 | 100.000 | 0.013740 | +150% |
8.0.16 | 10.000 | 0.000712 | +153% |
8.0.16 | 100.000 | 0.014088 | +154% |
8.0.14 | 10.000 | 0.000791 | +170% |
8.0.14 | 100.000 | 0.014314 | +156% |
8.0.11 | 100.000 | 0.013609 | +148% |
8.0.10 | 100.000 | 0.013142 | +143% |
8.0.9 | 100.000 | 0.012668 | +138% |
8.0.8 | 100.000 | 0.015152 | +165% |
8.0.7 | 100.000 | 0.014358 | +157% |
8.0.3 | 100.000 | 0.015702 | +171% |
8.0.2 | 100.000 | 0.016869 | +184% |
8.0.0 | 100.000 | 0.013035 | +142% |
7.4.33 | 100.000 | 0.013354 | +146% |
7.4.32 | 100.000 | 0.011525 | +126% |
7.4.30 | 100.000 | 0.009203 | 100% |
7.4.28 | 100.000 | 0.014140 | +154% |
7.4.27 | 100.000 | 0.013649 | +149% |
7.4.24 | 100.000 | 0.012506 | +136% |
7.4.23 | 100.000 | 0.012294 | +134% |
7.4.22 | 100.000 | 0.011261 | +123% |
8.0.11 | 10.000 | 0.000803 | +173% |
8.0.10 | 10.000 | 0.000817 | +176% |
8.0.0 | 10.000 | 0.000761 | +164% |
7.4.29 | 100.000 | 0.014345 | +156% |
7.4.21 | 10.000 | 0.000795 | +171% |
7.4.21 | 100.000 | 0.015313 | +167% |
7.4.20 | 10.000 | 0.000943 | +203% |
7.4.20 | 100.000 | 0.014225 | +155% |
7.4.16 | 100.000 | 0.016396 | +179% |
7.4.15 | 100.000 | 0.018729 | +204% |
7.4.33 | 10.000 | 0.000815 | +175% |
7.4.32 | 10.000 | 0.000611 | +131% |
7.4.30 | 10.000 | 0.000599 | +129% |
7.4.29 | 10.000 | 0.000807 | +173% |
7.4.24 | 10.000 | 0.000700 | +151% |
7.4.23 | 10.000 | 0.000796 | +171% |
7.4.22 | 10.000 | 0.000716 | +154% |
7.4.13 | 100.000 | 0.012493 | +136% |
7.4.12 | 100.000 | 0.012090 | +132% |
7.4.11 | 100.000 | 0.013111 | +143% |
7.4.10 | 100.000 | 0.012623 | +138% |
8.0.2 | 10.000 | 0.001248 | +268% |
7.4.0 | 100.000 | 0.012092 | +132% |
8.0.30 | 10.000 | 0.000954 | +205% |
8.0.29 | 10.000 | 0.000465 | 100% |
8.0.28 | 10.000 | 0.000520 | +112% |
8.0.27 | 10.000 | 0.000734 | +158% |
8.0.26 | 10.000 | 0.000728 | +157% |
8.0.25 | 10.000 | 0.000797 | +171% |
8.0.24 | 10.000 | 0.000553 | +119% |
8.0.23 | 10.000 | 0.000523 | +113% |
8.0.9 | 10.000 | 0.000778 | +167% |
8.0.8 | 10.000 | 0.000854 | +184% |
8.0.7 | 10.000 | 0.000813 | +175% |
8.0.3 | 10.000 | 0.001093 | +235% |
7.4.28 | 10.000 | 0.000863 | +186% |
7.4.27 | 10.000 | 0.000891 | +192% |
7.4.16 | 10.000 | 0.001016 | +219% |
7.4.15 | 10.000 | 0.001237 | +266% |
7.4.13 | 10.000 | 0.000732 | +157% |
7.4.12 | 10.000 | 0.000920 | +198% |
7.4.11 | 10.000 | 0.000782 | +168% |
7.4.10 | 10.000 | 0.000889 | +191% |
7.4.7 | 10.000 | 0.000824 | +177% |
7.4.7 | 100.000 | 0.013351 | +146% |
7.4.6 | 10.000 | 0.000777 | +167% |
7.4.6 | 100.000 | 0.013784 | +150% |
7.4.5 | 10.000 | 0.000837 | +180% |
7.4.5 | 100.000 | 0.014416 | +157% |
7.4.4 | 10.000 | 0.000797 | +171% |
7.4.4 | 100.000 | 0.013545 | +148% |
7.4.3 | 10.000 | 0.000775 | +167% |
7.4.3 | 100.000 | 0.013093 | +143% |
7.4.1 | 100.000 | 0.015336 | +167% |
7.4.2 | 10.000 | 0.000941 | +202% |
7.4.2 | 100.000 | 0.016091 | +175% |
7.4.1 | 10.000 | 0.000841 | +181% |
7.4.0 | 10.000 | 0.000759 | +163% |
7.3.33 | 10.000 | 0.000784 | +169% |
7.3.31 | 10.000 | 0.000774 | +166% |
7.3.30 | 10.000 | 0.000852 | +183% |
7.3.29 | 10.000 | 0.000746 | +160% |
7.3.28 | 10.000 | 0.001008 | +217% |
7.3.27 | 10.000 | 0.001055 | +227% |
7.3.24 | 10.000 | 0.000745 | +160% |
7.3.23 | 10.000 | 0.000805 | +173% |
7.3.22 | 10.000 | 0.000863 | +185% |
7.3.19 | 10.000 | 0.000938 | +202% |
7.3.18 | 10.000 | 0.000718 | +154% |
7.3.17 | 10.000 | 0.000877 | +189% |
7.3.16 | 10.000 | 0.000692 | +149% |
7.3.15 | 10.000 | 0.000684 | +147% |
7.3.14 | 10.000 | 0.001081 | +233% |
7.3.13 | 10.000 | 0.001014 | +218% |
7.3.12 | 10.000 | 0.000907 | +195% |
7.3.11 | 10.000 | 0.000689 | +148% |
7.3.9 | 10.000 | 0.000776 | +167% |
7.3.8 | 10.000 | 0.000676 | +145% |
7.2.34 | 10.000 | 0.000947 | +204% |
7.2.33 | 10.000 | 0.000902 | +194% |
7.2.31 | 10.000 | 0.000976 | +210% |
7.2.30 | 10.000 | 0.000840 | +181% |
7.2.29 | 10.000 | 0.000844 | +181% |
7.2.28 | 10.000 | 0.000792 | +170% |
7.2.27 | 10.000 | 0.001171 | +252% |
7.2.26 | 10.000 | 0.001005 | +216% |
7.2.25 | 10.000 | 0.000907 | +195% |
7.2.24 | 10.000 | 0.000833 | +179% |
7.2.22 | 10.000 | 0.000802 | +172% |
7.2.21 | 10.000 | 0.000756 | +163% |
7.1.33 | 10.000 | 0.001678 | +361% |
7.1.32 | 10.000 | 0.001532 | +329% |
7.1.31 | 10.000 | 0.001474 | +317% |
7.1.0 | 10.000 | 0.005360 | +1153% |
7.0.33 | 10.000 | 0.001532 | +329% |
7.0.7 | 10.000 | 0.005219 | +1122% |
5.6.40 | 10.000 | 0.005837 | +1255% |
5.6.22 | 10.000 | 0.021479 | +4619% |
5.5.36 | 10.000 | 0.021387 | +4599% |
5.4.45 | 10.000 | 0.020812 | +4476% |
5.3.29 | 10.000 | 0.022949 | +4935% |