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.3.13 | 100.000 | 0.016848 | +114% |
8.3.10 | 100.000 | 0.015780 | +106% |
8.3.9 | 100.000 | 0.014833 | 100% |
7.3.33 | 100.000 | 0.195072 | +1315% |
7.3.31 | 100.000 | 0.192840 | +1300% |
7.3.30 | 100.000 | 0.189953 | +1281% |
7.3.29 | 100.000 | 0.197364 | +1331% |
7.3.28 | 100.000 | 0.270856 | +1826% |
7.3.27 | 100.000 | 0.337939 | +2278% |
7.3.24 | 100.000 | 0.280902 | +1894% |
7.3.23 | 100.000 | 0.218783 | +1475% |
7.3.22 | 100.000 | 0.204169 | +1376% |
7.3.19 | 100.000 | 0.281788 | +1900% |
7.3.18 | 100.000 | 0.263626 | +1777% |
7.3.17 | 100.000 | 0.197404 | +1331% |
7.3.16 | 100.000 | 0.193319 | +1303% |
7.3.15 | 100.000 | 0.265190 | +1788% |
7.3.14 | 100.000 | 0.271029 | +1827% |
7.3.13 | 100.000 | 0.266385 | +1796% |
7.3.12 | 100.000 | 0.230977 | +1557% |
7.3.11 | 100.000 | 0.218630 | +1474% |
7.3.9 | 100.000 | 0.243738 | +1643% |
7.3.8 | 100.000 | 0.236798 | +1596% |
7.2.29 | 100.000 | 0.266340 | +1796% |
8.3.13 | 10.000 | 0.002139 | +110% |
7.2.34 | 100.000 | 0.229004 | +1544% |
7.2.33 | 100.000 | 0.272724 | +1839% |
7.2.31 | 100.000 | 0.276184 | +1862% |
7.2.30 | 100.000 | 0.270457 | +1823% |
8.3.10 | 10.000 | 0.001971 | +101% |
7.2.28 | 100.000 | 0.190585 | +1285% |
7.2.27 | 100.000 | 0.195840 | +1320% |
7.2.26 | 100.000 | 0.192305 | +1296% |
7.2.25 | 100.000 | 0.229749 | +1549% |
7.2.24 | 100.000 | 0.217445 | +1466% |
7.2.22 | 100.000 | 0.242266 | +1633% |
7.2.21 | 100.000 | 0.233809 | +1576% |
7.1.33 | 100.000 | 0.231414 | +1560% |
7.1.32 | 100.000 | 0.261880 | +1766% |
7.1.31 | 100.000 | 0.243710 | +1643% |
7.1.0 | 100.000 | 1.598008 | +10773% |
7.0.33 | 100.000 | 0.228866 | +1543% |
7.0.7 | 100.000 | 1.516526 | +10224% |
5.6.40 | 100.000 | 0.191189 | +1289% |
5.6.22 | 100.000 | 1.560474 | +10520% |
5.5.36 | 100.000 | 1.627271 | +10971% |
5.4.45 | 100.000 | 1.586290 | +10694% |
5.3.29 | 100.000 | 1.782963 | +12020% |
8.3.9 | 10.000 | 0.001942 | 100% |
8.0.30 | 100.000 | 0.049119 | +331% |
8.0.29 | 100.000 | 0.040161 | +271% |
8.0.28 | 100.000 | 0.042800 | +289% |
8.0.27 | 100.000 | 0.046410 | +313% |
8.0.26 | 100.000 | 0.050407 | +340% |
8.0.25 | 100.000 | 0.047329 | +319% |
8.0.24 | 100.000 | 0.044000 | +297% |
8.0.23 | 100.000 | 0.048979 | +330% |
8.0.20 | 10.000 | 0.005119 | +264% |
8.0.20 | 100.000 | 0.042933 | +289% |
8.0.19 | 10.000 | 0.007830 | +403% |
8.0.19 | 100.000 | 0.050337 | +339% |
8.0.17 | 10.000 | 0.008049 | +414% |
8.0.17 | 100.000 | 0.050747 | +342% |
8.0.16 | 10.000 | 0.007621 | +392% |
8.0.16 | 100.000 | 0.051595 | +348% |
8.0.14 | 10.000 | 0.007767 | +400% |
8.0.14 | 100.000 | 0.053387 | +360% |
8.0.11 | 100.000 | 0.050099 | +338% |
8.0.10 | 100.000 | 0.047069 | +317% |
8.0.9 | 100.000 | 0.047954 | +323% |
8.0.8 | 100.000 | 0.051776 | +349% |
8.0.7 | 100.000 | 0.052859 | +356% |
8.0.3 | 100.000 | 0.060304 | +407% |
8.0.2 | 100.000 | 0.070055 | +472% |
8.0.0 | 100.000 | 0.047977 | +323% |
7.4.33 | 100.000 | 0.195970 | +1321% |
7.4.32 | 100.000 | 0.187652 | +1265% |
7.4.30 | 100.000 | 0.184268 | +1242% |
7.4.28 | 100.000 | 0.198684 | +1339% |
7.4.27 | 100.000 | 0.203491 | +1372% |
7.4.24 | 100.000 | 0.270067 | +1821% |
7.4.23 | 100.000 | 0.267575 | +1804% |
7.4.22 | 100.000 | 0.188853 | +1273% |
8.0.11 | 10.000 | 0.007698 | +396% |
8.0.10 | 10.000 | 0.007631 | +393% |
8.0.0 | 10.000 | 0.007147 | +368% |
7.4.29 | 100.000 | 0.185512 | +1251% |
7.4.21 | 10.000 | 0.036942 | +1902% |
7.4.21 | 100.000 | 0.263601 | +1777% |
7.4.20 | 10.000 | 0.028406 | +1462% |
7.4.20 | 100.000 | 0.193702 | +1306% |
7.4.16 | 100.000 | 0.251991 | +1699% |
7.4.15 | 100.000 | 0.358280 | +2415% |
7.4.33 | 10.000 | 0.023141 | +1191% |
7.4.32 | 10.000 | 0.021849 | +1125% |
7.4.30 | 10.000 | 0.021305 | +1097% |
7.4.29 | 10.000 | 0.025791 | +1328% |
7.4.24 | 10.000 | 0.034767 | +1790% |
7.4.23 | 10.000 | 0.033161 | +1707% |
7.4.22 | 10.000 | 0.026647 | +1372% |
7.4.13 | 100.000 | 0.199254 | +1343% |
7.4.12 | 100.000 | 0.242365 | +1634% |
7.4.11 | 100.000 | 0.289257 | +1950% |
7.4.10 | 100.000 | 0.208199 | +1404% |
8.0.2 | 10.000 | 0.011014 | +567% |
7.4.0 | 100.000 | 0.226904 | +1530% |
8.0.30 | 10.000 | 0.006753 | +348% |
8.0.29 | 10.000 | 0.004610 | +237% |
8.0.28 | 10.000 | 0.005295 | +273% |
8.0.27 | 10.000 | 0.007205 | +371% |
8.0.26 | 10.000 | 0.006151 | +317% |
8.0.25 | 10.000 | 0.006360 | +327% |
8.0.24 | 10.000 | 0.006441 | +332% |
8.0.23 | 10.000 | 0.004533 | +233% |
8.0.9 | 10.000 | 0.007565 | +389% |
8.0.8 | 10.000 | 0.007528 | +388% |
8.0.7 | 10.000 | 0.007651 | +394% |
8.0.3 | 10.000 | 0.009787 | +504% |
7.4.28 | 10.000 | 0.027242 | +1402% |
7.4.27 | 10.000 | 0.027340 | +1407% |
7.4.16 | 10.000 | 0.034073 | +1754% |
7.4.15 | 10.000 | 0.046924 | +2416% |
7.4.13 | 10.000 | 0.025148 | +1295% |
7.4.12 | 10.000 | 0.028400 | +1462% |
7.4.11 | 10.000 | 0.037926 | +1952% |
7.4.10 | 10.000 | 0.026311 | +1354% |
7.4.7 | 10.000 | 0.035696 | +1838% |
7.4.7 | 100.000 | 0.286078 | +1929% |
7.4.6 | 10.000 | 0.025370 | +1306% |
7.4.6 | 100.000 | 0.191675 | +1292% |
7.4.5 | 10.000 | 0.025349 | +1305% |
7.4.5 | 100.000 | 0.191148 | +1289% |
7.4.4 | 10.000 | 0.025951 | +1336% |
7.4.4 | 100.000 | 0.189753 | +1279% |
7.4.3 | 10.000 | 0.033133 | +1706% |
7.4.3 | 100.000 | 0.260680 | +1757% |
7.4.1 | 100.000 | 0.188978 | +1274% |
7.4.2 | 10.000 | 0.036437 | +1876% |
7.4.2 | 100.000 | 0.275739 | +1859% |
7.4.1 | 10.000 | 0.027385 | +1410% |
7.4.0 | 10.000 | 0.024174 | +1244% |
7.3.33 | 10.000 | 0.023959 | +1233% |
7.3.31 | 10.000 | 0.026478 | +1363% |
7.3.30 | 10.000 | 0.027621 | +1422% |
7.3.29 | 10.000 | 0.025962 | +1337% |
7.3.28 | 10.000 | 0.035075 | +1806% |
7.3.27 | 10.000 | 0.043788 | +2254% |
7.3.24 | 10.000 | 0.033275 | +1713% |
7.3.23 | 10.000 | 0.025652 | +1321% |
7.3.22 | 10.000 | 0.026351 | +1357% |
7.3.19 | 10.000 | 0.034631 | +1783% |
7.3.18 | 10.000 | 0.034818 | +1792% |
7.3.17 | 10.000 | 0.027057 | +1393% |
7.3.16 | 10.000 | 0.029035 | +1495% |
7.3.15 | 10.000 | 0.034747 | +1789% |
7.3.14 | 10.000 | 0.037602 | +1936% |
7.3.13 | 10.000 | 0.037548 | +1933% |
7.3.12 | 10.000 | 0.032433 | +1670% |
7.3.11 | 10.000 | 0.024366 | +1254% |
7.3.9 | 10.000 | 0.024836 | +1279% |
7.3.8 | 10.000 | 0.024135 | +1243% |
7.2.34 | 10.000 | 0.027733 | +1428% |
7.2.33 | 10.000 | 0.033707 | +1735% |
7.2.31 | 10.000 | 0.034911 | +1797% |
7.2.30 | 10.000 | 0.032276 | +1662% |
7.2.29 | 10.000 | 0.035974 | +1852% |
7.2.28 | 10.000 | 0.027234 | +1402% |
7.2.27 | 10.000 | 0.029005 | +1493% |
7.2.26 | 10.000 | 0.027809 | +1432% |
7.2.25 | 10.000 | 0.029455 | +1516% |
7.2.24 | 10.000 | 0.023440 | +1207% |
7.2.22 | 10.000 | 0.026737 | +1376% |
7.2.21 | 10.000 | 0.023902 | +1230% |
7.1.33 | 10.000 | 0.028869 | +1486% |
7.1.32 | 10.000 | 0.026208 | +1349% |
7.1.31 | 10.000 | 0.025359 | +1305% |
7.1.0 | 10.000 | 0.162275 | +8354% |
7.0.33 | 10.000 | 0.028455 | +1465% |
7.0.7 | 10.000 | 0.157312 | +8098% |
5.6.40 | 10.000 | 0.023896 | +1230% |
5.6.22 | 10.000 | 0.161186 | +8298% |
5.5.36 | 10.000 | 0.169261 | +8714% |
5.4.45 | 10.000 | 0.160991 | +8288% |
5.3.29 | 10.000 | 0.186949 | +9624% |