3v4l.org

run code in 300+ PHP versions simultaneously
<?php function starts_with_strpos($haystack, $needle) { return strpos($haystack, $needle) === 0; } function starts_with_substr($haystack, $needle) { return substr($haystack, 0, strlen($needle)) === $needle; } // setup the haystack and needle $haystack = "Hello PHP"; $needle = "Hello"; // initialize the results array $results = array('substr' => array(), 'strpos' => array(), 'strpos_without_function' => array()); // exhaust the gc's threshhold at 10K $it = 10000; // Run the substr benchmark for($i = 0; $i < $it; $i++) { $t = microtime(true); starts_with_substr($haystack, $needle); $results['substr'][] = microtime(true) - $t; } // discard the first and last results as opline biased array_pop($results['substr']); array_shift($results['substr']); // Run the strpos benchmark for($i = 0; $i < $it; $i++) { $t = microtime(true); starts_with_strpos($haystack, $needle); $results['strpos'][] = microtime(true) - $t; } // discard the first and last results as opline biased array_pop($results['strpos']); array_shift($results['strpos']); // Run the strpos without a wrapper function benchmark for($i = 0; $i < $it; $i++) { $t = microtime(true); strpos($haystack, $needle) === 0; $results['strpos_without_function'][] = microtime(true) - $t; } // discard the first and last results as opline biased array_pop($results['strpos_without_function']); array_shift($results['strpos_without_function']); // compare the results $a = array_sum($results['substr']) / $it; $b = array_sum($results['strpos']) / $it; $c = array_sum($results['strpos_without_function']) / $it; printf("substr: %.9fs/iteration @ %d iterations\nstrpos: %.9fs/iteration @ %d iterations\nstrpos (without wrapper): %.9fs/iteration @ %d iterations\n\n", $a, $it, $b, $it, $c, $it); // determine which is faster (substr or strpos) if ($a > $b) { // substr is slower printf("strpos is %d%% faster than substr\n", $b / $a * 100); } elseif ($b > $a) { // strpos is slower printf("substr is %d%% faster than strpos\n", $a / $b * 100); } else { // they're the same printf("strpos and substr are the same\n"); } // determine which is faster (strpos with a wrapper or without) if ($b > $c) { // strpos wrapper is slower printf("strpos without a wrapper function is %d%% faster than strpos with a wrapper function\n", $c / $b * 100); } elseif ($c > $b) { // strpos wrapper is faster printf("strpos with a wrapper function is %d%% faster than strpos without a wrapper fucntion\n", $b / $c * 100); } else { // they're the same printf("strpos and substr are the same\n"); }
Output for 7.4.0
substr: 0.000000246s/iteration @ 10000 iterations strpos: 0.000000223s/iteration @ 10000 iterations strpos (without wrapper): 0.000000196s/iteration @ 10000 iterations strpos is 90% faster than substr strpos without a wrapper function is 87% faster than strpos with a wrapper function
Output for 7.3.12
substr: 0.000000251s/iteration @ 10000 iterations strpos: 0.000000323s/iteration @ 10000 iterations strpos (without wrapper): 0.000000276s/iteration @ 10000 iterations substr is 77% faster than strpos strpos without a wrapper function is 85% faster than strpos with a wrapper function
Output for 7.3.11
substr: 0.000000308s/iteration @ 10000 iterations strpos: 0.000000285s/iteration @ 10000 iterations strpos (without wrapper): 0.000000246s/iteration @ 10000 iterations strpos is 92% faster than substr strpos without a wrapper function is 86% faster than strpos with a wrapper function
Output for 7.3.10
substr: 0.000000320s/iteration @ 10000 iterations strpos: 0.000000283s/iteration @ 10000 iterations strpos (without wrapper): 0.000000183s/iteration @ 10000 iterations strpos is 88% faster than substr strpos without a wrapper function is 64% faster than strpos with a wrapper function
Output for 7.3.9
substr: 0.000000373s/iteration @ 10000 iterations strpos: 0.000000210s/iteration @ 10000 iterations strpos (without wrapper): 0.000000181s/iteration @ 10000 iterations strpos is 56% faster than substr strpos without a wrapper function is 86% faster than strpos with a wrapper function
Output for 7.3.8
substr: 0.000000222s/iteration @ 10000 iterations strpos: 0.000000207s/iteration @ 10000 iterations strpos (without wrapper): 0.000000187s/iteration @ 10000 iterations strpos is 93% faster than substr strpos without a wrapper function is 90% faster than strpos with a wrapper function
Output for 7.3.7
substr: 0.000000274s/iteration @ 10000 iterations strpos: 0.000000267s/iteration @ 10000 iterations strpos (without wrapper): 0.000000224s/iteration @ 10000 iterations strpos is 97% faster than substr strpos without a wrapper function is 83% faster than strpos with a wrapper function
Output for 7.3.6
substr: 0.000000217s/iteration @ 10000 iterations strpos: 0.000000194s/iteration @ 10000 iterations strpos (without wrapper): 0.000000170s/iteration @ 10000 iterations strpos is 89% faster than substr strpos without a wrapper function is 87% faster than strpos with a wrapper function
Output for 7.3.5
substr: 0.000000356s/iteration @ 10000 iterations strpos: 0.000000201s/iteration @ 10000 iterations strpos (without wrapper): 0.000000178s/iteration @ 10000 iterations strpos is 56% faster than substr strpos without a wrapper function is 88% faster than strpos with a wrapper function
Output for 7.3.4
substr: 0.000000226s/iteration @ 10000 iterations strpos: 0.000000201s/iteration @ 10000 iterations strpos (without wrapper): 0.000000176s/iteration @ 10000 iterations strpos is 89% faster than substr strpos without a wrapper function is 87% faster than strpos with a wrapper function
Output for 7.3.3
substr: 0.000000221s/iteration @ 10000 iterations strpos: 0.000000207s/iteration @ 10000 iterations strpos (without wrapper): 0.000000170s/iteration @ 10000 iterations strpos is 93% faster than substr strpos without a wrapper function is 82% faster than strpos with a wrapper function
Output for 7.3.2
substr: 0.000000294s/iteration @ 10000 iterations strpos: 0.000000214s/iteration @ 10000 iterations strpos (without wrapper): 0.000000181s/iteration @ 10000 iterations strpos is 72% faster than substr strpos without a wrapper function is 84% faster than strpos with a wrapper function
Output for 7.3.1
substr: 0.000000226s/iteration @ 10000 iterations strpos: 0.000000202s/iteration @ 10000 iterations strpos (without wrapper): 0.000000178s/iteration @ 10000 iterations strpos is 89% faster than substr strpos without a wrapper function is 88% faster than strpos with a wrapper function
Output for 7.3.0
substr: 0.000000247s/iteration @ 10000 iterations strpos: 0.000000228s/iteration @ 10000 iterations strpos (without wrapper): 0.000000198s/iteration @ 10000 iterations strpos is 92% faster than substr strpos without a wrapper function is 86% faster than strpos with a wrapper function
Output for 7.2.25
substr: 0.000000275s/iteration @ 10000 iterations strpos: 0.000000233s/iteration @ 10000 iterations strpos (without wrapper): 0.000000190s/iteration @ 10000 iterations strpos is 84% faster than substr strpos without a wrapper function is 81% faster than strpos with a wrapper function
Output for 7.2.24
substr: 0.000000346s/iteration @ 10000 iterations strpos: 0.000000311s/iteration @ 10000 iterations strpos (without wrapper): 0.000000252s/iteration @ 10000 iterations strpos is 89% faster than substr strpos without a wrapper function is 80% faster than strpos with a wrapper function
Output for 7.2.23
substr: 0.000000292s/iteration @ 10000 iterations strpos: 0.000000245s/iteration @ 10000 iterations strpos (without wrapper): 0.000000188s/iteration @ 10000 iterations strpos is 84% faster than substr strpos without a wrapper function is 76% faster than strpos with a wrapper function
Output for 7.2.22
substr: 0.000000254s/iteration @ 10000 iterations strpos: 0.000000220s/iteration @ 10000 iterations strpos (without wrapper): 0.000000190s/iteration @ 10000 iterations strpos is 86% faster than substr strpos without a wrapper function is 86% faster than strpos with a wrapper function
Output for 7.2.21
substr: 0.000000273s/iteration @ 10000 iterations strpos: 0.000000223s/iteration @ 10000 iterations strpos (without wrapper): 0.000000189s/iteration @ 10000 iterations strpos is 81% faster than substr strpos without a wrapper function is 84% faster than strpos with a wrapper function
Output for 7.2.20
substr: 0.000000411s/iteration @ 10000 iterations strpos: 0.000000218s/iteration @ 10000 iterations strpos (without wrapper): 0.000000184s/iteration @ 10000 iterations strpos is 53% faster than substr strpos without a wrapper function is 84% faster than strpos with a wrapper function
Output for 7.2.19
substr: 0.000000248s/iteration @ 10000 iterations strpos: 0.000000232s/iteration @ 10000 iterations strpos (without wrapper): 0.000000196s/iteration @ 10000 iterations strpos is 93% faster than substr strpos without a wrapper function is 84% faster than strpos with a wrapper function
Output for 7.2.18
substr: 0.000000273s/iteration @ 10000 iterations strpos: 0.000000214s/iteration @ 10000 iterations strpos (without wrapper): 0.000000193s/iteration @ 10000 iterations strpos is 78% faster than substr strpos without a wrapper function is 90% faster than strpos with a wrapper function
Output for 7.2.17
substr: 0.000000415s/iteration @ 10000 iterations strpos: 0.000000235s/iteration @ 10000 iterations strpos (without wrapper): 0.000000200s/iteration @ 10000 iterations strpos is 56% faster than substr strpos without a wrapper function is 85% faster than strpos with a wrapper function
Output for 7.2.0
substr: 0.000000146s/iteration @ 10000 iterations strpos: 0.000000136s/iteration @ 10000 iterations strpos (without wrapper): 0.000000106s/iteration @ 10000 iterations strpos is 93% faster than substr strpos without a wrapper function is 77% faster than strpos with a wrapper function
Output for 7.1.33
substr: 0.000000408s/iteration @ 10000 iterations strpos: 0.000000289s/iteration @ 10000 iterations strpos (without wrapper): 0.000000254s/iteration @ 10000 iterations strpos is 70% faster than substr strpos without a wrapper function is 88% faster than strpos with a wrapper function
Output for 7.1.32
substr: 0.000000512s/iteration @ 10000 iterations strpos: 0.000000319s/iteration @ 10000 iterations strpos (without wrapper): 0.000000281s/iteration @ 10000 iterations strpos is 62% faster than substr strpos without a wrapper function is 88% faster than strpos with a wrapper function
Output for 7.1.31
substr: 0.000000478s/iteration @ 10000 iterations strpos: 0.000000298s/iteration @ 10000 iterations strpos (without wrapper): 0.000000238s/iteration @ 10000 iterations strpos is 62% faster than substr strpos without a wrapper function is 79% faster than strpos with a wrapper function
Output for 7.1.30
substr: 0.000000365s/iteration @ 10000 iterations strpos: 0.000000311s/iteration @ 10000 iterations strpos (without wrapper): 0.000000257s/iteration @ 10000 iterations strpos is 85% faster than substr strpos without a wrapper function is 82% faster than strpos with a wrapper function
Output for 7.1.29
substr: 0.000000405s/iteration @ 10000 iterations strpos: 0.000000321s/iteration @ 10000 iterations strpos (without wrapper): 0.000000250s/iteration @ 10000 iterations strpos is 79% faster than substr strpos without a wrapper function is 77% faster than strpos with a wrapper function
Output for 7.1.28
substr: 0.000000485s/iteration @ 10000 iterations strpos: 0.000000328s/iteration @ 10000 iterations strpos (without wrapper): 0.000000273s/iteration @ 10000 iterations strpos is 67% faster than substr strpos without a wrapper function is 83% faster than strpos with a wrapper function
Output for 7.1.27
substr: 0.000000332s/iteration @ 10000 iterations strpos: 0.000000292s/iteration @ 10000 iterations strpos (without wrapper): 0.000000254s/iteration @ 10000 iterations strpos is 87% faster than substr strpos without a wrapper function is 87% faster than strpos with a wrapper function
Output for 7.1.26
substr: 0.000000398s/iteration @ 10000 iterations strpos: 0.000000358s/iteration @ 10000 iterations strpos (without wrapper): 0.000000307s/iteration @ 10000 iterations strpos is 89% faster than substr strpos without a wrapper function is 85% faster than strpos with a wrapper function
Output for 7.1.7
substr: 0.000000135s/iteration @ 10000 iterations strpos: 0.000000115s/iteration @ 10000 iterations strpos (without wrapper): 0.000000100s/iteration @ 10000 iterations strpos is 85% faster than substr strpos without a wrapper function is 86% faster than strpos with a wrapper function
Output for 7.1.6
substr: 0.000000279s/iteration @ 10000 iterations strpos: 0.000000237s/iteration @ 10000 iterations strpos (without wrapper): 0.000000192s/iteration @ 10000 iterations strpos is 84% faster than substr strpos without a wrapper function is 81% faster than strpos with a wrapper function
Output for 7.1.5
substr: 0.000000329s/iteration @ 10000 iterations strpos: 0.000000258s/iteration @ 10000 iterations strpos (without wrapper): 0.000000218s/iteration @ 10000 iterations strpos is 78% faster than substr strpos without a wrapper function is 84% faster than strpos with a wrapper function
Output for 7.1.0
substr: 0.000000245s/iteration @ 10000 iterations strpos: 0.000000263s/iteration @ 10000 iterations strpos (without wrapper): 0.000000191s/iteration @ 10000 iterations substr is 93% faster than strpos strpos without a wrapper function is 72% faster than strpos with a wrapper function
Output for 7.0.20
substr: 0.000000130s/iteration @ 10000 iterations strpos: 0.000000120s/iteration @ 10000 iterations strpos (without wrapper): 0.000000118s/iteration @ 10000 iterations strpos is 92% faster than substr strpos without a wrapper function is 98% faster than strpos with a wrapper function
Output for 7.0.14
substr: 0.000000288s/iteration @ 10000 iterations strpos: 0.000000271s/iteration @ 10000 iterations strpos (without wrapper): 0.000000202s/iteration @ 10000 iterations strpos is 93% faster than substr strpos without a wrapper function is 74% faster than strpos with a wrapper function
Output for 7.0.6
substr: 0.000000132s/iteration @ 10000 iterations strpos: 0.000000116s/iteration @ 10000 iterations strpos (without wrapper): 0.000000098s/iteration @ 10000 iterations strpos is 88% faster than substr strpos without a wrapper function is 84% faster than strpos with a wrapper function
Output for 7.0.5
substr: 0.000000129s/iteration @ 10000 iterations strpos: 0.000000112s/iteration @ 10000 iterations strpos (without wrapper): 0.000000093s/iteration @ 10000 iterations strpos is 87% faster than substr strpos without a wrapper function is 82% faster than strpos with a wrapper function
Output for 7.0.4
substr: 0.000000174s/iteration @ 10000 iterations strpos: 0.000000150s/iteration @ 10000 iterations strpos (without wrapper): 0.000000127s/iteration @ 10000 iterations strpos is 86% faster than substr strpos without a wrapper function is 84% faster than strpos with a wrapper function
Output for 7.0.3
substr: 0.000000178s/iteration @ 10000 iterations strpos: 0.000000158s/iteration @ 10000 iterations strpos (without wrapper): 0.000000129s/iteration @ 10000 iterations strpos is 88% faster than substr strpos without a wrapper function is 81% faster than strpos with a wrapper function
Output for 7.0.2
substr: 0.000000215s/iteration @ 10000 iterations strpos: 0.000000157s/iteration @ 10000 iterations strpos (without wrapper): 0.000000121s/iteration @ 10000 iterations strpos is 72% faster than substr strpos without a wrapper function is 76% faster than strpos with a wrapper function
Output for 7.0.1
substr: 0.000000202s/iteration @ 10000 iterations strpos: 0.000000169s/iteration @ 10000 iterations strpos (without wrapper): 0.000000144s/iteration @ 10000 iterations strpos is 83% faster than substr strpos without a wrapper function is 85% faster than strpos with a wrapper function
Output for 7.0.0
substr: 0.000000201s/iteration @ 10000 iterations strpos: 0.000000145s/iteration @ 10000 iterations strpos (without wrapper): 0.000000111s/iteration @ 10000 iterations strpos is 72% faster than substr strpos without a wrapper function is 76% faster than strpos with a wrapper function
Output for 5.6.28
substr: 0.000000733s/iteration @ 10000 iterations strpos: 0.000000527s/iteration @ 10000 iterations strpos (without wrapper): 0.000000368s/iteration @ 10000 iterations strpos is 71% faster than substr strpos without a wrapper function is 69% faster than strpos with a wrapper function
Output for 5.6.21
substr: 0.000000477s/iteration @ 10000 iterations strpos: 0.000000325s/iteration @ 10000 iterations strpos (without wrapper): 0.000000225s/iteration @ 10000 iterations strpos is 68% faster than substr strpos without a wrapper function is 69% faster than strpos with a wrapper function
Output for 5.6.20
substr: 0.000000459s/iteration @ 10000 iterations strpos: 0.000000311s/iteration @ 10000 iterations strpos (without wrapper): 0.000000221s/iteration @ 10000 iterations strpos is 67% faster than substr strpos without a wrapper function is 71% faster than strpos with a wrapper function
Output for 5.6.19
substr: 0.000000381s/iteration @ 10000 iterations strpos: 0.000000262s/iteration @ 10000 iterations strpos (without wrapper): 0.000000191s/iteration @ 10000 iterations strpos is 68% faster than substr strpos without a wrapper function is 72% faster than strpos with a wrapper function
Output for 5.6.18
substr: 0.000000379s/iteration @ 10000 iterations strpos: 0.000000258s/iteration @ 10000 iterations strpos (without wrapper): 0.000000187s/iteration @ 10000 iterations strpos is 68% faster than substr strpos without a wrapper function is 72% faster than strpos with a wrapper function
Output for 5.6.17
substr: 0.000000378s/iteration @ 10000 iterations strpos: 0.000000275s/iteration @ 10000 iterations strpos (without wrapper): 0.000000189s/iteration @ 10000 iterations strpos is 72% faster than substr strpos without a wrapper function is 68% faster than strpos with a wrapper function
Output for 5.6.16
substr: 0.000000374s/iteration @ 10000 iterations strpos: 0.000000265s/iteration @ 10000 iterations strpos (without wrapper): 0.000000190s/iteration @ 10000 iterations strpos is 70% faster than substr strpos without a wrapper function is 71% faster than strpos with a wrapper function
Output for 5.6.15
substr: 0.000000365s/iteration @ 10000 iterations strpos: 0.000000260s/iteration @ 10000 iterations strpos (without wrapper): 0.000000180s/iteration @ 10000 iterations strpos is 71% faster than substr strpos without a wrapper function is 69% faster than strpos with a wrapper function
Output for 5.6.14
substr: 0.000000607s/iteration @ 10000 iterations strpos: 0.000000407s/iteration @ 10000 iterations strpos (without wrapper): 0.000000287s/iteration @ 10000 iterations strpos is 67% faster than substr strpos without a wrapper function is 70% faster than strpos with a wrapper function
Output for 5.6.13
substr: 0.000000614s/iteration @ 10000 iterations strpos: 0.000000413s/iteration @ 10000 iterations strpos (without wrapper): 0.000000285s/iteration @ 10000 iterations strpos is 67% faster than substr strpos without a wrapper function is 68% faster than strpos with a wrapper function
Output for 5.6.12
substr: 0.000000569s/iteration @ 10000 iterations strpos: 0.000000373s/iteration @ 10000 iterations strpos (without wrapper): 0.000000270s/iteration @ 10000 iterations strpos is 65% faster than substr strpos without a wrapper function is 72% faster than strpos with a wrapper function
Output for 5.6.11
substr: 0.000000580s/iteration @ 10000 iterations strpos: 0.000000368s/iteration @ 10000 iterations strpos (without wrapper): 0.000000254s/iteration @ 10000 iterations strpos is 63% faster than substr strpos without a wrapper function is 68% faster than strpos with a wrapper function
Output for 5.6.10
substr: 0.000000375s/iteration @ 10000 iterations strpos: 0.000000263s/iteration @ 10000 iterations strpos (without wrapper): 0.000000188s/iteration @ 10000 iterations strpos is 70% faster than substr strpos without a wrapper function is 71% faster than strpos with a wrapper function
Output for 5.6.9
substr: 0.000000588s/iteration @ 10000 iterations strpos: 0.000000395s/iteration @ 10000 iterations strpos (without wrapper): 0.000000276s/iteration @ 10000 iterations strpos is 67% faster than substr strpos without a wrapper function is 69% faster than strpos with a wrapper function
Output for 5.6.8
substr: 0.000000362s/iteration @ 10000 iterations strpos: 0.000000257s/iteration @ 10000 iterations strpos (without wrapper): 0.000000179s/iteration @ 10000 iterations strpos is 70% faster than substr strpos without a wrapper function is 69% faster than strpos with a wrapper function
Output for 5.5.35
substr: 0.000000419s/iteration @ 10000 iterations strpos: 0.000000295s/iteration @ 10000 iterations strpos (without wrapper): 0.000000218s/iteration @ 10000 iterations strpos is 70% faster than substr strpos without a wrapper function is 73% faster than strpos with a wrapper function
Output for 5.5.34
substr: 0.000000593s/iteration @ 10000 iterations strpos: 0.000000412s/iteration @ 10000 iterations strpos (without wrapper): 0.000000277s/iteration @ 10000 iterations strpos is 69% faster than substr strpos without a wrapper function is 67% faster than strpos with a wrapper function
Output for 5.5.33
substr: 0.000000537s/iteration @ 10000 iterations strpos: 0.000000356s/iteration @ 10000 iterations strpos (without wrapper): 0.000000261s/iteration @ 10000 iterations strpos is 66% faster than substr strpos without a wrapper function is 73% faster than strpos with a wrapper function
Output for 5.5.32
substr: 0.000000557s/iteration @ 10000 iterations strpos: 0.000000362s/iteration @ 10000 iterations strpos (without wrapper): 0.000000255s/iteration @ 10000 iterations strpos is 64% faster than substr strpos without a wrapper function is 70% faster than strpos with a wrapper function
Output for 5.5.31
substr: 0.000000551s/iteration @ 10000 iterations strpos: 0.000000366s/iteration @ 10000 iterations strpos (without wrapper): 0.000000260s/iteration @ 10000 iterations strpos is 66% faster than substr strpos without a wrapper function is 71% faster than strpos with a wrapper function
Output for 5.5.30
substr: 0.000000400s/iteration @ 10000 iterations strpos: 0.000000281s/iteration @ 10000 iterations strpos (without wrapper): 0.000000203s/iteration @ 10000 iterations strpos is 70% faster than substr strpos without a wrapper function is 72% faster than strpos with a wrapper function
Output for 5.5.29
substr: 0.000000469s/iteration @ 10000 iterations strpos: 0.000000326s/iteration @ 10000 iterations strpos (without wrapper): 0.000000230s/iteration @ 10000 iterations strpos is 69% faster than substr strpos without a wrapper function is 70% faster than strpos with a wrapper function
Output for 5.5.28
substr: 0.000000515s/iteration @ 10000 iterations strpos: 0.000000357s/iteration @ 10000 iterations strpos (without wrapper): 0.000000199s/iteration @ 10000 iterations strpos is 69% faster than substr strpos without a wrapper function is 55% faster than strpos with a wrapper function
Output for 5.5.27
substr: 0.000000628s/iteration @ 10000 iterations strpos: 0.000000407s/iteration @ 10000 iterations strpos (without wrapper): 0.000000289s/iteration @ 10000 iterations strpos is 64% faster than substr strpos without a wrapper function is 70% faster than strpos with a wrapper function
Output for 5.5.26
substr: 0.000000641s/iteration @ 10000 iterations strpos: 0.000000428s/iteration @ 10000 iterations strpos (without wrapper): 0.000000300s/iteration @ 10000 iterations strpos is 66% faster than substr strpos without a wrapper function is 70% faster than strpos with a wrapper function
Output for 5.5.25
substr: 0.000000402s/iteration @ 10000 iterations strpos: 0.000000279s/iteration @ 10000 iterations strpos (without wrapper): 0.000000205s/iteration @ 10000 iterations strpos is 69% faster than substr strpos without a wrapper function is 73% faster than strpos with a wrapper function
Output for 5.5.24
substr: 0.000000521s/iteration @ 10000 iterations strpos: 0.000000343s/iteration @ 10000 iterations strpos (without wrapper): 0.000000253s/iteration @ 10000 iterations strpos is 65% faster than substr strpos without a wrapper function is 73% faster than strpos with a wrapper function
Output for 5.4.45
substr: 0.000000579s/iteration @ 10000 iterations strpos: 0.000000385s/iteration @ 10000 iterations strpos (without wrapper): 0.000000281s/iteration @ 10000 iterations strpos is 66% faster than substr strpos without a wrapper function is 72% faster than strpos with a wrapper function
Output for 5.4.44
substr: 0.000000627s/iteration @ 10000 iterations strpos: 0.000000439s/iteration @ 10000 iterations strpos (without wrapper): 0.000001306s/iteration @ 10000 iterations strpos is 69% faster than substr strpos with a wrapper function is 33% faster than strpos without a wrapper fucntion
Output for 5.4.43
substr: 0.000000591s/iteration @ 10000 iterations strpos: 0.000000395s/iteration @ 10000 iterations strpos (without wrapper): 0.000000270s/iteration @ 10000 iterations strpos is 66% faster than substr strpos without a wrapper function is 68% faster than strpos with a wrapper function
Output for 5.4.42
substr: 0.000001133s/iteration @ 10000 iterations strpos: 0.000000479s/iteration @ 10000 iterations strpos (without wrapper): 0.000000551s/iteration @ 10000 iterations strpos is 42% faster than substr strpos with a wrapper function is 86% faster than strpos without a wrapper fucntion
Output for 5.4.41
substr: 0.000000328s/iteration @ 10000 iterations strpos: 0.000000347s/iteration @ 10000 iterations strpos (without wrapper): 0.000000321s/iteration @ 10000 iterations substr is 94% faster than strpos strpos without a wrapper function is 92% faster than strpos with a wrapper function
Output for 5.4.40
substr: 0.000000606s/iteration @ 10000 iterations strpos: 0.000000466s/iteration @ 10000 iterations strpos (without wrapper): 0.000000283s/iteration @ 10000 iterations strpos is 76% faster than substr strpos without a wrapper function is 60% faster than strpos with a wrapper function
Output for 5.4.39
substr: 0.000000573s/iteration @ 10000 iterations strpos: 0.000000374s/iteration @ 10000 iterations strpos (without wrapper): 0.000000352s/iteration @ 10000 iterations strpos is 65% faster than substr strpos without a wrapper function is 93% faster than strpos with a wrapper function
Output for 5.4.38
substr: 0.000000956s/iteration @ 10000 iterations strpos: 0.000000478s/iteration @ 10000 iterations strpos (without wrapper): 0.000000366s/iteration @ 10000 iterations strpos is 50% faster than substr strpos without a wrapper function is 76% faster than strpos with a wrapper function
Output for 5.4.37
substr: 0.000000782s/iteration @ 10000 iterations strpos: 0.000000473s/iteration @ 10000 iterations strpos (without wrapper): 0.000000349s/iteration @ 10000 iterations strpos is 60% faster than substr strpos without a wrapper function is 73% faster than strpos with a wrapper function
Output for 5.4.36
substr: 0.000000842s/iteration @ 10000 iterations strpos: 0.000000559s/iteration @ 10000 iterations strpos (without wrapper): 0.000000377s/iteration @ 10000 iterations strpos is 66% faster than substr strpos without a wrapper function is 67% faster than strpos with a wrapper function
Output for 5.4.35
substr: 0.000000801s/iteration @ 10000 iterations strpos: 0.000000609s/iteration @ 10000 iterations strpos (without wrapper): 0.000000539s/iteration @ 10000 iterations strpos is 76% faster than substr strpos without a wrapper function is 88% faster than strpos with a wrapper function
Output for 5.4.34
substr: 0.000000736s/iteration @ 10000 iterations strpos: 0.000000482s/iteration @ 10000 iterations strpos (without wrapper): 0.000000360s/iteration @ 10000 iterations strpos is 65% faster than substr strpos without a wrapper function is 74% faster than strpos with a wrapper function
Output for 5.4.32
substr: 0.000000663s/iteration @ 10000 iterations strpos: 0.000000466s/iteration @ 10000 iterations strpos (without wrapper): 0.000000340s/iteration @ 10000 iterations strpos is 70% faster than substr strpos without a wrapper function is 72% faster than strpos with a wrapper function
Output for 5.4.31
substr: 0.000000670s/iteration @ 10000 iterations strpos: 0.000000451s/iteration @ 10000 iterations strpos (without wrapper): 0.000000317s/iteration @ 10000 iterations strpos is 67% faster than substr strpos without a wrapper function is 70% faster than strpos with a wrapper function
Output for 5.4.30
substr: 0.000000674s/iteration @ 10000 iterations strpos: 0.000000475s/iteration @ 10000 iterations strpos (without wrapper): 0.000000358s/iteration @ 10000 iterations strpos is 70% faster than substr strpos without a wrapper function is 75% faster than strpos with a wrapper function
Output for 5.4.29
substr: 0.000001058s/iteration @ 10000 iterations strpos: 0.000000690s/iteration @ 10000 iterations strpos (without wrapper): 0.000000366s/iteration @ 10000 iterations strpos is 65% faster than substr strpos without a wrapper function is 53% faster than strpos with a wrapper function
Output for 5.4.28
substr: 0.000001163s/iteration @ 10000 iterations strpos: 0.000000723s/iteration @ 10000 iterations strpos (without wrapper): 0.000000486s/iteration @ 10000 iterations strpos is 62% faster than substr strpos without a wrapper function is 67% faster than strpos with a wrapper function
Output for 5.4.27
substr: 0.000000613s/iteration @ 10000 iterations strpos: 0.000000423s/iteration @ 10000 iterations strpos (without wrapper): 0.000000353s/iteration @ 10000 iterations strpos is 68% faster than substr strpos without a wrapper function is 83% faster than strpos with a wrapper function
Output for 5.4.26
substr: 0.000000619s/iteration @ 10000 iterations strpos: 0.000000462s/iteration @ 10000 iterations strpos (without wrapper): 0.000000344s/iteration @ 10000 iterations strpos is 74% faster than substr strpos without a wrapper function is 74% faster than strpos with a wrapper function
Output for 5.4.25
substr: 0.000000626s/iteration @ 10000 iterations strpos: 0.000000455s/iteration @ 10000 iterations strpos (without wrapper): 0.000000346s/iteration @ 10000 iterations strpos is 72% faster than substr strpos without a wrapper function is 76% faster than strpos with a wrapper function
Output for 5.4.24
substr: 0.000000654s/iteration @ 10000 iterations strpos: 0.000000454s/iteration @ 10000 iterations strpos (without wrapper): 0.000000377s/iteration @ 10000 iterations strpos is 69% faster than substr strpos without a wrapper function is 82% faster than strpos with a wrapper function
Output for 5.4.23
substr: 0.000000897s/iteration @ 10000 iterations strpos: 0.000000687s/iteration @ 10000 iterations strpos (without wrapper): 0.000000532s/iteration @ 10000 iterations strpos is 76% faster than substr strpos without a wrapper function is 77% faster than strpos with a wrapper function
Output for 5.4.22
substr: 0.000001120s/iteration @ 10000 iterations strpos: 0.000000867s/iteration @ 10000 iterations strpos (without wrapper): 0.000000628s/iteration @ 10000 iterations strpos is 77% faster than substr strpos without a wrapper function is 72% faster than strpos with a wrapper function
Output for 5.4.21
substr: 0.000001094s/iteration @ 10000 iterations strpos: 0.000000689s/iteration @ 10000 iterations strpos (without wrapper): 0.000000408s/iteration @ 10000 iterations strpos is 62% faster than substr strpos without a wrapper function is 59% faster than strpos with a wrapper function
Output for 5.4.20
substr: 0.000000621s/iteration @ 10000 iterations strpos: 0.000000475s/iteration @ 10000 iterations strpos (without wrapper): 0.000000329s/iteration @ 10000 iterations strpos is 76% faster than substr strpos without a wrapper function is 69% faster than strpos with a wrapper function
Output for 5.4.19
substr: 0.000000597s/iteration @ 10000 iterations strpos: 0.000000467s/iteration @ 10000 iterations strpos (without wrapper): 0.000000359s/iteration @ 10000 iterations strpos is 78% faster than substr strpos without a wrapper function is 76% faster than strpos with a wrapper function
Output for 5.4.18
substr: 0.000000672s/iteration @ 10000 iterations strpos: 0.000000444s/iteration @ 10000 iterations strpos (without wrapper): 0.000000404s/iteration @ 10000 iterations strpos is 66% faster than substr strpos without a wrapper function is 90% faster than strpos with a wrapper function
Output for 5.4.17
substr: 0.000000753s/iteration @ 10000 iterations strpos: 0.000000726s/iteration @ 10000 iterations strpos (without wrapper): 0.000000480s/iteration @ 10000 iterations strpos is 96% faster than substr strpos without a wrapper function is 66% faster than strpos with a wrapper function
Output for 5.4.16
substr: 0.000000921s/iteration @ 10000 iterations strpos: 0.000000694s/iteration @ 10000 iterations strpos (without wrapper): 0.000000398s/iteration @ 10000 iterations strpos is 75% faster than substr strpos without a wrapper function is 57% faster than strpos with a wrapper function
Output for 5.4.15
substr: 0.000000678s/iteration @ 10000 iterations strpos: 0.000000532s/iteration @ 10000 iterations strpos (without wrapper): 0.000000393s/iteration @ 10000 iterations strpos is 78% faster than substr strpos without a wrapper function is 73% faster than strpos with a wrapper function
Output for 5.4.14
substr: 0.000000698s/iteration @ 10000 iterations strpos: 0.000000514s/iteration @ 10000 iterations strpos (without wrapper): 0.000000399s/iteration @ 10000 iterations strpos is 73% faster than substr strpos without a wrapper function is 77% faster than strpos with a wrapper function
Output for 5.4.13
substr: 0.000000870s/iteration @ 10000 iterations strpos: 0.000000469s/iteration @ 10000 iterations strpos (without wrapper): 0.000000351s/iteration @ 10000 iterations strpos is 53% faster than substr strpos without a wrapper function is 74% faster than strpos with a wrapper function
Output for 5.4.12
substr: 0.000001043s/iteration @ 10000 iterations strpos: 0.000000495s/iteration @ 10000 iterations strpos (without wrapper): 0.000000367s/iteration @ 10000 iterations strpos is 47% faster than substr strpos without a wrapper function is 74% faster than strpos with a wrapper function
Output for 5.4.11
substr: 0.000000740s/iteration @ 10000 iterations strpos: 0.000000485s/iteration @ 10000 iterations strpos (without wrapper): 0.000000347s/iteration @ 10000 iterations strpos is 65% faster than substr strpos without a wrapper function is 71% faster than strpos with a wrapper function
Output for 5.4.10
substr: 0.000001156s/iteration @ 10000 iterations strpos: 0.000000790s/iteration @ 10000 iterations strpos (without wrapper): 0.000000569s/iteration @ 10000 iterations strpos is 68% faster than substr strpos without a wrapper function is 72% faster than strpos with a wrapper function
Output for 5.4.9
substr: 0.000001234s/iteration @ 10000 iterations strpos: 0.000000781s/iteration @ 10000 iterations strpos (without wrapper): 0.000000604s/iteration @ 10000 iterations strpos is 63% faster than substr strpos without a wrapper function is 77% faster than strpos with a wrapper function
Output for 5.4.8
substr: 0.000000784s/iteration @ 10000 iterations strpos: 0.000000504s/iteration @ 10000 iterations strpos (without wrapper): 0.000000337s/iteration @ 10000 iterations strpos is 64% faster than substr strpos without a wrapper function is 66% faster than strpos with a wrapper function
Output for 5.4.7
substr: 0.000000677s/iteration @ 10000 iterations strpos: 0.000000560s/iteration @ 10000 iterations strpos (without wrapper): 0.000000409s/iteration @ 10000 iterations strpos is 82% faster than substr strpos without a wrapper function is 72% faster than strpos with a wrapper function
Output for 5.4.6
substr: 0.000000800s/iteration @ 10000 iterations strpos: 0.000000489s/iteration @ 10000 iterations strpos (without wrapper): 0.000000340s/iteration @ 10000 iterations strpos is 61% faster than substr strpos without a wrapper function is 69% faster than strpos with a wrapper function
Output for 5.4.5
substr: 0.000000714s/iteration @ 10000 iterations strpos: 0.000000441s/iteration @ 10000 iterations strpos (without wrapper): 0.000000345s/iteration @ 10000 iterations strpos is 61% faster than substr strpos without a wrapper function is 78% faster than strpos with a wrapper function
Output for 5.4.4
substr: 0.000000716s/iteration @ 10000 iterations strpos: 0.000000507s/iteration @ 10000 iterations strpos (without wrapper): 0.000000478s/iteration @ 10000 iterations strpos is 70% faster than substr strpos without a wrapper function is 94% faster than strpos with a wrapper function
Output for 5.4.3
substr: 0.000001343s/iteration @ 10000 iterations strpos: 0.000000937s/iteration @ 10000 iterations strpos (without wrapper): 0.000000543s/iteration @ 10000 iterations strpos is 69% faster than substr strpos without a wrapper function is 57% faster than strpos with a wrapper function
Output for 5.4.2
substr: 0.000000799s/iteration @ 10000 iterations strpos: 0.000000635s/iteration @ 10000 iterations strpos (without wrapper): 0.000000358s/iteration @ 10000 iterations strpos is 79% faster than substr strpos without a wrapper function is 56% faster than strpos with a wrapper function
Output for 5.4.1
substr: 0.000000718s/iteration @ 10000 iterations strpos: 0.000000481s/iteration @ 10000 iterations strpos (without wrapper): 0.000000388s/iteration @ 10000 iterations strpos is 67% faster than substr strpos without a wrapper function is 80% faster than strpos with a wrapper function
Output for 5.4.0
substr: 0.000000773s/iteration @ 10000 iterations strpos: 0.000000484s/iteration @ 10000 iterations strpos (without wrapper): 0.000000397s/iteration @ 10000 iterations strpos is 62% faster than substr strpos without a wrapper function is 82% faster than strpos with a wrapper function
Output for 5.3.29
substr: 0.000000828s/iteration @ 10000 iterations strpos: 0.000000652s/iteration @ 10000 iterations strpos (without wrapper): 0.000000489s/iteration @ 10000 iterations strpos is 78% faster than substr strpos without a wrapper function is 74% faster than strpos with a wrapper function
Output for 5.3.28
substr: 0.000000755s/iteration @ 10000 iterations strpos: 0.000000563s/iteration @ 10000 iterations strpos (without wrapper): 0.000000386s/iteration @ 10000 iterations strpos is 74% faster than substr strpos without a wrapper function is 68% faster than strpos with a wrapper function
Output for 5.3.27
substr: 0.000000906s/iteration @ 10000 iterations strpos: 0.000000728s/iteration @ 10000 iterations strpos (without wrapper): 0.000000542s/iteration @ 10000 iterations strpos is 80% faster than substr strpos without a wrapper function is 74% faster than strpos with a wrapper function
Output for 5.3.26
substr: 0.000001066s/iteration @ 10000 iterations strpos: 0.000000593s/iteration @ 10000 iterations strpos (without wrapper): 0.000000452s/iteration @ 10000 iterations strpos is 55% faster than substr strpos without a wrapper function is 76% faster than strpos with a wrapper function
Output for 5.3.25
substr: 0.000000774s/iteration @ 10000 iterations strpos: 0.000000845s/iteration @ 10000 iterations strpos (without wrapper): 0.000000393s/iteration @ 10000 iterations substr is 91% faster than strpos strpos without a wrapper function is 46% faster than strpos with a wrapper function
Output for 5.3.24
substr: 0.000000922s/iteration @ 10000 iterations strpos: 0.000000776s/iteration @ 10000 iterations strpos (without wrapper): 0.000000693s/iteration @ 10000 iterations strpos is 84% faster than substr strpos without a wrapper function is 89% faster than strpos with a wrapper function
Output for 5.3.23
substr: 0.000001263s/iteration @ 10000 iterations strpos: 0.000000869s/iteration @ 10000 iterations strpos (without wrapper): 0.000000657s/iteration @ 10000 iterations strpos is 68% faster than substr strpos without a wrapper function is 75% faster than strpos with a wrapper function
Output for 5.3.22
substr: 0.000001309s/iteration @ 10000 iterations strpos: 0.000001007s/iteration @ 10000 iterations strpos (without wrapper): 0.000000685s/iteration @ 10000 iterations strpos is 76% faster than substr strpos without a wrapper function is 68% faster than strpos with a wrapper function
Output for 5.3.21
substr: 0.000004611s/iteration @ 10000 iterations strpos: 0.000001150s/iteration @ 10000 iterations strpos (without wrapper): 0.000000832s/iteration @ 10000 iterations strpos is 24% faster than substr strpos without a wrapper function is 72% faster than strpos with a wrapper function
Output for 5.3.20
substr: 0.000001277s/iteration @ 10000 iterations strpos: 0.000000953s/iteration @ 10000 iterations strpos (without wrapper): 0.000000686s/iteration @ 10000 iterations strpos is 74% faster than substr strpos without a wrapper function is 71% faster than strpos with a wrapper function
Output for 5.3.19
substr: 0.000001238s/iteration @ 10000 iterations strpos: 0.000000943s/iteration @ 10000 iterations strpos (without wrapper): 0.000000469s/iteration @ 10000 iterations strpos is 76% faster than substr strpos without a wrapper function is 49% faster than strpos with a wrapper function
Output for 5.3.18
substr: 0.000001923s/iteration @ 10000 iterations strpos: 0.000001325s/iteration @ 10000 iterations strpos (without wrapper): 0.000000975s/iteration @ 10000 iterations strpos is 68% faster than substr strpos without a wrapper function is 73% faster than strpos with a wrapper function
Output for 5.3.17
substr: 0.000002091s/iteration @ 10000 iterations strpos: 0.000002400s/iteration @ 10000 iterations strpos (without wrapper): 0.000000969s/iteration @ 10000 iterations substr is 87% faster than strpos strpos without a wrapper function is 40% faster than strpos with a wrapper function
Output for 5.3.16
substr: 0.000001378s/iteration @ 10000 iterations strpos: 0.000000812s/iteration @ 10000 iterations strpos (without wrapper): 0.000000562s/iteration @ 10000 iterations strpos is 58% faster than substr strpos without a wrapper function is 69% faster than strpos with a wrapper function
Output for 5.3.15
substr: 0.000000991s/iteration @ 10000 iterations strpos: 0.000000737s/iteration @ 10000 iterations strpos (without wrapper): 0.000000760s/iteration @ 10000 iterations strpos is 74% faster than substr strpos with a wrapper function is 96% faster than strpos without a wrapper fucntion
Output for 5.3.14
substr: 0.000001694s/iteration @ 10000 iterations strpos: 0.000002705s/iteration @ 10000 iterations strpos (without wrapper): 0.000000905s/iteration @ 10000 iterations substr is 62% faster than strpos strpos without a wrapper function is 33% faster than strpos with a wrapper function
Output for 5.3.13
substr: 0.000001444s/iteration @ 10000 iterations strpos: 0.000001082s/iteration @ 10000 iterations strpos (without wrapper): 0.000000714s/iteration @ 10000 iterations strpos is 74% faster than substr strpos without a wrapper function is 65% faster than strpos with a wrapper function
Output for 5.3.12
substr: 0.000001489s/iteration @ 10000 iterations strpos: 0.000001137s/iteration @ 10000 iterations strpos (without wrapper): 0.000000765s/iteration @ 10000 iterations strpos is 76% faster than substr strpos without a wrapper function is 67% faster than strpos with a wrapper function
Output for 5.3.11
substr: 0.000001345s/iteration @ 10000 iterations strpos: 0.000002852s/iteration @ 10000 iterations strpos (without wrapper): 0.000001431s/iteration @ 10000 iterations substr is 47% faster than strpos strpos without a wrapper function is 50% faster than strpos with a wrapper function
Output for 5.3.10
substr: 0.000001969s/iteration @ 10000 iterations strpos: 0.000002021s/iteration @ 10000 iterations strpos (without wrapper): 0.000000990s/iteration @ 10000 iterations substr is 97% faster than strpos strpos without a wrapper function is 49% faster than strpos with a wrapper function
Output for 5.3.9
substr: 0.000001198s/iteration @ 10000 iterations strpos: 0.000000898s/iteration @ 10000 iterations strpos (without wrapper): 0.000000631s/iteration @ 10000 iterations strpos is 74% faster than substr strpos without a wrapper function is 70% faster than strpos with a wrapper function
Output for 5.3.8
substr: 0.000001678s/iteration @ 10000 iterations strpos: 0.000001121s/iteration @ 10000 iterations strpos (without wrapper): 0.000000734s/iteration @ 10000 iterations strpos is 66% faster than substr strpos without a wrapper function is 65% faster than strpos with a wrapper function
Output for 5.3.7
substr: 0.000001945s/iteration @ 10000 iterations strpos: 0.000001253s/iteration @ 10000 iterations strpos (without wrapper): 0.000000880s/iteration @ 10000 iterations strpos is 64% faster than substr strpos without a wrapper function is 70% faster than strpos with a wrapper function
Output for 5.3.6
substr: 0.000000982s/iteration @ 10000 iterations strpos: 0.000000768s/iteration @ 10000 iterations strpos (without wrapper): 0.000000556s/iteration @ 10000 iterations strpos is 78% faster than substr strpos without a wrapper function is 72% faster than strpos with a wrapper function
Output for 5.3.5
substr: 0.000000841s/iteration @ 10000 iterations strpos: 0.000000646s/iteration @ 10000 iterations strpos (without wrapper): 0.000000439s/iteration @ 10000 iterations strpos is 76% faster than substr strpos without a wrapper function is 67% faster than strpos with a wrapper function
Output for 5.3.4
substr: 0.000000953s/iteration @ 10000 iterations strpos: 0.000000872s/iteration @ 10000 iterations strpos (without wrapper): 0.000000701s/iteration @ 10000 iterations strpos is 91% faster than substr strpos without a wrapper function is 80% faster than strpos with a wrapper function
Output for 5.3.3
substr: 0.000000950s/iteration @ 10000 iterations strpos: 0.000000864s/iteration @ 10000 iterations strpos (without wrapper): 0.000000656s/iteration @ 10000 iterations strpos is 90% faster than substr strpos without a wrapper function is 75% faster than strpos with a wrapper function
Output for 5.3.2
substr: 0.000001117s/iteration @ 10000 iterations strpos: 0.000000725s/iteration @ 10000 iterations strpos (without wrapper): 0.000000536s/iteration @ 10000 iterations strpos is 64% faster than substr strpos without a wrapper function is 73% faster than strpos with a wrapper function
Output for 5.3.1
substr: 0.000003096s/iteration @ 10000 iterations strpos: 0.000001981s/iteration @ 10000 iterations strpos (without wrapper): 0.000000893s/iteration @ 10000 iterations strpos is 63% faster than substr strpos without a wrapper function is 45% faster than strpos with a wrapper function
Output for 5.3.0
substr: 0.000001045s/iteration @ 10000 iterations strpos: 0.000000663s/iteration @ 10000 iterations strpos (without wrapper): 0.000000584s/iteration @ 10000 iterations strpos is 63% faster than substr strpos without a wrapper function is 88% faster than strpos with a wrapper function
Output for 5.2.17
substr: 0.000002108s/iteration @ 10000 iterations strpos: 0.000001282s/iteration @ 10000 iterations strpos (without wrapper): 0.000000615s/iteration @ 10000 iterations strpos is 60% faster than substr strpos without a wrapper function is 47% faster than strpos with a wrapper function
Output for 5.2.16
substr: 0.000001489s/iteration @ 10000 iterations strpos: 0.000001114s/iteration @ 10000 iterations strpos (without wrapper): 0.000000539s/iteration @ 10000 iterations strpos is 74% faster than substr strpos without a wrapper function is 48% faster than strpos with a wrapper function
Output for 5.2.15
substr: 0.000001065s/iteration @ 10000 iterations strpos: 0.000000900s/iteration @ 10000 iterations strpos (without wrapper): 0.000000467s/iteration @ 10000 iterations strpos is 84% faster than substr strpos without a wrapper function is 51% faster than strpos with a wrapper function
Output for 5.2.14
substr: 0.000001095s/iteration @ 10000 iterations strpos: 0.000000793s/iteration @ 10000 iterations strpos (without wrapper): 0.000000612s/iteration @ 10000 iterations strpos is 72% faster than substr strpos without a wrapper function is 77% faster than strpos with a wrapper function
Output for 5.2.13
substr: 0.000001648s/iteration @ 10000 iterations strpos: 0.000001116s/iteration @ 10000 iterations strpos (without wrapper): 0.000000695s/iteration @ 10000 iterations strpos is 67% faster than substr strpos without a wrapper function is 62% faster than strpos with a wrapper function
Output for 5.2.12
substr: 0.000000829s/iteration @ 10000 iterations strpos: 0.000000684s/iteration @ 10000 iterations strpos (without wrapper): 0.000000382s/iteration @ 10000 iterations strpos is 82% faster than substr strpos without a wrapper function is 55% faster than strpos with a wrapper function
Output for 5.2.11
substr: 0.000000859s/iteration @ 10000 iterations strpos: 0.000000695s/iteration @ 10000 iterations strpos (without wrapper): 0.000000465s/iteration @ 10000 iterations strpos is 80% faster than substr strpos without a wrapper function is 66% faster than strpos with a wrapper function
Output for 5.2.10
substr: 0.000000919s/iteration @ 10000 iterations strpos: 0.000000857s/iteration @ 10000 iterations strpos (without wrapper): 0.000000573s/iteration @ 10000 iterations strpos is 93% faster than substr strpos without a wrapper function is 66% faster than strpos with a wrapper function
Output for 5.2.9
substr: 0.000000943s/iteration @ 10000 iterations strpos: 0.000000796s/iteration @ 10000 iterations strpos (without wrapper): 0.000000455s/iteration @ 10000 iterations strpos is 84% faster than substr strpos without a wrapper function is 57% faster than strpos with a wrapper function
Output for 5.2.8
substr: 0.000000930s/iteration @ 10000 iterations strpos: 0.000000723s/iteration @ 10000 iterations strpos (without wrapper): 0.000000504s/iteration @ 10000 iterations strpos is 77% faster than substr strpos without a wrapper function is 69% faster than strpos with a wrapper function
Output for 5.2.7
substr: 0.000000947s/iteration @ 10000 iterations strpos: 0.000000789s/iteration @ 10000 iterations strpos (without wrapper): 0.000000459s/iteration @ 10000 iterations strpos is 83% faster than substr strpos without a wrapper function is 58% faster than strpos with a wrapper function
Output for 5.2.6
substr: 0.000000950s/iteration @ 10000 iterations strpos: 0.000000713s/iteration @ 10000 iterations strpos (without wrapper): 0.000000434s/iteration @ 10000 iterations strpos is 75% faster than substr strpos without a wrapper function is 60% faster than strpos with a wrapper function
Output for 5.2.5
substr: 0.000000944s/iteration @ 10000 iterations strpos: 0.000000828s/iteration @ 10000 iterations strpos (without wrapper): 0.000000523s/iteration @ 10000 iterations strpos is 87% faster than substr strpos without a wrapper function is 63% faster than strpos with a wrapper function
Output for 5.2.4
substr: 0.000000981s/iteration @ 10000 iterations strpos: 0.000000749s/iteration @ 10000 iterations strpos (without wrapper): 0.000000463s/iteration @ 10000 iterations strpos is 76% faster than substr strpos without a wrapper function is 61% faster than strpos with a wrapper function
Output for 5.2.3
substr: 0.000001194s/iteration @ 10000 iterations strpos: 0.000000939s/iteration @ 10000 iterations strpos (without wrapper): 0.000000503s/iteration @ 10000 iterations strpos is 78% faster than substr strpos without a wrapper function is 53% faster than strpos with a wrapper function
Output for 5.2.2
substr: 0.000001063s/iteration @ 10000 iterations strpos: 0.000000926s/iteration @ 10000 iterations strpos (without wrapper): 0.000000771s/iteration @ 10000 iterations strpos is 87% faster than substr strpos without a wrapper function is 83% faster than strpos with a wrapper function
Output for 5.2.1
substr: 0.000001015s/iteration @ 10000 iterations strpos: 0.000000719s/iteration @ 10000 iterations strpos (without wrapper): 0.000000432s/iteration @ 10000 iterations strpos is 70% faster than substr strpos without a wrapper function is 60% faster than strpos with a wrapper function
Output for 5.2.0
substr: 0.000000915s/iteration @ 10000 iterations strpos: 0.000000795s/iteration @ 10000 iterations strpos (without wrapper): 0.000000502s/iteration @ 10000 iterations strpos is 86% faster than substr strpos without a wrapper function is 63% faster than strpos with a wrapper function
Output for 5.1.6
substr: 0.000000985s/iteration @ 10000 iterations strpos: 0.000000862s/iteration @ 10000 iterations strpos (without wrapper): 0.000000478s/iteration @ 10000 iterations strpos is 87% faster than substr strpos without a wrapper function is 55% faster than strpos with a wrapper function
Output for 5.1.5
substr: 0.000000818s/iteration @ 10000 iterations strpos: 0.000000662s/iteration @ 10000 iterations strpos (without wrapper): 0.000000502s/iteration @ 10000 iterations strpos is 80% faster than substr strpos without a wrapper function is 75% faster than strpos with a wrapper function
Output for 5.1.4
substr: 0.000001010s/iteration @ 10000 iterations strpos: 0.000000710s/iteration @ 10000 iterations strpos (without wrapper): 0.000000436s/iteration @ 10000 iterations strpos is 70% faster than substr strpos without a wrapper function is 61% faster than strpos with a wrapper function
Output for 5.1.3
substr: 0.000000851s/iteration @ 10000 iterations strpos: 0.000000674s/iteration @ 10000 iterations strpos (without wrapper): 0.000000434s/iteration @ 10000 iterations strpos is 79% faster than substr strpos without a wrapper function is 64% faster than strpos with a wrapper function
Output for 5.1.2
substr: 0.000001054s/iteration @ 10000 iterations strpos: 0.000000784s/iteration @ 10000 iterations strpos (without wrapper): 0.000000473s/iteration @ 10000 iterations strpos is 74% faster than substr strpos without a wrapper function is 60% faster than strpos with a wrapper function
Output for 5.1.1
substr: 0.000001062s/iteration @ 10000 iterations strpos: 0.000001189s/iteration @ 10000 iterations strpos (without wrapper): 0.000000800s/iteration @ 10000 iterations substr is 89% faster than strpos strpos without a wrapper function is 67% faster than strpos with a wrapper function
Output for 5.1.0
substr: 0.000000812s/iteration @ 10000 iterations strpos: 0.000001060s/iteration @ 10000 iterations strpos (without wrapper): 0.000000410s/iteration @ 10000 iterations substr is 76% faster than strpos strpos without a wrapper function is 38% faster than strpos with a wrapper function
Output for 5.0.5
substr: 0.000002103s/iteration @ 10000 iterations strpos: 0.000001716s/iteration @ 10000 iterations strpos (without wrapper): 0.000000958s/iteration @ 10000 iterations strpos is 81% faster than substr strpos without a wrapper function is 55% faster than strpos with a wrapper function
Output for 5.0.4
substr: 0.000001477s/iteration @ 10000 iterations strpos: 0.000001066s/iteration @ 10000 iterations strpos (without wrapper): 0.000000690s/iteration @ 10000 iterations strpos is 72% faster than substr strpos without a wrapper function is 64% faster than strpos with a wrapper function
Output for 5.0.3
substr: 0.000001394s/iteration @ 10000 iterations strpos: 0.000001391s/iteration @ 10000 iterations strpos (without wrapper): 0.000000739s/iteration @ 10000 iterations strpos is 99% faster than substr strpos without a wrapper function is 53% faster than strpos with a wrapper function
Output for 5.0.2
substr: 0.000001489s/iteration @ 10000 iterations strpos: 0.000001254s/iteration @ 10000 iterations strpos (without wrapper): 0.000000648s/iteration @ 10000 iterations strpos is 84% faster than substr strpos without a wrapper function is 51% faster than strpos with a wrapper function
Output for 5.0.1
substr: 0.000001375s/iteration @ 10000 iterations strpos: 0.000001485s/iteration @ 10000 iterations strpos (without wrapper): 0.000000990s/iteration @ 10000 iterations substr is 92% faster than strpos strpos without a wrapper function is 66% faster than strpos with a wrapper function
Output for 5.0.0
substr: 0.000002914s/iteration @ 10000 iterations strpos: 0.000002431s/iteration @ 10000 iterations strpos (without wrapper): 0.000001210s/iteration @ 10000 iterations strpos is 83% faster than substr strpos without a wrapper function is 49% faster than strpos with a wrapper function
Output for 4.4.9
substr: 0.000002751s/iteration @ 10000 iterations strpos: 0.000002738s/iteration @ 10000 iterations strpos (without wrapper): 0.000002264s/iteration @ 10000 iterations strpos is 99% faster than substr strpos without a wrapper function is 82% faster than strpos with a wrapper function
Output for 4.4.8
substr: 0.000002532s/iteration @ 10000 iterations strpos: 0.000001610s/iteration @ 10000 iterations strpos (without wrapper): 0.000000952s/iteration @ 10000 iterations strpos is 63% faster than substr strpos without a wrapper function is 59% faster than strpos with a wrapper function
Output for 4.4.7
substr: 0.000001971s/iteration @ 10000 iterations strpos: 0.000002207s/iteration @ 10000 iterations strpos (without wrapper): 0.000001054s/iteration @ 10000 iterations substr is 89% faster than strpos strpos without a wrapper function is 47% faster than strpos with a wrapper function
Output for 4.4.6
substr: 0.000001742s/iteration @ 10000 iterations strpos: 0.000001433s/iteration @ 10000 iterations strpos (without wrapper): 0.000001016s/iteration @ 10000 iterations strpos is 82% faster than substr strpos without a wrapper function is 70% faster than strpos with a wrapper function
Output for 4.4.5
substr: 0.000001679s/iteration @ 10000 iterations strpos: 0.000001405s/iteration @ 10000 iterations strpos (without wrapper): 0.000000938s/iteration @ 10000 iterations strpos is 83% faster than substr strpos without a wrapper function is 66% faster than strpos with a wrapper function
Output for 4.4.4
substr: 0.000001616s/iteration @ 10000 iterations strpos: 0.000001432s/iteration @ 10000 iterations strpos (without wrapper): 0.000000985s/iteration @ 10000 iterations strpos is 88% faster than substr strpos without a wrapper function is 68% faster than strpos with a wrapper function
Output for 4.4.3
substr: 0.000001716s/iteration @ 10000 iterations strpos: 0.000001549s/iteration @ 10000 iterations strpos (without wrapper): 0.000001303s/iteration @ 10000 iterations strpos is 90% faster than substr strpos without a wrapper function is 84% faster than strpos with a wrapper function
Output for 4.4.2
substr: 0.000002634s/iteration @ 10000 iterations strpos: 0.000002280s/iteration @ 10000 iterations strpos (without wrapper): 0.000001600s/iteration @ 10000 iterations strpos is 86% faster than substr strpos without a wrapper function is 70% faster than strpos with a wrapper function
Output for 4.4.1
substr: 0.000002708s/iteration @ 10000 iterations strpos: 0.000002365s/iteration @ 10000 iterations strpos (without wrapper): 0.000001617s/iteration @ 10000 iterations strpos is 87% faster than substr strpos without a wrapper function is 68% faster than strpos with a wrapper function
Output for 4.4.0
substr: 0.000002804s/iteration @ 10000 iterations strpos: 0.000002492s/iteration @ 10000 iterations strpos (without wrapper): 0.000001728s/iteration @ 10000 iterations strpos is 88% faster than substr strpos without a wrapper function is 69% faster than strpos with a wrapper function
Output for 4.3.11
substr: 0.000002763s/iteration @ 10000 iterations strpos: 0.000002327s/iteration @ 10000 iterations strpos (without wrapper): 0.000001001s/iteration @ 10000 iterations strpos is 84% faster than substr strpos without a wrapper function is 42% faster than strpos with a wrapper function
Output for 4.3.10
substr: 0.000001592s/iteration @ 10000 iterations strpos: 0.000001603s/iteration @ 10000 iterations strpos (without wrapper): 0.000000923s/iteration @ 10000 iterations substr is 99% faster than strpos strpos without a wrapper function is 57% faster than strpos with a wrapper function
Output for 4.3.9
substr: 0.000003413s/iteration @ 10000 iterations strpos: 0.000001858s/iteration @ 10000 iterations strpos (without wrapper): 0.000001343s/iteration @ 10000 iterations strpos is 54% faster than substr strpos without a wrapper function is 72% faster than strpos with a wrapper function
Output for 4.3.8
substr: 0.000002864s/iteration @ 10000 iterations strpos: 0.000002159s/iteration @ 10000 iterations strpos (without wrapper): 0.000001452s/iteration @ 10000 iterations strpos is 75% faster than substr strpos without a wrapper function is 67% faster than strpos with a wrapper function
Output for 4.3.7
substr: 0.000003187s/iteration @ 10000 iterations strpos: 0.000002271s/iteration @ 10000 iterations strpos (without wrapper): 0.000001845s/iteration @ 10000 iterations strpos is 71% faster than substr strpos without a wrapper function is 81% faster than strpos with a wrapper function
Output for 4.3.6
substr: 0.000003255s/iteration @ 10000 iterations strpos: 0.000001944s/iteration @ 10000 iterations strpos (without wrapper): 0.000001360s/iteration @ 10000 iterations strpos is 59% faster than substr strpos without a wrapper function is 69% faster than strpos with a wrapper function
Output for 4.3.5
substr: 0.000001924s/iteration @ 10000 iterations strpos: 0.000001727s/iteration @ 10000 iterations strpos (without wrapper): 0.000001235s/iteration @ 10000 iterations strpos is 89% faster than substr strpos without a wrapper function is 71% faster than strpos with a wrapper function
Output for 4.3.4
substr: 0.000002883s/iteration @ 10000 iterations strpos: 0.000001910s/iteration @ 10000 iterations strpos (without wrapper): 0.000001687s/iteration @ 10000 iterations strpos is 66% faster than substr strpos without a wrapper function is 88% faster than strpos with a wrapper function
Output for 4.3.3
substr: 0.000002235s/iteration @ 10000 iterations strpos: 0.000001882s/iteration @ 10000 iterations strpos (without wrapper): 0.000001499s/iteration @ 10000 iterations strpos is 84% faster than substr strpos without a wrapper function is 79% faster than strpos with a wrapper function
Output for 4.3.2
substr: 0.000002098s/iteration @ 10000 iterations strpos: 0.000002264s/iteration @ 10000 iterations strpos (without wrapper): 0.000001658s/iteration @ 10000 iterations substr is 92% faster than strpos strpos without a wrapper function is 73% faster than strpos with a wrapper function
Output for 4.3.1
substr: 0.000003213s/iteration @ 10000 iterations strpos: 0.000001905s/iteration @ 10000 iterations strpos (without wrapper): 0.000001561s/iteration @ 10000 iterations strpos is 59% faster than substr strpos without a wrapper function is 81% faster than strpos with a wrapper function
Output for 4.3.0
substr: 0.000008834s/iteration @ 10000 iterations strpos: 0.000002941s/iteration @ 10000 iterations strpos (without wrapper): 0.000004242s/iteration @ 10000 iterations strpos is 33% faster than substr strpos with a wrapper function is 69% faster than strpos without a wrapper fucntion

preferences:
192.72 ms | 402 KiB | 205 Q