Set a non existing class variable and catch it with magic method __set
<?php
$this->start($loop);
for ($i = 0; $i < $this->loop; ++$i) {
$this->value = $i;
}
return $this->end();
PHP | Loops | Seconds | Percent |
---|---|---|---|
8.3.13 | 100.000 | 0.023703 | +203% |
8.3.10 | 100.000 | 0.019996 | +172% |
8.3.9 | 100.000 | 0.020467 | +176% |
7.3.33 | 100.000 | 0.015068 | +129% |
7.3.31 | 100.000 | 0.015285 | +131% |
7.3.30 | 100.000 | 0.016180 | +139% |
7.3.29 | 100.000 | 0.015179 | +130% |
7.3.28 | 100.000 | 0.016715 | +143% |
7.3.27 | 100.000 | 0.019621 | +168% |
7.3.24 | 100.000 | 0.014981 | +129% |
7.3.23 | 100.000 | 0.018146 | +156% |
7.3.22 | 100.000 | 0.015680 | +135% |
7.3.19 | 100.000 | 0.016794 | +144% |
7.3.18 | 100.000 | 0.015060 | +129% |
7.3.17 | 100.000 | 0.017125 | +147% |
7.3.16 | 100.000 | 0.017009 | +146% |
7.3.15 | 100.000 | 0.015726 | +135% |
7.3.14 | 100.000 | 0.018429 | +158% |
7.3.13 | 100.000 | 0.019657 | +169% |
7.3.12 | 100.000 | 0.016423 | +141% |
7.3.11 | 100.000 | 0.012941 | +111% |
7.3.9 | 100.000 | 0.015197 | +130% |
7.3.8 | 100.000 | 0.013605 | +117% |
7.2.29 | 100.000 | 0.017478 | +150% |
8.3.13 | 10.000 | 0.002630 | +211% |
7.2.34 | 100.000 | 0.018327 | +157% |
7.2.33 | 100.000 | 0.018362 | +158% |
7.2.31 | 100.000 | 0.019596 | +168% |
7.2.30 | 100.000 | 0.017203 | +148% |
8.3.10 | 10.000 | 0.002681 | +215% |
7.2.28 | 100.000 | 0.020451 | +175% |
7.2.27 | 100.000 | 0.021981 | +189% |
7.2.26 | 100.000 | 0.022511 | +193% |
7.2.25 | 100.000 | 0.019070 | +164% |
7.2.24 | 100.000 | 0.017020 | +146% |
7.2.22 | 100.000 | 0.017611 | +151% |
7.2.21 | 100.000 | 0.016146 | +139% |
7.1.33 | 100.000 | 0.018476 | +159% |
7.1.32 | 100.000 | 0.017888 | +153% |
7.1.31 | 100.000 | 0.018171 | +156% |
7.1.0 | 100.000 | 0.074913 | +643% |
7.0.33 | 100.000 | 0.021991 | +189% |
7.0.7 | 100.000 | 0.109087 | +936% |
5.6.40 | 100.000 | 0.045994 | +395% |
5.6.22 | 100.000 | 0.224091 | +1923% |
5.5.36 | 100.000 | 0.234911 | +2016% |
5.4.45 | 100.000 | 0.219976 | +1888% |
5.3.29 | 100.000 | 0.281752 | +2418% |
8.3.9 | 10.000 | 0.002454 | +197% |
8.0.30 | 100.000 | 0.017076 | +147% |
8.0.29 | 100.000 | 0.012414 | +107% |
8.0.28 | 100.000 | 0.012773 | +110% |
8.0.27 | 100.000 | 0.015747 | +135% |
8.0.26 | 100.000 | 0.014214 | +122% |
8.0.25 | 100.000 | 0.013654 | +117% |
8.0.24 | 100.000 | 0.015934 | +137% |
8.0.23 | 100.000 | 0.014062 | +121% |
8.0.20 | 10.000 | 0.001247 | 100% |
8.0.20 | 100.000 | 0.012000 | +103% |
8.0.19 | 10.000 | 0.002134 | +171% |
8.0.19 | 100.000 | 0.018161 | +156% |
8.0.17 | 10.000 | 0.001939 | +155% |
8.0.17 | 100.000 | 0.018767 | +161% |
8.0.16 | 10.000 | 0.001595 | +128% |
8.0.16 | 100.000 | 0.015806 | +136% |
8.0.14 | 10.000 | 0.002074 | +166% |
8.0.14 | 100.000 | 0.017469 | +150% |
8.0.11 | 100.000 | 0.016413 | +141% |
8.0.10 | 100.000 | 0.015506 | +133% |
8.0.9 | 100.000 | 0.015890 | +136% |
8.0.8 | 100.000 | 0.015154 | +130% |
8.0.7 | 100.000 | 0.018119 | +155% |
8.0.3 | 100.000 | 0.020628 | +177% |
8.0.2 | 100.000 | 0.021948 | +188% |
8.0.0 | 100.000 | 0.015634 | +134% |
7.4.33 | 100.000 | 0.014827 | +127% |
7.4.32 | 100.000 | 0.014271 | +122% |
7.4.30 | 100.000 | 0.011654 | 100% |
7.4.28 | 100.000 | 0.018319 | +157% |
7.4.27 | 100.000 | 0.018127 | +156% |
7.4.24 | 100.000 | 0.016601 | +142% |
7.4.23 | 100.000 | 0.017115 | +147% |
7.4.22 | 100.000 | 0.017039 | +146% |
8.0.11 | 10.000 | 0.001746 | +140% |
8.0.10 | 10.000 | 0.001935 | +155% |
8.0.0 | 10.000 | 0.001797 | +144% |
7.4.29 | 100.000 | 0.016591 | +142% |
7.4.21 | 10.000 | 0.001844 | +148% |
7.4.21 | 100.000 | 0.017450 | +150% |
7.4.20 | 10.000 | 0.002195 | +176% |
7.4.20 | 100.000 | 0.016490 | +141% |
7.4.16 | 100.000 | 0.019812 | +170% |
7.4.15 | 100.000 | 0.022379 | +192% |
7.4.33 | 10.000 | 0.001763 | +141% |
7.4.32 | 10.000 | 0.001604 | +129% |
7.4.30 | 10.000 | 0.001335 | +107% |
7.4.29 | 10.000 | 0.001779 | +143% |
7.4.24 | 10.000 | 0.001853 | +149% |
7.4.23 | 10.000 | 0.001718 | +138% |
7.4.22 | 10.000 | 0.001492 | +120% |
7.4.13 | 100.000 | 0.014486 | +124% |
7.4.12 | 100.000 | 0.014674 | +126% |
7.4.11 | 100.000 | 0.016511 | +142% |
7.4.10 | 100.000 | 0.016416 | +141% |
8.0.2 | 10.000 | 0.002706 | +217% |
7.4.0 | 100.000 | 0.014987 | +129% |
8.0.30 | 10.000 | 0.002077 | +167% |
8.0.29 | 10.000 | 0.001287 | +103% |
8.0.28 | 10.000 | 0.001315 | +105% |
8.0.27 | 10.000 | 0.001388 | +111% |
8.0.26 | 10.000 | 0.001362 | +109% |
8.0.25 | 10.000 | 0.001586 | +127% |
8.0.24 | 10.000 | 0.001731 | +139% |
8.0.23 | 10.000 | 0.001365 | +109% |
8.0.9 | 10.000 | 0.001778 | +143% |
8.0.8 | 10.000 | 0.002072 | +166% |
8.0.7 | 10.000 | 0.002069 | +166% |
8.0.3 | 10.000 | 0.002580 | +207% |
7.4.28 | 10.000 | 0.001888 | +151% |
7.4.27 | 10.000 | 0.002090 | +168% |
7.4.16 | 10.000 | 0.002358 | +189% |
7.4.15 | 10.000 | 0.002240 | +180% |
7.4.13 | 10.000 | 0.001627 | +130% |
7.4.12 | 10.000 | 0.001538 | +123% |
7.4.11 | 10.000 | 0.002019 | +162% |
7.4.10 | 10.000 | 0.001624 | +130% |
7.4.7 | 10.000 | 0.001809 | +145% |
7.4.7 | 100.000 | 0.016143 | +139% |
7.4.6 | 10.000 | 0.001995 | +160% |
7.4.6 | 100.000 | 0.016418 | +141% |
7.4.5 | 10.000 | 0.002054 | +165% |
7.4.5 | 100.000 | 0.014019 | +120% |
7.4.4 | 10.000 | 0.001949 | +156% |
7.4.4 | 100.000 | 0.019997 | +172% |
7.4.3 | 10.000 | 0.001914 | +154% |
7.4.3 | 100.000 | 0.015987 | +137% |
7.4.1 | 100.000 | 0.019786 | +170% |
7.4.2 | 10.000 | 0.002393 | +192% |
7.4.2 | 100.000 | 0.019260 | +165% |
7.4.1 | 10.000 | 0.002406 | +193% |
7.4.0 | 10.000 | 0.001581 | +127% |
7.3.33 | 10.000 | 0.001766 | +142% |
7.3.31 | 10.000 | 0.001846 | +148% |
7.3.30 | 10.000 | 0.001882 | +151% |
7.3.29 | 10.000 | 0.001797 | +144% |
7.3.28 | 10.000 | 0.001789 | +143% |
7.3.27 | 10.000 | 0.002358 | +189% |
7.3.24 | 10.000 | 0.001627 | +130% |
7.3.23 | 10.000 | 0.001964 | +157% |
7.3.22 | 10.000 | 0.002038 | +163% |
7.3.19 | 10.000 | 0.001851 | +148% |
7.3.18 | 10.000 | 0.001884 | +151% |
7.3.17 | 10.000 | 0.001728 | +139% |
7.3.16 | 10.000 | 0.001812 | +145% |
7.3.15 | 10.000 | 0.001661 | +133% |
7.3.14 | 10.000 | 0.002456 | +197% |
7.3.13 | 10.000 | 0.002342 | +188% |
7.3.12 | 10.000 | 0.001724 | +138% |
7.3.11 | 10.000 | 0.001395 | +112% |
7.3.9 | 10.000 | 0.001592 | +128% |
7.3.8 | 10.000 | 0.001538 | +123% |
7.2.34 | 10.000 | 0.002142 | +172% |
7.2.33 | 10.000 | 0.002080 | +167% |
7.2.31 | 10.000 | 0.002324 | +186% |
7.2.30 | 10.000 | 0.002088 | +167% |
7.2.29 | 10.000 | 0.002505 | +201% |
7.2.28 | 10.000 | 0.001907 | +153% |
7.2.27 | 10.000 | 0.002915 | +234% |
7.2.26 | 10.000 | 0.002514 | +202% |
7.2.25 | 10.000 | 0.002211 | +177% |
7.2.24 | 10.000 | 0.001781 | +143% |
7.2.22 | 10.000 | 0.001813 | +145% |
7.2.21 | 10.000 | 0.001800 | +144% |
7.1.33 | 10.000 | 0.002185 | +175% |
7.1.32 | 10.000 | 0.001756 | +141% |
7.1.31 | 10.000 | 0.001862 | +149% |
7.1.0 | 10.000 | 0.007872 | +631% |
7.0.33 | 10.000 | 0.002638 | +212% |
7.0.7 | 10.000 | 0.011562 | +927% |
5.6.40 | 10.000 | 0.005701 | +457% |
5.6.22 | 10.000 | 0.023142 | +1856% |
5.5.36 | 10.000 | 0.024298 | +1948% |
5.4.45 | 10.000 | 0.023187 | +1859% |
5.3.29 | 10.000 | 0.028957 | +2322% |