Split a string with explode (limit) and get the first element
<?php
$this->start($loop);
for ($i = 0; $i < $this->loop; ++$i) {
$value = explode(' ', '2016-07-01 23:59:59', 2);
$value = $value[0];
}
return $this->end();
PHP | Loops | Seconds | Percent |
---|---|---|---|
8.3.13 | 100.000 | 0.030938 | +237% |
8.3.10 | 100.000 | 0.025798 | +197% |
8.3.9 | 100.000 | 0.025767 | +197% |
7.3.33 | 100.000 | 0.018892 | +145% |
7.3.31 | 100.000 | 0.019972 | +153% |
7.3.30 | 100.000 | 0.021941 | +168% |
7.3.29 | 100.000 | 0.019253 | +147% |
7.3.28 | 100.000 | 0.021926 | +168% |
7.3.27 | 100.000 | 0.025963 | +199% |
7.3.24 | 100.000 | 0.017919 | +137% |
7.3.23 | 100.000 | 0.021993 | +168% |
7.3.22 | 100.000 | 0.018807 | +144% |
7.3.19 | 100.000 | 0.020031 | +153% |
7.3.18 | 100.000 | 0.019640 | +150% |
7.3.17 | 100.000 | 0.019252 | +147% |
7.3.16 | 100.000 | 0.020998 | +161% |
7.3.15 | 100.000 | 0.020218 | +155% |
7.3.14 | 100.000 | 0.023477 | +180% |
7.3.13 | 100.000 | 0.022804 | +174% |
7.3.12 | 100.000 | 0.020244 | +155% |
7.3.11 | 100.000 | 0.016969 | +130% |
7.3.9 | 100.000 | 0.018614 | +142% |
7.3.8 | 100.000 | 0.018822 | +144% |
7.2.29 | 100.000 | 0.021665 | +166% |
8.3.13 | 10.000 | 0.003409 | +219% |
7.2.34 | 100.000 | 0.022132 | +169% |
7.2.33 | 100.000 | 0.021670 | +166% |
7.2.31 | 100.000 | 0.022421 | +172% |
7.2.30 | 100.000 | 0.023270 | +178% |
8.3.10 | 10.000 | 0.003609 | +232% |
7.2.28 | 100.000 | 0.021340 | +163% |
7.2.27 | 100.000 | 0.025493 | +195% |
7.2.26 | 100.000 | 0.026377 | +202% |
7.2.25 | 100.000 | 0.022126 | +169% |
7.2.24 | 100.000 | 0.021173 | +162% |
7.2.22 | 100.000 | 0.020335 | +156% |
7.2.21 | 100.000 | 0.020612 | +158% |
7.1.33 | 100.000 | 0.023156 | +177% |
7.1.32 | 100.000 | 0.029482 | +226% |
7.1.31 | 100.000 | 0.027701 | +212% |
7.1.0 | 100.000 | 0.154064 | +1179% |
7.0.33 | 100.000 | 0.023126 | +177% |
7.0.7 | 100.000 | 0.150572 | +1152% |
5.6.40 | 100.000 | 0.057351 | +439% |
5.6.22 | 100.000 | 0.327469 | +2505% |
5.5.36 | 100.000 | 0.346832 | +2654% |
5.4.45 | 100.000 | 0.353962 | +2708% |
5.3.29 | 100.000 | 0.399496 | +3057% |
8.3.9 | 10.000 | 0.003655 | +235% |
8.0.30 | 100.000 | 0.021967 | +168% |
8.0.29 | 100.000 | 0.013070 | 100% |
8.0.28 | 100.000 | 0.015564 | +119% |
8.0.27 | 100.000 | 0.016578 | +127% |
8.0.26 | 100.000 | 0.017514 | +134% |
8.0.25 | 100.000 | 0.018716 | +143% |
8.0.24 | 100.000 | 0.017853 | +137% |
8.0.23 | 100.000 | 0.016973 | +130% |
8.0.20 | 10.000 | 0.001707 | +110% |
8.0.20 | 100.000 | 0.015022 | +115% |
8.0.19 | 10.000 | 0.002692 | +173% |
8.0.19 | 100.000 | 0.021516 | +165% |
8.0.17 | 10.000 | 0.002416 | +155% |
8.0.17 | 100.000 | 0.021260 | +163% |
8.0.16 | 10.000 | 0.002239 | +144% |
8.0.16 | 100.000 | 0.020091 | +154% |
8.0.14 | 10.000 | 0.002243 | +144% |
8.0.14 | 100.000 | 0.021726 | +166% |
8.0.11 | 100.000 | 0.019780 | +151% |
8.0.10 | 100.000 | 0.018613 | +142% |
8.0.9 | 100.000 | 0.016687 | +128% |
8.0.8 | 100.000 | 0.019645 | +150% |
8.0.7 | 100.000 | 0.018818 | +144% |
8.0.3 | 100.000 | 0.025488 | +195% |
8.0.2 | 100.000 | 0.027096 | +207% |
8.0.0 | 100.000 | 0.019569 | +150% |
7.4.33 | 100.000 | 0.019310 | +148% |
7.4.32 | 100.000 | 0.018141 | +139% |
7.4.30 | 100.000 | 0.015107 | +116% |
7.4.28 | 100.000 | 0.020018 | +153% |
7.4.27 | 100.000 | 0.019420 | +149% |
7.4.24 | 100.000 | 0.018890 | +145% |
7.4.23 | 100.000 | 0.018844 | +144% |
7.4.22 | 100.000 | 0.017545 | +134% |
8.0.11 | 10.000 | 0.002156 | +139% |
8.0.10 | 10.000 | 0.002548 | +164% |
8.0.0 | 10.000 | 0.002138 | +138% |
7.4.29 | 100.000 | 0.020938 | +160% |
7.4.21 | 10.000 | 0.002672 | +172% |
7.4.21 | 100.000 | 0.022397 | +171% |
7.4.20 | 10.000 | 0.002430 | +156% |
7.4.20 | 100.000 | 0.020369 | +156% |
7.4.16 | 100.000 | 0.024743 | +189% |
7.4.15 | 100.000 | 0.026507 | +203% |
7.4.33 | 10.000 | 0.002348 | +151% |
7.4.32 | 10.000 | 0.002338 | +151% |
7.4.30 | 10.000 | 0.001734 | +112% |
7.4.29 | 10.000 | 0.002543 | +164% |
7.4.24 | 10.000 | 0.002076 | +134% |
7.4.23 | 10.000 | 0.002138 | +138% |
7.4.22 | 10.000 | 0.002172 | +140% |
7.4.13 | 100.000 | 0.017734 | +136% |
7.4.12 | 100.000 | 0.018149 | +139% |
7.4.11 | 100.000 | 0.018109 | +139% |
7.4.10 | 100.000 | 0.020585 | +157% |
8.0.2 | 10.000 | 0.003199 | +206% |
7.4.0 | 100.000 | 0.018152 | +139% |
8.0.30 | 10.000 | 0.002844 | +183% |
8.0.29 | 10.000 | 0.001554 | 100% |
8.0.28 | 10.000 | 0.001600 | +103% |
8.0.27 | 10.000 | 0.002057 | +132% |
8.0.26 | 10.000 | 0.001773 | +114% |
8.0.25 | 10.000 | 0.001985 | +128% |
8.0.24 | 10.000 | 0.001747 | +112% |
8.0.23 | 10.000 | 0.001783 | +115% |
8.0.9 | 10.000 | 0.001962 | +126% |
8.0.8 | 10.000 | 0.002707 | +174% |
8.0.7 | 10.000 | 0.002612 | +168% |
8.0.3 | 10.000 | 0.003051 | +196% |
7.4.28 | 10.000 | 0.002444 | +157% |
7.4.27 | 10.000 | 0.002318 | +149% |
7.4.16 | 10.000 | 0.002893 | +186% |
7.4.15 | 10.000 | 0.003460 | +223% |
7.4.13 | 10.000 | 0.002222 | +143% |
7.4.12 | 10.000 | 0.002138 | +138% |
7.4.11 | 10.000 | 0.002231 | +144% |
7.4.10 | 10.000 | 0.002699 | +174% |
7.4.7 | 10.000 | 0.002340 | +151% |
7.4.7 | 100.000 | 0.020494 | +157% |
7.4.6 | 10.000 | 0.002175 | +140% |
7.4.6 | 100.000 | 0.020221 | +155% |
7.4.5 | 10.000 | 0.002338 | +151% |
7.4.5 | 100.000 | 0.016391 | +125% |
7.4.4 | 10.000 | 0.002393 | +154% |
7.4.4 | 100.000 | 0.020896 | +160% |
7.4.3 | 10.000 | 0.002212 | +142% |
7.4.3 | 100.000 | 0.018724 | +143% |
7.4.1 | 100.000 | 0.022868 | +175% |
7.4.2 | 10.000 | 0.002735 | +176% |
7.4.2 | 100.000 | 0.022182 | +170% |
7.4.1 | 10.000 | 0.002888 | +186% |
7.4.0 | 10.000 | 0.001888 | +122% |
7.3.33 | 10.000 | 0.002274 | +146% |
7.3.31 | 10.000 | 0.002338 | +151% |
7.3.30 | 10.000 | 0.002458 | +158% |
7.3.29 | 10.000 | 0.002592 | +167% |
7.3.28 | 10.000 | 0.002811 | +181% |
7.3.27 | 10.000 | 0.003189 | +205% |
7.3.24 | 10.000 | 0.002267 | +146% |
7.3.23 | 10.000 | 0.003114 | +200% |
7.3.22 | 10.000 | 0.002280 | +147% |
7.3.19 | 10.000 | 0.002226 | +143% |
7.3.18 | 10.000 | 0.002488 | +160% |
7.3.17 | 10.000 | 0.002594 | +167% |
7.3.16 | 10.000 | 0.001976 | +127% |
7.3.15 | 10.000 | 0.002003 | +129% |
7.3.14 | 10.000 | 0.003105 | +200% |
7.3.13 | 10.000 | 0.002927 | +188% |
7.3.12 | 10.000 | 0.002323 | +150% |
7.3.11 | 10.000 | 0.001836 | +118% |
7.3.9 | 10.000 | 0.001903 | +123% |
7.3.8 | 10.000 | 0.001924 | +124% |
7.2.34 | 10.000 | 0.002678 | +172% |
7.2.33 | 10.000 | 0.003121 | +201% |
7.2.31 | 10.000 | 0.002733 | +176% |
7.2.30 | 10.000 | 0.002540 | +164% |
7.2.29 | 10.000 | 0.002314 | +149% |
7.2.28 | 10.000 | 0.002449 | +158% |
7.2.27 | 10.000 | 0.003129 | +201% |
7.2.26 | 10.000 | 0.003351 | +216% |
7.2.25 | 10.000 | 0.002996 | +193% |
7.2.24 | 10.000 | 0.002149 | +138% |
7.2.22 | 10.000 | 0.002269 | +146% |
7.2.21 | 10.000 | 0.002149 | +138% |
7.1.33 | 10.000 | 0.002812 | +181% |
7.1.32 | 10.000 | 0.002744 | +177% |
7.1.31 | 10.000 | 0.002912 | +187% |
7.1.0 | 10.000 | 0.015976 | +1028% |
7.0.33 | 10.000 | 0.002890 | +186% |
7.0.7 | 10.000 | 0.015483 | +997% |
5.6.40 | 10.000 | 0.008156 | +525% |
5.6.22 | 10.000 | 0.034011 | +2189% |
5.5.36 | 10.000 | 0.035790 | +2304% |
5.4.45 | 10.000 | 0.036598 | +2356% |
5.3.29 | 10.000 | 0.040606 | +2614% |