Find a string into a text using stripos (case insensitive)
<?php
$text = $this->getTextLarge();
$this->start($loop);
for ($i = 0; $i < $this->loop; ++$i) {
$value = (stripos($text, 'lorem ipsum') !== false);
}
return $this->end();
PHP | Loops | Seconds | Percent |
---|---|---|---|
8.4.4 | 100.000 | 0.011136 | +101% |
8.3.9 | 100.000 | 0.014833 | +135% |
7.4.1 | 100.000 | 0.188978 | +1716% |
7.4.0 | 100.000 | 0.226904 | +2060% |
7.3.33 | 100.000 | 0.196872 | +1787% |
7.3.31 | 100.000 | 0.192840 | +1751% |
7.3.30 | 100.000 | 0.189953 | +1725% |
7.3.29 | 100.000 | 0.197364 | +1792% |
7.3.28 | 100.000 | 0.270856 | +2459% |
7.3.27 | 100.000 | 0.337939 | +3068% |
7.3.24 | 100.000 | 0.280902 | +2550% |
7.3.23 | 100.000 | 0.218783 | +1986% |
7.3.22 | 100.000 | 0.204169 | +1854% |
7.3.19 | 100.000 | 0.281788 | +2558% |
7.3.18 | 100.000 | 0.263626 | +2393% |
7.3.17 | 100.000 | 0.197404 | +1792% |
7.3.16 | 100.000 | 0.193319 | +1755% |
7.3.15 | 100.000 | 0.265190 | +2408% |
7.3.14 | 100.000 | 0.271029 | +2461% |
7.3.13 | 100.000 | 0.266385 | +2419% |
7.3.12 | 100.000 | 0.230977 | +2097% |
7.3.11 | 100.000 | 0.218630 | +1985% |
7.3.9 | 100.000 | 0.243738 | +2213% |
7.3.8 | 100.000 | 0.236798 | +2150% |
7.2.34 | 100.000 | 0.227725 | +2068% |
7.2.33 | 100.000 | 0.272724 | +2476% |
7.2.31 | 100.000 | 0.276184 | +2507% |
7.2.30 | 100.000 | 0.270457 | +2455% |
7.2.29 | 100.000 | 0.266340 | +2418% |
7.2.28 | 100.000 | 0.190585 | +1730% |
7.2.27 | 100.000 | 0.195840 | +1778% |
7.2.26 | 100.000 | 0.192305 | +1746% |
7.2.25 | 100.000 | 0.229749 | +2086% |
7.2.24 | 100.000 | 0.217445 | +1974% |
7.2.22 | 100.000 | 0.242266 | +2200% |
7.2.21 | 100.000 | 0.233809 | +2123% |
7.1.33 | 100.000 | 0.229877 | +2087% |
7.1.32 | 100.000 | 0.261880 | +2378% |
7.1.31 | 100.000 | 0.243710 | +2213% |
7.1.0 | 100.000 | 1.598008 | +14508% |
7.0.33 | 100.000 | 0.227804 | +2068% |
7.0.7 | 100.000 | 1.516526 | +13769% |
5.6.40 | 100.000 | 0.190690 | +1731% |
5.6.22 | 100.000 | 1.560474 | +14168% |
5.5.36 | 100.000 | 1.627271 | +14774% |
5.4.45 | 100.000 | 1.586290 | +14402% |
5.3.29 | 100.000 | 1.782963 | +16188% |
8.4.4 | 10.000 | 0.001646 | +148% |
8.3.16 | 100.000 | 0.011014 | 100% |
8.3.13 | 100.000 | 0.013408 | +122% |
8.3.10 | 10.000 | 0.001971 | +177% |
8.3.10 | 100.000 | 0.015780 | +143% |
8.0.29 | 100.000 | 0.040161 | +365% |
8.0.28 | 100.000 | 0.042800 | +389% |
8.0.27 | 100.000 | 0.046410 | +421% |
8.0.26 | 100.000 | 0.050407 | +458% |
8.0.25 | 100.000 | 0.047329 | +430% |
8.0.24 | 100.000 | 0.044000 | +399% |
8.0.23 | 100.000 | 0.048979 | +445% |
8.0.20 | 100.000 | 0.042933 | +390% |
8.3.16 | 10.000 | 0.001115 | 100% |
8.3.13 | 10.000 | 0.001639 | +147% |
8.0.19 | 100.000 | 0.050337 | +457% |
8.0.17 | 100.000 | 0.050747 | +461% |
8.0.16 | 100.000 | 0.051595 | +468% |
8.0.14 | 100.000 | 0.053387 | +485% |
8.0.11 | 100.000 | 0.050099 | +455% |
8.0.9 | 100.000 | 0.047954 | +435% |
8.0.8 | 100.000 | 0.051776 | +470% |
7.4.10 | 100.000 | 0.208199 | +1890% |
8.3.9 | 10.000 | 0.001942 | +174% |
8.0.30 | 100.000 | 0.049868 | +453% |
7.4.11 | 100.000 | 0.289257 | +2626% |
8.0.30 | 10.000 | 0.006927 | +621% |
8.0.29 | 10.000 | 0.004610 | +413% |
8.0.28 | 10.000 | 0.005295 | +475% |
8.0.27 | 10.000 | 0.007205 | +646% |
8.0.26 | 10.000 | 0.006151 | +552% |
8.0.25 | 10.000 | 0.006360 | +570% |
8.0.24 | 10.000 | 0.006441 | +578% |
8.0.23 | 10.000 | 0.004533 | +407% |
8.0.20 | 10.000 | 0.005119 | +459% |
8.0.19 | 10.000 | 0.007830 | +702% |
8.0.17 | 10.000 | 0.008049 | +722% |
8.0.16 | 10.000 | 0.007621 | +683% |
8.0.14 | 10.000 | 0.007767 | +697% |
8.0.11 | 10.000 | 0.007698 | +690% |
8.0.7 | 100.000 | 0.052859 | +480% |
8.0.10 | 10.000 | 0.007631 | +684% |
8.0.10 | 100.000 | 0.047069 | +427% |
8.0.3 | 100.000 | 0.060304 | +548% |
8.0.2 | 100.000 | 0.070055 | +636% |
8.0.0 | 100.000 | 0.047977 | +436% |
7.4.29 | 100.000 | 0.185512 | +1684% |
8.0.0 | 10.000 | 0.007147 | +641% |
7.4.33 | 100.000 | 0.198246 | +1800% |
7.4.32 | 100.000 | 0.187652 | +1704% |
8.0.2 | 10.000 | 0.011014 | +988% |
7.4.33 | 10.000 | 0.023547 | +2112% |
7.4.30 | 10.000 | 0.021305 | +1911% |
7.4.30 | 100.000 | 0.184268 | +1673% |
7.4.29 | 10.000 | 0.025791 | +2313% |
7.4.28 | 10.000 | 0.027242 | +2443% |
7.4.28 | 100.000 | 0.198684 | +1804% |
7.4.27 | 100.000 | 0.203491 | +1847% |
7.4.24 | 10.000 | 0.034767 | +3118% |
7.4.24 | 100.000 | 0.270067 | +2452% |
7.4.23 | 100.000 | 0.267575 | +2429% |
7.4.22 | 10.000 | 0.026647 | +2390% |
7.4.22 | 100.000 | 0.188853 | +1715% |
7.4.21 | 100.000 | 0.263601 | +2393% |
8.0.9 | 10.000 | 0.007565 | +678% |
7.4.27 | 10.000 | 0.027340 | +2452% |
7.4.21 | 10.000 | 0.036942 | +3313% |
7.4.20 | 10.000 | 0.028406 | +2548% |
7.4.20 | 100.000 | 0.193702 | +1759% |
7.4.16 | 100.000 | 0.251991 | +2288% |
8.0.8 | 10.000 | 0.007528 | +675% |
8.0.7 | 10.000 | 0.007651 | +686% |
8.0.3 | 10.000 | 0.009787 | +878% |
7.4.32 | 10.000 | 0.021849 | +1960% |
7.4.23 | 10.000 | 0.033161 | +2974% |
7.4.16 | 10.000 | 0.034073 | +3056% |
7.4.15 | 10.000 | 0.046924 | +4208% |
7.4.15 | 100.000 | 0.358280 | +3253% |
7.4.13 | 100.000 | 0.199254 | +1809% |
7.4.13 | 10.000 | 0.025148 | +2255% |
7.4.12 | 100.000 | 0.242365 | +2200% |
7.4.6 | 100.000 | 0.191675 | +1740% |
7.4.12 | 10.000 | 0.028400 | +2547% |
7.4.11 | 10.000 | 0.037926 | +3401% |
7.4.10 | 10.000 | 0.026311 | +2360% |
7.4.7 | 10.000 | 0.035696 | +3201% |
7.4.7 | 100.000 | 0.286078 | +2597% |
7.4.6 | 10.000 | 0.025370 | +2275% |
7.4.5 | 10.000 | 0.025349 | +2273% |
7.4.5 | 100.000 | 0.191148 | +1735% |
7.4.4 | 10.000 | 0.025951 | +2327% |
7.4.4 | 100.000 | 0.189753 | +1723% |
7.4.3 | 100.000 | 0.260680 | +2367% |
7.4.3 | 10.000 | 0.033133 | +2972% |
7.4.2 | 10.000 | 0.036437 | +3268% |
7.4.2 | 100.000 | 0.275739 | +2503% |
7.4.1 | 10.000 | 0.027385 | +2456% |
7.4.0 | 10.000 | 0.024174 | +2168% |
7.3.33 | 10.000 | 0.024235 | +2174% |
7.3.31 | 10.000 | 0.026478 | +2375% |
7.3.30 | 10.000 | 0.027621 | +2477% |
7.3.29 | 10.000 | 0.025962 | +2328% |
7.3.28 | 10.000 | 0.035075 | +3146% |
7.3.27 | 10.000 | 0.043788 | +3927% |
7.3.24 | 10.000 | 0.033275 | +2984% |
7.3.23 | 10.000 | 0.025652 | +2301% |
7.3.22 | 10.000 | 0.026351 | +2363% |
7.3.19 | 10.000 | 0.034631 | +3106% |
7.3.18 | 10.000 | 0.034818 | +3123% |
7.3.17 | 10.000 | 0.027057 | +2427% |
7.3.16 | 10.000 | 0.029035 | +2604% |
7.3.15 | 10.000 | 0.034747 | +3116% |
7.3.14 | 10.000 | 0.037602 | +3372% |
7.3.13 | 10.000 | 0.037548 | +3367% |
7.3.12 | 10.000 | 0.032433 | +2909% |
7.3.11 | 10.000 | 0.024366 | +2185% |
7.3.9 | 10.000 | 0.024836 | +2227% |
7.3.8 | 10.000 | 0.024135 | +2165% |
7.2.34 | 10.000 | 0.027691 | +2483% |
7.2.33 | 10.000 | 0.033707 | +3023% |
7.2.31 | 10.000 | 0.034911 | +3131% |
7.2.30 | 10.000 | 0.032276 | +2895% |
7.2.29 | 10.000 | 0.035974 | +3226% |
7.2.28 | 10.000 | 0.027234 | +2442% |
7.2.27 | 10.000 | 0.029005 | +2601% |
7.2.26 | 10.000 | 0.027809 | +2494% |
7.2.25 | 10.000 | 0.029455 | +2642% |
7.2.24 | 10.000 | 0.023440 | +2102% |
7.2.22 | 10.000 | 0.026737 | +2398% |
7.2.21 | 10.000 | 0.023902 | +2144% |
7.1.33 | 10.000 | 0.028648 | +2569% |
7.1.32 | 10.000 | 0.026208 | +2350% |
7.1.31 | 10.000 | 0.025359 | +2274% |
7.1.0 | 10.000 | 0.162275 | +14553% |
7.0.33 | 10.000 | 0.028336 | +2541% |
7.0.7 | 10.000 | 0.157312 | +14108% |
5.6.40 | 10.000 | 0.023762 | +2131% |
5.6.22 | 10.000 | 0.161186 | +14456% |
5.5.36 | 10.000 | 0.169261 | +15180% |
5.4.45 | 10.000 | 0.160991 | +14438% |
5.3.29 | 10.000 | 0.186949 | +16766% |