Find a string into a text using strpos
<?php
$text = $this->getTextLarge();
$this->start($loop);
for ($i = 0; $i < $this->loop; ++$i) {
$value = (strpos($text, 'Lorem ipsum') !== false);
}
return $this->end();
PHP | Loops | Seconds | Percent |
---|---|---|---|
8.3.13 | 100.000 | 0.031890 | +161% |
8.3.10 | 100.000 | 0.030076 | +152% |
8.3.9 | 100.000 | 0.030341 | +153% |
7.3.33 | 100.000 | 0.025891 | +131% |
7.3.31 | 100.000 | 0.028142 | +142% |
7.3.30 | 100.000 | 0.028363 | +143% |
7.3.29 | 100.000 | 0.028361 | +143% |
7.3.28 | 100.000 | 0.029061 | +147% |
7.3.27 | 100.000 | 0.035157 | +178% |
7.3.24 | 100.000 | 0.024647 | +125% |
7.3.23 | 100.000 | 0.027192 | +137% |
7.3.22 | 100.000 | 0.027765 | +140% |
7.3.19 | 100.000 | 0.026937 | +136% |
7.3.18 | 100.000 | 0.025742 | +130% |
7.3.17 | 100.000 | 0.026917 | +136% |
7.3.16 | 100.000 | 0.030180 | +153% |
7.3.15 | 100.000 | 0.025065 | +127% |
7.3.14 | 100.000 | 0.030988 | +157% |
7.3.13 | 100.000 | 0.031471 | +159% |
7.3.12 | 100.000 | 0.027099 | +137% |
7.3.11 | 100.000 | 0.023750 | +120% |
7.3.9 | 100.000 | 0.024222 | +122% |
7.3.8 | 100.000 | 0.023978 | +121% |
7.2.29 | 100.000 | 0.028597 | +145% |
8.3.13 | 10.000 | 0.004021 | +204% |
7.2.34 | 100.000 | 0.027181 | +137% |
7.2.33 | 100.000 | 0.026519 | +134% |
7.2.31 | 100.000 | 0.026938 | +136% |
7.2.30 | 100.000 | 0.026471 | +134% |
8.3.10 | 10.000 | 0.004084 | +207% |
7.2.28 | 100.000 | 0.028843 | +146% |
7.2.27 | 100.000 | 0.030206 | +153% |
7.2.26 | 100.000 | 0.030132 | +152% |
7.2.25 | 100.000 | 0.025917 | +131% |
7.2.24 | 100.000 | 0.025330 | +128% |
7.2.22 | 100.000 | 0.024939 | +126% |
7.2.21 | 100.000 | 0.025563 | +129% |
7.1.33 | 100.000 | 0.028252 | +143% |
7.1.32 | 100.000 | 0.027286 | +138% |
7.1.31 | 100.000 | 0.026087 | +132% |
7.1.0 | 100.000 | 0.157264 | +795% |
7.0.33 | 100.000 | 0.028135 | +142% |
7.0.7 | 100.000 | 0.150895 | +762% |
5.6.40 | 100.000 | 0.028396 | +143% |
5.6.22 | 100.000 | 0.122974 | +621% |
5.5.36 | 100.000 | 0.138802 | +701% |
5.4.45 | 100.000 | 0.136029 | +687% |
5.3.29 | 100.000 | 0.279998 | +1415% |
8.3.9 | 10.000 | 0.003352 | +170% |
8.0.30 | 100.000 | 0.026801 | +135% |
8.0.29 | 100.000 | 0.019790 | 100% |
8.0.28 | 100.000 | 0.022211 | +112% |
8.0.27 | 100.000 | 0.027009 | +136% |
8.0.26 | 100.000 | 0.026227 | +133% |
8.0.25 | 100.000 | 0.026026 | +132% |
8.0.24 | 100.000 | 0.023841 | +120% |
8.0.23 | 100.000 | 0.027598 | +139% |
8.0.20 | 10.000 | 0.002570 | +130% |
8.0.20 | 100.000 | 0.023085 | +117% |
8.0.19 | 10.000 | 0.003684 | +187% |
8.0.19 | 100.000 | 0.029509 | +149% |
8.0.17 | 10.000 | 0.003728 | +189% |
8.0.17 | 100.000 | 0.028025 | +142% |
8.0.16 | 10.000 | 0.003706 | +188% |
8.0.16 | 100.000 | 0.028174 | +142% |
8.0.14 | 10.000 | 0.003724 | +189% |
8.0.14 | 100.000 | 0.027765 | +140% |
8.0.11 | 100.000 | 0.027558 | +139% |
8.0.10 | 100.000 | 0.027430 | +139% |
8.0.9 | 100.000 | 0.026859 | +136% |
8.0.8 | 100.000 | 0.028366 | +143% |
8.0.7 | 100.000 | 0.030470 | +154% |
8.0.3 | 100.000 | 0.033145 | +167% |
8.0.2 | 100.000 | 0.038676 | +195% |
8.0.0 | 100.000 | 0.026481 | +134% |
7.4.33 | 100.000 | 0.025327 | +128% |
7.4.32 | 100.000 | 0.025043 | +127% |
7.4.30 | 100.000 | 0.023072 | +117% |
7.4.28 | 100.000 | 0.026687 | +135% |
7.4.27 | 100.000 | 0.028682 | +145% |
7.4.24 | 100.000 | 0.024749 | +125% |
7.4.23 | 100.000 | 0.026005 | +131% |
7.4.22 | 100.000 | 0.026384 | +133% |
8.0.11 | 10.000 | 0.003705 | +188% |
8.0.10 | 10.000 | 0.003539 | +180% |
8.0.0 | 10.000 | 0.003478 | +176% |
7.4.29 | 100.000 | 0.027466 | +139% |
7.4.21 | 10.000 | 0.003495 | +177% |
7.4.21 | 100.000 | 0.031005 | +157% |
7.4.20 | 10.000 | 0.003631 | +184% |
7.4.20 | 100.000 | 0.028680 | +145% |
7.4.16 | 100.000 | 0.033914 | +171% |
7.4.15 | 100.000 | 0.038325 | +194% |
7.4.33 | 10.000 | 0.002942 | +149% |
7.4.32 | 10.000 | 0.002912 | +148% |
7.4.30 | 10.000 | 0.002556 | +130% |
7.4.29 | 10.000 | 0.003350 | +170% |
7.4.24 | 10.000 | 0.003385 | +172% |
7.4.23 | 10.000 | 0.003193 | +162% |
7.4.22 | 10.000 | 0.003491 | +177% |
7.4.13 | 100.000 | 0.026857 | +136% |
7.4.12 | 100.000 | 0.026406 | +133% |
7.4.11 | 100.000 | 0.030419 | +154% |
7.4.10 | 100.000 | 0.026194 | +132% |
8.0.2 | 10.000 | 0.004847 | +246% |
7.4.0 | 100.000 | 0.024785 | +125% |
8.0.30 | 10.000 | 0.003236 | +164% |
8.0.29 | 10.000 | 0.001971 | 100% |
8.0.28 | 10.000 | 0.002448 | +124% |
8.0.27 | 10.000 | 0.002783 | +141% |
8.0.26 | 10.000 | 0.003092 | +157% |
8.0.25 | 10.000 | 0.002804 | +142% |
8.0.24 | 10.000 | 0.002656 | +135% |
8.0.23 | 10.000 | 0.003300 | +167% |
8.0.9 | 10.000 | 0.003711 | +188% |
8.0.8 | 10.000 | 0.003490 | +177% |
8.0.7 | 10.000 | 0.004154 | +211% |
8.0.3 | 10.000 | 0.004321 | +219% |
7.4.28 | 10.000 | 0.003343 | +170% |
7.4.27 | 10.000 | 0.003616 | +183% |
7.4.16 | 10.000 | 0.004619 | +234% |
7.4.15 | 10.000 | 0.005488 | +278% |
7.4.13 | 10.000 | 0.003578 | +182% |
7.4.12 | 10.000 | 0.003441 | +175% |
7.4.11 | 10.000 | 0.003313 | +168% |
7.4.10 | 10.000 | 0.003820 | +194% |
7.4.7 | 10.000 | 0.003656 | +185% |
7.4.7 | 100.000 | 0.026730 | +135% |
7.4.6 | 10.000 | 0.003084 | +156% |
7.4.6 | 100.000 | 0.027685 | +140% |
7.4.5 | 10.000 | 0.002961 | +150% |
7.4.5 | 100.000 | 0.026748 | +135% |
7.4.4 | 10.000 | 0.003113 | +158% |
7.4.4 | 100.000 | 0.024874 | +126% |
7.4.3 | 10.000 | 0.003361 | +171% |
7.4.3 | 100.000 | 0.026453 | +134% |
7.4.1 | 100.000 | 0.029796 | +151% |
7.4.2 | 10.000 | 0.004792 | +243% |
7.4.2 | 100.000 | 0.030024 | +152% |
7.4.1 | 10.000 | 0.003975 | +202% |
7.4.0 | 10.000 | 0.002760 | +140% |
7.3.33 | 10.000 | 0.003206 | +163% |
7.3.31 | 10.000 | 0.003763 | +191% |
7.3.30 | 10.000 | 0.003335 | +169% |
7.3.29 | 10.000 | 0.003365 | +171% |
7.3.28 | 10.000 | 0.003543 | +180% |
7.3.27 | 10.000 | 0.004663 | +237% |
7.3.24 | 10.000 | 0.003141 | +159% |
7.3.23 | 10.000 | 0.003564 | +181% |
7.3.22 | 10.000 | 0.003262 | +165% |
7.3.19 | 10.000 | 0.003640 | +185% |
7.3.18 | 10.000 | 0.003722 | +189% |
7.3.17 | 10.000 | 0.003899 | +198% |
7.3.16 | 10.000 | 0.003341 | +169% |
7.3.15 | 10.000 | 0.003047 | +155% |
7.3.14 | 10.000 | 0.004693 | +238% |
7.3.13 | 10.000 | 0.004002 | +203% |
7.3.12 | 10.000 | 0.003790 | +192% |
7.3.11 | 10.000 | 0.002756 | +140% |
7.3.9 | 10.000 | 0.002692 | +137% |
7.3.8 | 10.000 | 0.002641 | +134% |
7.2.34 | 10.000 | 0.003312 | +168% |
7.2.33 | 10.000 | 0.003388 | +172% |
7.2.31 | 10.000 | 0.003841 | +195% |
7.2.30 | 10.000 | 0.003860 | +196% |
7.2.29 | 10.000 | 0.003552 | +180% |
7.2.28 | 10.000 | 0.004101 | +208% |
7.2.27 | 10.000 | 0.004825 | +245% |
7.2.26 | 10.000 | 0.004352 | +221% |
7.2.25 | 10.000 | 0.004061 | +206% |
7.2.24 | 10.000 | 0.003195 | +162% |
7.2.22 | 10.000 | 0.002709 | +137% |
7.2.21 | 10.000 | 0.002604 | +132% |
7.1.33 | 10.000 | 0.003618 | +184% |
7.1.32 | 10.000 | 0.002899 | +147% |
7.1.31 | 10.000 | 0.002750 | +140% |
7.1.0 | 10.000 | 0.016138 | +819% |
7.0.33 | 10.000 | 0.003488 | +177% |
7.0.7 | 10.000 | 0.015491 | +786% |
5.6.40 | 10.000 | 0.003579 | +182% |
5.6.22 | 10.000 | 0.012749 | +647% |
5.5.36 | 10.000 | 0.014374 | +729% |
5.4.45 | 10.000 | 0.014255 | +723% |
5.3.29 | 10.000 | 0.031683 | +1607% |