Find a string into a text using strstr
<?php
$text = $this->getTextLarge();
$this->start($loop);
for ($i = 0; $i < $this->loop; ++$i) {
$value = strstr($text, 'Lorem ipsum');
}
return $this->end();
PHP | Loops | Seconds | Percent |
---|---|---|---|
8.3.13 | 100.000 | 0.036252 | +150% |
8.3.10 | 100.000 | 0.036586 | +151% |
8.3.9 | 100.000 | 0.033146 | +137% |
7.3.33 | 100.000 | 0.030091 | +124% |
7.3.31 | 100.000 | 0.031274 | +129% |
7.3.30 | 100.000 | 0.033221 | +137% |
7.3.29 | 100.000 | 0.032740 | +135% |
7.3.28 | 100.000 | 0.032958 | +136% |
7.3.27 | 100.000 | 0.040033 | +165% |
7.3.24 | 100.000 | 0.029841 | +123% |
7.3.23 | 100.000 | 0.029486 | +122% |
7.3.22 | 100.000 | 0.032035 | +132% |
7.3.19 | 100.000 | 0.031736 | +131% |
7.3.18 | 100.000 | 0.031732 | +131% |
7.3.17 | 100.000 | 0.030252 | +125% |
7.3.16 | 100.000 | 0.031545 | +130% |
7.3.15 | 100.000 | 0.030524 | +126% |
7.3.14 | 100.000 | 0.035183 | +145% |
7.3.13 | 100.000 | 0.036369 | +150% |
7.3.12 | 100.000 | 0.031497 | +130% |
7.3.11 | 100.000 | 0.073694 | +305% |
7.3.9 | 100.000 | 0.106941 | +442% |
7.3.8 | 100.000 | 0.101697 | +420% |
7.2.29 | 100.000 | 0.031889 | +132% |
8.3.13 | 10.000 | 0.004779 | +180% |
7.2.34 | 100.000 | 0.032332 | +134% |
7.2.33 | 100.000 | 0.029580 | +122% |
7.2.31 | 100.000 | 0.032705 | +135% |
7.2.30 | 100.000 | 0.031428 | +130% |
8.3.10 | 10.000 | 0.005071 | +191% |
7.2.28 | 100.000 | 0.034421 | +142% |
7.2.27 | 100.000 | 0.035484 | +147% |
7.2.26 | 100.000 | 0.034799 | +144% |
7.2.25 | 100.000 | 0.032623 | +135% |
7.2.24 | 100.000 | 0.068810 | +284% |
7.2.22 | 100.000 | 0.115167 | +476% |
7.2.21 | 100.000 | 0.100160 | +414% |
7.1.33 | 100.000 | 0.037558 | +155% |
7.1.32 | 100.000 | 0.122217 | +505% |
7.1.31 | 100.000 | 0.114759 | +474% |
7.1.0 | 100.000 | 0.195972 | +810% |
7.0.33 | 100.000 | 0.040653 | +168% |
7.0.7 | 100.000 | 0.190956 | +789% |
5.6.40 | 100.000 | 0.042766 | +177% |
5.6.22 | 100.000 | 0.175330 | +725% |
5.5.36 | 100.000 | 0.184864 | +764% |
5.4.45 | 100.000 | 0.198673 | +821% |
5.3.29 | 100.000 | 0.233303 | +964% |
8.3.9 | 10.000 | 0.005175 | +195% |
8.0.30 | 100.000 | 0.031425 | +130% |
8.0.29 | 100.000 | 0.024198 | 100% |
8.0.28 | 100.000 | 0.026683 | +110% |
8.0.27 | 100.000 | 0.029771 | +123% |
8.0.26 | 100.000 | 0.031549 | +130% |
8.0.25 | 100.000 | 0.027992 | +116% |
8.0.24 | 100.000 | 0.027414 | +113% |
8.0.23 | 100.000 | 0.029357 | +121% |
8.0.20 | 10.000 | 0.002995 | +113% |
8.0.20 | 100.000 | 0.025785 | +107% |
8.0.19 | 10.000 | 0.004560 | +171% |
8.0.19 | 100.000 | 0.034330 | +142% |
8.0.17 | 10.000 | 0.004681 | +176% |
8.0.17 | 100.000 | 0.033414 | +138% |
8.0.16 | 10.000 | 0.004251 | +160% |
8.0.16 | 100.000 | 0.032458 | +134% |
8.0.14 | 10.000 | 0.005097 | +192% |
8.0.14 | 100.000 | 0.032458 | +134% |
8.0.11 | 100.000 | 0.033161 | +137% |
8.0.10 | 100.000 | 0.033984 | +140% |
8.0.9 | 100.000 | 0.031917 | +132% |
8.0.8 | 100.000 | 0.035259 | +146% |
8.0.7 | 100.000 | 0.036101 | +149% |
8.0.3 | 100.000 | 0.040406 | +167% |
8.0.2 | 100.000 | 0.048834 | +202% |
8.0.0 | 100.000 | 0.030969 | +128% |
7.4.33 | 100.000 | 0.029522 | +122% |
7.4.32 | 100.000 | 0.028605 | +118% |
7.4.30 | 100.000 | 0.026283 | +109% |
7.4.28 | 100.000 | 0.032265 | +133% |
7.4.27 | 100.000 | 0.032220 | +133% |
7.4.24 | 100.000 | 0.029963 | +124% |
7.4.23 | 100.000 | 0.033319 | +138% |
7.4.22 | 100.000 | 0.033690 | +139% |
8.0.11 | 10.000 | 0.004771 | +179% |
8.0.10 | 10.000 | 0.004723 | +178% |
8.0.0 | 10.000 | 0.004388 | +165% |
7.4.29 | 100.000 | 0.032570 | +135% |
7.4.21 | 10.000 | 0.004701 | +177% |
7.4.21 | 100.000 | 0.032755 | +135% |
7.4.20 | 10.000 | 0.004613 | +173% |
7.4.20 | 100.000 | 0.033328 | +138% |
7.4.16 | 100.000 | 0.039643 | +164% |
7.4.15 | 100.000 | 0.042858 | +177% |
7.4.33 | 10.000 | 0.003764 | +142% |
7.4.32 | 10.000 | 0.003467 | +130% |
7.4.30 | 10.000 | 0.003477 | +131% |
7.4.29 | 10.000 | 0.004446 | +167% |
7.4.24 | 10.000 | 0.003855 | +145% |
7.4.23 | 10.000 | 0.003977 | +150% |
7.4.22 | 10.000 | 0.004429 | +167% |
7.4.13 | 100.000 | 0.030733 | +127% |
7.4.12 | 100.000 | 0.032344 | +134% |
7.4.11 | 100.000 | 0.032178 | +133% |
7.4.10 | 100.000 | 0.031354 | +130% |
8.0.2 | 10.000 | 0.006874 | +258% |
7.4.0 | 100.000 | 0.084592 | +350% |
8.0.30 | 10.000 | 0.004050 | +152% |
8.0.29 | 10.000 | 0.002659 | 100% |
8.0.28 | 10.000 | 0.003220 | +121% |
8.0.27 | 10.000 | 0.005491 | +206% |
8.0.26 | 10.000 | 0.004079 | +153% |
8.0.25 | 10.000 | 0.003656 | +137% |
8.0.24 | 10.000 | 0.003372 | +127% |
8.0.23 | 10.000 | 0.003118 | +117% |
8.0.9 | 10.000 | 0.004494 | +169% |
8.0.8 | 10.000 | 0.004629 | +174% |
8.0.7 | 10.000 | 0.004960 | +187% |
8.0.3 | 10.000 | 0.005635 | +212% |
7.4.28 | 10.000 | 0.004602 | +173% |
7.4.27 | 10.000 | 0.004628 | +174% |
7.4.16 | 10.000 | 0.005690 | +214% |
7.4.15 | 10.000 | 0.006227 | +234% |
7.4.13 | 10.000 | 0.004031 | +152% |
7.4.12 | 10.000 | 0.004105 | +154% |
7.4.11 | 10.000 | 0.004210 | +158% |
7.4.10 | 10.000 | 0.004100 | +154% |
7.4.7 | 10.000 | 0.004378 | +165% |
7.4.7 | 100.000 | 0.032337 | +134% |
7.4.6 | 10.000 | 0.004777 | +180% |
7.4.6 | 100.000 | 0.031817 | +131% |
7.4.5 | 10.000 | 0.004410 | +166% |
7.4.5 | 100.000 | 0.030483 | +126% |
7.4.4 | 10.000 | 0.003776 | +142% |
7.4.4 | 100.000 | 0.030061 | +124% |
7.4.3 | 10.000 | 0.003955 | +149% |
7.4.3 | 100.000 | 0.030565 | +126% |
7.4.1 | 100.000 | 0.034285 | +142% |
7.4.2 | 10.000 | 0.005496 | +207% |
7.4.2 | 100.000 | 0.033584 | +139% |
7.4.1 | 10.000 | 0.004554 | +171% |
7.4.0 | 10.000 | 0.009188 | +346% |
7.3.33 | 10.000 | 0.003875 | +146% |
7.3.31 | 10.000 | 0.004126 | +155% |
7.3.30 | 10.000 | 0.004060 | +153% |
7.3.29 | 10.000 | 0.004344 | +163% |
7.3.28 | 10.000 | 0.004298 | +162% |
7.3.27 | 10.000 | 0.005841 | +220% |
7.3.24 | 10.000 | 0.004118 | +155% |
7.3.23 | 10.000 | 0.004447 | +167% |
7.3.22 | 10.000 | 0.004766 | +179% |
7.3.19 | 10.000 | 0.004864 | +183% |
7.3.18 | 10.000 | 0.004338 | +163% |
7.3.17 | 10.000 | 0.004488 | +169% |
7.3.16 | 10.000 | 0.004210 | +158% |
7.3.15 | 10.000 | 0.004351 | +164% |
7.3.14 | 10.000 | 0.005687 | +214% |
7.3.13 | 10.000 | 0.004917 | +185% |
7.3.12 | 10.000 | 0.005275 | +198% |
7.3.11 | 10.000 | 0.007428 | +279% |
7.3.9 | 10.000 | 0.011354 | +427% |
7.3.8 | 10.000 | 0.011019 | +414% |
7.2.34 | 10.000 | 0.004199 | +158% |
7.2.33 | 10.000 | 0.004160 | +156% |
7.2.31 | 10.000 | 0.004729 | +178% |
7.2.30 | 10.000 | 0.004685 | +176% |
7.2.29 | 10.000 | 0.004790 | +180% |
7.2.28 | 10.000 | 0.003672 | +138% |
7.2.27 | 10.000 | 0.005671 | +213% |
7.2.26 | 10.000 | 0.004770 | +179% |
7.2.25 | 10.000 | 0.004020 | +151% |
7.2.24 | 10.000 | 0.007755 | +292% |
7.2.22 | 10.000 | 0.011636 | +438% |
7.2.21 | 10.000 | 0.010273 | +386% |
7.1.33 | 10.000 | 0.005086 | +191% |
7.1.32 | 10.000 | 0.012565 | +473% |
7.1.31 | 10.000 | 0.011876 | +447% |
7.1.0 | 10.000 | 0.020039 | +754% |
7.0.33 | 10.000 | 0.005423 | +204% |
7.0.7 | 10.000 | 0.019673 | +740% |
5.6.40 | 10.000 | 0.005681 | +214% |
5.6.22 | 10.000 | 0.018660 | +702% |
5.5.36 | 10.000 | 0.019138 | +720% |
5.4.45 | 10.000 | 0.020983 | +789% |
5.3.29 | 10.000 | 0.025483 | +958% |