3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // Setup $class = 'Concrete5_Model_User'; $count = 1000; // Warm up for($i = 0; $i < $count; $i++) { strpos($class, 'Concrete5_Model'); } // Test - case sensitive $t0 = microtime(true); for($i = 0; $i < $count; $i++) { strpos($class, 'Concrete5_Model'); } $deltaCS = microtime(true) - $t0; // Test - case insensitive $t0 = microtime(true); for($i = 0; $i < $count; $i++) { stripos($class, 'Concrete5_Model'); } $deltaCI = microtime(true) - $t0; echo "case sensitive: $deltaCS\n"; echo "case insensitive: $deltaCI\n";
Output for 7.2.0
case sensitive: 5.5074691772461E-5 case insensitive: 0.00014519691467285
Output for 7.1.7
case sensitive: 0.00015091896057129 case insensitive: 0.00062298774719238
Output for 7.1.6
case sensitive: 6.6041946411133E-5 case insensitive: 0.00023102760314941
Output for 7.1.5
case sensitive: 7.7962875366211E-5 case insensitive: 0.00023794174194336
Output for 7.1.0
case sensitive: 6.1988830566406E-5 case insensitive: 0.00019097328186035
Output for 7.0.20
case sensitive: 3.0994415283203E-5 case insensitive: 0.0001070499420166
Output for 7.0.14
case sensitive: 7.6055526733398E-5 case insensitive: 0.00024199485778809
Output for 7.0.6
case sensitive: 3.9100646972656E-5 case insensitive: 0.0001227855682373
Output for 7.0.5
case sensitive: 4.4107437133789E-5 case insensitive: 0.0001380443572998
Output for 7.0.4
case sensitive: 3.0994415283203E-5 case insensitive: 0.00010514259338379
Output for 7.0.3
case sensitive: 4.5061111450195E-5 case insensitive: 0.00015807151794434
Output for 7.0.2
case sensitive: 4.6968460083008E-5 case insensitive: 0.00015902519226074
Output for 7.0.1
case sensitive: 3.0994415283203E-5 case insensitive: 0.0001060962677002
Output for 7.0.0
case sensitive: 3.1948089599609E-5 case insensitive: 0.00010418891906738
Output for 5.6.28
case sensitive: 0.00024914741516113 case insensitive: 0.0003659725189209
Output for 5.6.21
case sensitive: 0.00017189979553223 case insensitive: 0.00027012825012207
Output for 5.6.20
case sensitive: 0.00017881393432617 case insensitive: 0.00026583671569824
Output for 5.6.19
case sensitive: 0.00015091896057129 case insensitive: 0.00024104118347168
Output for 5.6.18
case sensitive: 0.00011706352233887 case insensitive: 0.00018405914306641
Output for 5.6.17
case sensitive: 0.00017690658569336 case insensitive: 0.00026702880859375
Output for 5.6.16
case sensitive: 0.00011491775512695 case insensitive: 0.00016999244689941
Output for 5.6.15
case sensitive: 0.00011396408081055 case insensitive: 0.00017905235290527
Output for 5.6.14
case sensitive: 0.00011205673217773 case insensitive: 0.00018405914306641
Output for 5.6.13
case sensitive: 0.00014495849609375 case insensitive: 0.00021791458129883
Output for 5.6.12
case sensitive: 0.00018215179443359 case insensitive: 0.00026702880859375
Output for 5.6.11
case sensitive: 0.00019001960754395 case insensitive: 0.0003209114074707
Output for 5.6.10
case sensitive: 0.00011396408081055 case insensitive: 0.00017714500427246
Output for 5.6.9
case sensitive: 0.00016999244689941 case insensitive: 0.0002598762512207
Output for 5.6.8
case sensitive: 0.00018191337585449 case insensitive: 0.00024676322937012
Output for 5.6.7
case sensitive: 9.5844268798828E-5 case insensitive: 0.00014686584472656
Output for 5.5.35
case sensitive: 0.00011777877807617 case insensitive: 0.00017690658569336
Output for 5.5.34
case sensitive: 0.00032210350036621 case insensitive: 0.00053191184997559
Output for 5.5.33
case sensitive: 0.00011801719665527 case insensitive: 0.00018000602722168
Output for 5.5.32
case sensitive: 0.0001671314239502 case insensitive: 0.00026106834411621
Output for 5.5.31
case sensitive: 0.00012111663818359 case insensitive: 0.00018906593322754
Output for 5.5.30
case sensitive: 0.0001990795135498 case insensitive: 0.00029802322387695
Output for 5.5.29
case sensitive: 0.00017404556274414 case insensitive: 0.00027704238891602
Output for 5.5.28
case sensitive: 0.00015592575073242 case insensitive: 0.00023007392883301
Output for 5.5.27
case sensitive: 0.00014305114746094 case insensitive: 0.00020790100097656
Output for 5.5.26
case sensitive: 0.00017714500427246 case insensitive: 0.00027298927307129
Output for 5.5.25
case sensitive: 0.00018405914306641 case insensitive: 0.00027799606323242
Output for 5.5.24
case sensitive: 0.00017690658569336 case insensitive: 0.00025820732116699
Output for 5.4.45
case sensitive: 0.00032615661621094 case insensitive: 0.00050711631774902
Output for 5.4.44
case sensitive: 0.00016212463378906 case insensitive: 0.00024604797363281
Output for 5.4.43
case sensitive: 0.00024795532226562 case insensitive: 0.0002589225769043
Output for 5.4.42
case sensitive: 0.00016093254089355 case insensitive: 0.00027012825012207
Output for 5.4.41
case sensitive: 0.00020194053649902 case insensitive: 0.00024294853210449
Output for 5.4.40
case sensitive: 0.00021100044250488 case insensitive: 0.00039792060852051
Output for 5.4.39
case sensitive: 0.00047206878662109 case insensitive: 0.00061416625976562
Output for 5.4.38
case sensitive: 0.00021195411682129 case insensitive: 0.0003209114074707
Output for 5.4.37
case sensitive: 0.00023198127746582 case insensitive: 0.0003359317779541
Output for 5.4.36
case sensitive: 0.00014114379882812 case insensitive: 0.00018596649169922
Output for 5.4.35
case sensitive: 0.00024199485778809 case insensitive: 0.00041580200195312
Output for 5.4.34
case sensitive: 0.00013399124145508 case insensitive: 0.00026702880859375
Output for 5.4.32
case sensitive: 0.00013589859008789 case insensitive: 0.00021100044250488
Output for 5.4.31
case sensitive: 0.00015997886657715 case insensitive: 0.00021100044250488
Output for 5.4.30
case sensitive: 0.00013184547424316 case insensitive: 0.0002129077911377
Output for 5.4.29
case sensitive: 0.00011587142944336 case insensitive: 0.00022506713867188
Output for 5.4.28
case sensitive: 0.00049304962158203 case insensitive: 0.00071406364440918
Output for 5.4.27
case sensitive: 0.00012302398681641 case insensitive: 0.0002281665802002
Output for 5.4.26
case sensitive: 0.0003352165222168 case insensitive: 0.0049059391021729
Output for 5.4.25
case sensitive: 0.00022196769714355 case insensitive: 0.00027298927307129
Output for 5.4.24
case sensitive: 0.00030517578125 case insensitive: 0.00043201446533203
Output for 5.4.23
case sensitive: 0.00016593933105469 case insensitive: 0.00029110908508301
Output for 5.4.22
case sensitive: 0.00037789344787598 case insensitive: 0.00052285194396973
Output for 5.4.21
case sensitive: 0.00017786026000977 case insensitive: 0.0002598762512207
Output for 5.4.20
case sensitive: 0.00016522407531738 case insensitive: 0.00029706954956055
Output for 5.4.19
case sensitive: 0.00018692016601562 case insensitive: 0.00023889541625977
Output for 5.4.18
case sensitive: 0.00019502639770508 case insensitive: 0.00028395652770996
Output for 5.4.17
case sensitive: 0.00021719932556152 case insensitive: 0.00028109550476074
Output for 5.4.16
case sensitive: 0.00016593933105469 case insensitive: 0.00030112266540527
Output for 5.4.15
case sensitive: 0.00016498565673828 case insensitive: 0.00025820732116699
Output for 5.4.14
case sensitive: 0.00028395652770996 case insensitive: 0.00031590461730957
Output for 5.4.13
case sensitive: 0.00024914741516113 case insensitive: 0.00026106834411621
Output for 5.4.12
case sensitive: 0.00018596649169922 case insensitive: 0.00027084350585938
Output for 5.4.11
case sensitive: 0.00018906593322754 case insensitive: 0.00026893615722656
Output for 5.4.10
case sensitive: 0.00036001205444336 case insensitive: 0.00044703483581543
Output for 5.4.9
case sensitive: 0.00019001960754395 case insensitive: 0.00027894973754883
Output for 5.4.8
case sensitive: 0.00022602081298828 case insensitive: 0.00031709671020508
Output for 5.4.7
case sensitive: 0.00048112869262695 case insensitive: 0.00051498413085938
Output for 5.4.6
case sensitive: 0.00033187866210938 case insensitive: 0.00047802925109863
Output for 5.4.5
case sensitive: 0.00034904479980469 case insensitive: 0.0005040168762207
Output for 5.4.4
case sensitive: 0.00034809112548828 case insensitive: 0.0005640983581543
Output for 5.4.3
case sensitive: 0.00016593933105469 case insensitive: 0.00029206275939941
Output for 5.4.2
case sensitive: 0.00036811828613281 case insensitive: 0.00044417381286621
Output for 5.4.1
case sensitive: 0.00031685829162598 case insensitive: 0.00025582313537598
Output for 5.4.0
case sensitive: 0.00028896331787109 case insensitive: 0.00042200088500977
Output for 5.3.29
case sensitive: 0.00019693374633789 case insensitive: 0.0002131462097168
Output for 5.3.28
case sensitive: 0.00021600723266602 case insensitive: 0.00030016899108887
Output for 5.3.27
case sensitive: 0.00025796890258789 case insensitive: 0.00031399726867676
Output for 5.3.26
case sensitive: 0.00021505355834961 case insensitive: 0.00029516220092773
Output for 5.3.25
case sensitive: 0.00024604797363281 case insensitive: 0.00029301643371582
Output for 5.3.24
case sensitive: 0.00041699409484863 case insensitive: 0.00058102607727051
Output for 5.3.23
case sensitive: 0.00035881996154785 case insensitive: 0.00048613548278809
Output for 5.3.22
case sensitive: 0.00049614906311035 case insensitive: 0.00066208839416504
Output for 5.3.21
case sensitive: 0.00025510787963867 case insensitive: 0.00031709671020508
Output for 5.3.20
case sensitive: 0.00028204917907715 case insensitive: 0.00083398818969727
Output for 5.3.19
case sensitive: 0.00041604042053223 case insensitive: 0.0005948543548584
Output for 5.3.18
case sensitive: 0.0002589225769043 case insensitive: 0.00033187866210938
Output for 5.3.17
case sensitive: 0.00043392181396484 case insensitive: 0.00059795379638672
Output for 5.3.16
case sensitive: 0.00034618377685547 case insensitive: 0.00047016143798828
Output for 5.3.15
case sensitive: 0.00022506713867188 case insensitive: 0.00035500526428223
Output for 5.3.14
case sensitive: 0.00022315979003906 case insensitive: 0.00031900405883789
Output for 5.3.13
case sensitive: 0.00040698051452637 case insensitive: 0.00053977966308594
Output for 5.3.12
case sensitive: 0.00023317337036133 case insensitive: 0.00029897689819336
Output for 5.3.11
case sensitive: 0.00042819976806641 case insensitive: 0.00058197975158691
Output for 5.3.10
case sensitive: 0.00022101402282715 case insensitive: 0.0003199577331543
Output for 5.3.9
case sensitive: 0.00038409233093262 case insensitive: 0.00049400329589844
Output for 5.3.8
case sensitive: 0.00047707557678223 case insensitive: 0.00057411193847656
Output for 5.3.7
case sensitive: 0.00046491622924805 case insensitive: 0.00055098533630371
Output for 5.3.6
case sensitive: 0.0003819465637207 case insensitive: 0.00051999092102051
Output for 5.3.5
case sensitive: 0.00025010108947754 case insensitive: 0.00034689903259277
Output for 5.3.4
case sensitive: 0.00041508674621582 case insensitive: 0.00052499771118164
Output for 5.3.3
case sensitive: 0.00028705596923828 case insensitive: 0.0003359317779541
Output for 5.3.2
case sensitive: 0.00042819976806641 case insensitive: 0.00051093101501465
Output for 5.3.1
case sensitive: 0.00023603439331055 case insensitive: 0.00036191940307617
Output for 5.3.0
case sensitive: 0.00022506713867188 case insensitive: 0.00037789344787598
Output for 5.2.17
case sensitive: 0.0002899169921875 case insensitive: 0.00033903121948242
Output for 5.2.16
case sensitive: 0.00022101402282715 case insensitive: 0.00031900405883789
Output for 5.2.15
case sensitive: 0.00023913383483887 case insensitive: 0.0003211498260498
Output for 5.2.14
case sensitive: 0.00022101402282715 case insensitive: 0.00034809112548828
Output for 5.2.13
case sensitive: 0.00031900405883789 case insensitive: 0.00036501884460449
Output for 5.2.12
case sensitive: 0.00043892860412598 case insensitive: 0.00058102607727051
Output for 5.2.11
case sensitive: 0.000244140625 case insensitive: 0.00032591819763184
Output for 5.2.10
case sensitive: 0.00022006034851074 case insensitive: 0.00032401084899902
Output for 5.2.9
case sensitive: 0.00022006034851074 case insensitive: 0.00034117698669434
Output for 5.2.8
case sensitive: 0.00022006034851074 case insensitive: 0.00036096572875977
Output for 5.2.7
case sensitive: 0.00029087066650391 case insensitive: 0.00036382675170898
Output for 5.2.6
case sensitive: 0.00040197372436523 case insensitive: 0.00059413909912109
Output for 5.2.5
case sensitive: 0.00021100044250488 case insensitive: 0.00030994415283203
Output for 5.2.4
case sensitive: 0.0002140998840332 case insensitive: 0.0003359317779541
Output for 5.2.3
case sensitive: 0.00042104721069336 case insensitive: 0.00060701370239258
Output for 5.2.2
case sensitive: 0.00038409233093262 case insensitive: 0.00057005882263184
Output for 5.2.1
case sensitive: 0.00029993057250977 case insensitive: 0.0003211498260498
Output for 5.2.0
case sensitive: 0.00040698051452637 case insensitive: 0.00051212310791016
Output for 5.1.6
case sensitive: 0.00019598007202148 case insensitive: 0.00028800964355469
Output for 5.1.5
case sensitive: 0.00020694732666016 case insensitive: 0.00029110908508301
Output for 5.1.4
case sensitive: 0.00039005279541016 case insensitive: 0.00066614151000977
Output for 5.1.3
case sensitive: 0.00021791458129883 case insensitive: 0.00031495094299316
Output for 5.1.2
case sensitive: 0.0002131462097168 case insensitive: 0.00030803680419922
Output for 5.1.1
case sensitive: 0.00038003921508789 case insensitive: 0.00031590461730957
Output for 5.1.0
case sensitive: 0.00020384788513184 case insensitive: 0.0003049373626709
Output for 5.0.5
case sensitive: 0.00048303604125977 case insensitive: 0.00059413909912109
Output for 5.0.4
case sensitive: 0.00081706047058105 case insensitive: 0.010053157806396
Output for 5.0.3
case sensitive: 0.00073003768920898 case insensitive: 0.00096702575683594
Output for 5.0.2
case sensitive: 0.0008549690246582 case insensitive: 0.00083494186401367
Output for 5.0.1
case sensitive: 0.00066113471984863 case insensitive: 0.00088787078857422
Output for 5.0.0
case sensitive: 0.00075578689575195 case insensitive: 0.00069713592529297
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: stripos() in /in/XL3Z5 on line 23
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: stripos() in /in/XL3Z5 on line 23
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: stripos() in /in/XL3Z5 on line 23