ExplodeLargeTest

Split a large string with explode and get the first element


<?php 

$text 
$this->getTextLarge();

$this->start($loop);

for (
$i 0$i $this->loop; ++$i) {
    
$value explode(' '$text);
    
$value $value[0];
}

return 
$this->end();
PHP Loops Seconds Percent
8.3.13 100.000 1.724850 +179%
8.3.10 100.000 1.243951 +129%
8.3.9 100.000 1.244663 +129%
7.3.33 100.000 1.158034 +120%
7.3.31 100.000 1.070160 +111%
7.3.30 100.000 1.054855 +109%
7.3.29 100.000 1.061581 +110%
7.3.28 100.000 1.021514 +106%
7.3.27 100.000 1.374466 +142%
7.3.24 100.000 1.150301 +119%
7.3.23 100.000 1.117071 +116%
7.3.22 100.000 1.115311 +115%
7.3.19 100.000 1.123075 +116%
7.3.18 100.000 1.049457 +109%
7.3.17 100.000 1.025176 +106%
7.3.16 100.000 1.002551 +104%
7.3.15 100.000 1.027544 +106%
7.3.14 100.000 1.041293 +108%
7.3.13 100.000 1.025493 +106%
7.3.12 100.000 0.966209 100%
7.3.11 100.000 1.330213 +138%
7.3.9 100.000 1.704125 +176%
7.3.8 100.000 1.660332 +172%
7.2.29 100.000 1.091006 +113%
8.3.13 10.000 0.163550 +158%
7.2.34 100.000 1.328741 +138%
7.2.33 100.000 1.207583 +125%
7.2.31 100.000 1.194571 +124%
7.2.30 100.000 1.123730 +116%
8.3.10 10.000 0.132161 +128%
7.2.28 100.000 1.117273 +116%
7.2.27 100.000 1.126113 +117%
7.2.26 100.000 1.109173 +115%
7.2.25 100.000 1.090389 +113%
7.2.24 100.000 1.550281 +160%
7.2.22 100.000 1.889635 +196%
7.2.21 100.000 1.834572 +190%
7.1.33 100.000 1.589261 +164%
7.1.32 100.000 2.462840 +255%
7.1.31 100.000 2.381104 +246%
7.1.0 100.000 12.786023 +1323%
7.0.33 100.000 1.612839 +167%
7.0.7 100.000 12.583039 +1302%
5.6.40 100.000 5.190898 +537%
5.6.22 100.000 47.999316 +4968%
5.5.36 100.000 32.367421 +3350%
5.4.45 100.000 31.106339 +3219%
5.3.29 100.000 27.805859 +2878%
8.3.9 10.000 0.132214 +128%
8.0.30 100.000 1.282749 +133%
8.0.29 100.000 1.031611 +107%
8.0.28 100.000 1.022193 +106%
8.0.27 100.000 1.224787 +127%
8.0.26 100.000 1.272788 +132%
8.0.25 100.000 1.159043 +120%
8.0.24 100.000 1.180810 +122%
8.0.23 100.000 1.180470 +122%
8.0.20 10.000 0.118476 +115%
8.0.20 100.000 1.103638 +114%
8.0.19 10.000 0.125121 +121%
8.0.19 100.000 1.166314 +121%
8.0.17 10.000 0.124801 +121%
8.0.17 100.000 1.079410 +112%
8.0.16 10.000 0.117617 +114%
8.0.16 100.000 1.072906 +111%
8.0.14 10.000 0.130735 +127%
8.0.14 100.000 1.114804 +115%
8.0.11 100.000 1.088652 +113%
8.0.10 100.000 1.058633 +110%
8.0.9 100.000 1.096783 +114%
8.0.8 100.000 1.112640 +115%
8.0.7 100.000 1.075152 +111%
8.0.3 100.000 1.325213 +137%
8.0.2 100.000 1.586862 +164%
8.0.0 100.000 1.117913 +116%
7.4.33 100.000 1.230907 +127%
7.4.32 100.000 1.088716 +113%
7.4.30 100.000 1.087578 +113%
7.4.28 100.000 1.014899 +105%
7.4.27 100.000 1.066996 +110%
7.4.24 100.000 1.075509 +111%
7.4.23 100.000 1.081881 +112%
7.4.22 100.000 1.083939 +112%
8.0.11 10.000 0.118097 +114%
8.0.10 10.000 0.115856 +112%
8.0.0 10.000 0.124210 +120%
7.4.29 100.000 1.077621 +112%
7.4.21 10.000 0.115666 +112%
7.4.21 100.000 1.069873 +111%
7.4.20 10.000 0.123172 +119%
7.4.20 100.000 1.114751 +115%
7.4.16 100.000 1.276965 +132%
7.4.15 100.000 1.539489 +159%
7.4.33 10.000 0.131773 +128%
7.4.32 10.000 0.118249 +115%
7.4.30 10.000 0.113101 +110%
7.4.29 10.000 0.117242 +114%
7.4.24 10.000 0.112476 +109%
7.4.23 10.000 0.111661 +108%
7.4.22 10.000 0.112769 +109%
7.4.13 100.000 1.076471 +111%
7.4.12 100.000 1.268072 +131%
7.4.11 100.000 1.186950 +123%
7.4.10 100.000 1.062624 +110%
8.0.2 10.000 0.166994 +162%
7.4.0 100.000 1.629207 +169%
8.0.30 10.000 0.138151 +134%
8.0.29 10.000 0.108757 +105%
8.0.28 10.000 0.108545 +105%
8.0.27 10.000 0.127913 +124%
8.0.26 10.000 0.136832 +133%
8.0.25 10.000 0.126085 +122%
8.0.24 10.000 0.125272 +121%
8.0.23 10.000 0.136367 +132%
8.0.9 10.000 0.115819 +112%
8.0.8 10.000 0.126249 +122%
8.0.7 10.000 0.115408 +112%
8.0.3 10.000 0.143996 +140%
7.4.28 10.000 0.113003 +109%
7.4.27 10.000 0.116130 +113%
7.4.16 10.000 0.140373 +136%
7.4.15 10.000 0.164862 +160%
7.4.13 10.000 0.114108 +111%
7.4.12 10.000 0.136771 +133%
7.4.11 10.000 0.133708 +130%
7.4.10 10.000 0.120059 +116%
7.4.7 10.000 0.121303 +118%
7.4.7 100.000 1.119892 +116%
7.4.6 10.000 0.111326 +108%
7.4.6 100.000 1.021314 +106%
7.4.5 10.000 0.110148 +107%
7.4.5 100.000 0.990843 +103%
7.4.4 10.000 0.105404 +102%
7.4.4 100.000 0.973074 +101%
7.4.3 10.000 0.112641 +109%
7.4.3 100.000 1.005920 +104%
7.4.1 100.000 0.985722 +102%
7.4.2 10.000 0.117759 +114%
7.4.2 100.000 1.100464 +114%
7.4.1 10.000 0.113272 +110%
7.4.0 10.000 0.168596 +163%
7.3.33 10.000 0.124215 +120%
7.3.31 10.000 0.119384 +116%
7.3.30 10.000 0.111891 +108%
7.3.29 10.000 0.122640 +119%
7.3.28 10.000 0.113092 +110%
7.3.27 10.000 0.154290 +150%
7.3.24 10.000 0.121634 +118%
7.3.23 10.000 0.124380 +121%
7.3.22 10.000 0.121658 +118%
7.3.19 10.000 0.120968 +117%
7.3.18 10.000 0.116630 +113%
7.3.17 10.000 0.112974 +109%
7.3.16 10.000 0.107866 +105%
7.3.15 10.000 0.114557 +111%
7.3.14 10.000 0.112389 +109%
7.3.13 10.000 0.113662 +110%
7.3.12 10.000 0.103199 100%
7.3.11 10.000 0.136144 +132%
7.3.9 10.000 0.173393 +168%
7.3.8 10.000 0.168061 +163%
7.2.34 10.000 0.142126 +138%
7.2.33 10.000 0.129656 +126%
7.2.31 10.000 0.127166 +123%
7.2.30 10.000 0.120545 +117%
7.2.29 10.000 0.119911 +116%
7.2.28 10.000 0.121283 +118%
7.2.27 10.000 0.127973 +124%
7.2.26 10.000 0.123220 +119%
7.2.25 10.000 0.115874 +112%
7.2.24 10.000 0.162981 +158%
7.2.22 10.000 0.194682 +189%
7.2.21 10.000 0.189043 +183%
7.1.33 10.000 0.168798 +164%
7.1.32 10.000 0.259661 +252%
7.1.31 10.000 0.243569 +236%
7.1.0 10.000 1.295948 +1256%
7.0.33 10.000 0.171204 +166%
7.0.7 10.000 1.275228 +1236%
5.6.40 10.000 0.537179 +521%
5.6.22 10.000 4.824828 +4675%
5.5.36 10.000 3.238410 +3138%
5.4.45 10.000 3.116139 +3020%
5.3.29 10.000 2.803377 +2716%