3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $class = 'Concrete5_Controller_Name'; // Let's warm up $i = 0; while(++$i < 10000) { if(0) {} } // Test 'preg_match' $i = 0; $start = microtime(true); while(++$i < 100000) { preg_match('/^Concrete5_Model_(.*)/i', $class); preg_match('/^Concrete5_Helper_(.*)/i', $class); preg_match('/^Concrete5_Controller_(.*)/i', $class); } $end = microtime(true); echo "preg_match: ".($end - $start)."\n"; unset($start, $end); // Test 'stripos' $i = 0; $start = microtime(true); while(++$i < 100000) { stripos($class, 'Concrete5_Model_'); stripos($class, 'Concrete5_Helper_'); stripos($class, 'Concrete5_Controller_'); } $end = microtime(true); echo "stripos: ".($end - $start);
Output for 7.1.0
preg_match: 0.031101942062378 stripos: 0.034444093704224
Output for 7.0.14
preg_match: 0.046322822570801 stripos: 0.053893089294434
Output for 7.0.7
preg_match: 0.060961008071899 stripos: 0.037632942199707
Output for 7.0.6
preg_match: 0.060625076293945 stripos: 0.038765907287598
Output for 7.0.5
preg_match: 0.064055919647217 stripos: 0.041651964187622
Output for 7.0.4
preg_match: 0.060733079910278 stripos: 0.038214921951294
Output for 7.0.3
preg_match: 0.053251981735229 stripos: 0.035300016403198
Output for 7.0.2
preg_match: 0.054205894470215 stripos: 0.035172939300537
Output for 7.0.1
preg_match: 0.061880111694336 stripos: 0.0384840965271
Output for 7.0.0
preg_match: 0.063422918319702 stripos: 0.038263082504272
Output for hhvm-3.12.0
preg_match: 0.050893068313599 stripos: 0.027981996536255
Output for hhvm-3.10.0
preg_match: 0.053914070129395 stripos: 0.034175157546997
Output for 5.6.22
preg_match: 0.10906505584717 stripos: 0.067109107971191
Output for 5.6.21
preg_match: 0.12045407295227 stripos: 0.069697856903076
Output for 5.6.20
preg_match: 0.12683701515198 stripos: 0.069061994552612
Output for 5.6.19
preg_match: 0.099441051483154 stripos: 0.066210031509399
Output for 5.6.18
preg_match: 0.12020707130432 stripos: 0.067649841308594
Output for 5.6.17
preg_match: 0.12630295753479 stripos: 0.070214986801147
Output for 5.6.16
preg_match: 0.11899995803833 stripos: 0.065645933151245
Output for 5.6.15
preg_match: 0.12114810943604 stripos: 0.068053960800171
Output for 5.6.14
preg_match: 0.11821103096008 stripos: 0.071008920669556
Output for 5.6.13
preg_match: 0.11892199516296 stripos: 0.066384077072144
Output for 5.6.12
preg_match: 0.11813592910767 stripos: 0.065630912780762
Output for 5.6.11
preg_match: 0.12030291557312 stripos: 0.067637920379639
Output for 5.6.10
preg_match: 0.12722015380859 stripos: 0.068597078323364
Output for 5.6.9
preg_match: 0.12540888786316 stripos: 0.069167852401733
Output for 5.6.8
preg_match: 0.099852085113525 stripos: 0.063513994216919
Output for 5.6.7
preg_match: 0.082312107086182 stripos: 0.05573582649231
Output for 5.6.6
preg_match: 0.10483503341675 stripos: 0.067067861557007
Output for 5.6.5
preg_match: 0.08185601234436 stripos: 0.051891803741455
Output for 5.6.4
preg_match: 0.084762811660767 stripos: 0.054369926452637
Output for 5.6.3
preg_match: 0.085050106048584 stripos: 0.054455995559692
Output for 5.6.2
preg_match: 0.095408916473389 stripos: 0.055052995681763
Output for 5.6.1
preg_match: 0.12161302566528 stripos: 0.060712099075317
Output for 5.6.0
preg_match: 0.12205004692078 stripos: 0.071217060089111
Output for 5.5.36
preg_match: 0.11994004249573 stripos: 0.06650710105896
Output for 5.5.35
preg_match: 0.13827300071716 stripos: 0.070152997970581
Output for 5.5.34
preg_match: 0.14411211013794 stripos: 0.075927972793579
Output for 5.5.33
preg_match: 0.10134792327881 stripos: 0.0674729347229
Output for 5.5.32
preg_match: 0.1256799697876 stripos: 0.065280199050903
Output for 5.5.31
preg_match: 0.13104200363159 stripos: 0.070219039916992
Output for 5.5.30
preg_match: 0.12736392021179 stripos: 0.071538925170898
Output for 5.5.29
preg_match: 0.11570119857788 stripos: 0.073182821273804
Output for 5.5.28
preg_match: 0.12796998023987 stripos: 0.067408084869385
Output for 5.5.27
preg_match: 0.1013069152832 stripos: 0.066326856613159
Output for 5.5.26
preg_match: 0.12054109573364 stripos: 0.068075895309448
Output for 5.5.25
preg_match: 0.12345099449158 stripos: 0.084105014801025
Output for 5.5.24
preg_match: 0.085275173187256 stripos: 0.054874181747437
Output for 5.5.23
preg_match: 0.11923503875732 stripos: 0.067934036254883
Output for 5.5.22
preg_match: 0.085186004638672 stripos: 0.052398920059204
Output for 5.5.21
preg_match: 0.084939956665039 stripos: 0.0558180809021
Output for 5.5.20
preg_match: 0.10086512565613 stripos: 0.093988180160522
Output for 5.5.19
preg_match: 0.082383155822754 stripos: 0.055566787719727
Output for 5.5.18
preg_match: 0.091081142425537 stripos: 0.0849449634552
Output for 5.5.16
preg_match: 0.12446594238281 stripos: 0.065834045410156
Output for 5.5.15
preg_match: 0.11486911773682 stripos: 0.06630802154541
Output for 5.5.14
preg_match: 0.12942218780518 stripos: 0.07060980796814
Output for 5.5.13
preg_match: 0.1210720539093 stripos: 0.06871485710144
Output for 5.5.12
preg_match: 0.12417006492615 stripos: 0.065099954605103
Output for 5.5.11
preg_match: 0.10868096351624 stripos: 0.065869808197021
Output for 5.5.10
preg_match: 0.12532305717468 stripos: 0.069694995880127
Output for 5.5.9
preg_match: 0.10633516311646 stripos: 0.064865827560425
Output for 5.5.8
preg_match: 0.10933303833008 stripos: 0.065335988998413
Output for 5.5.7
preg_match: 0.10350894927979 stripos: 0.065419912338257
Output for 5.5.6
preg_match: 0.12405681610107 stripos: 0.066209077835083
Output for 5.5.5
preg_match: 0.11650991439819 stripos: 0.065212965011597
Output for 5.5.4
preg_match: 0.10088205337524 stripos: 0.066849946975708
Output for 5.5.3
preg_match: 0.11122298240662 stripos: 0.065908908843994
Output for 5.5.2
preg_match: 0.11155700683594 stripos: 0.066402912139893
Output for 5.5.1
preg_match: 0.10681104660034 stripos: 0.068185091018677
Output for 5.5.0
preg_match: 0.13198399543762 stripos: 0.068036079406738
Output for 5.4.45
preg_match: 0.11915397644043 stripos: 0.068781852722168
Output for 5.4.44
preg_match: 0.11810111999512 stripos: 0.06397008895874
Output for 5.4.43
preg_match: 0.11860609054565 stripos: 0.065199136734009
Output for 5.4.42
preg_match: 0.1169798374176 stripos: 0.06346607208252
Output for 5.4.41
preg_match: 0.10478591918945 stripos: 0.063382148742676
Output for 5.4.40
preg_match: 0.077819108963013 stripos: 0.053657054901123
Output for 5.4.39
preg_match: 0.080395936965942 stripos: 0.054188966751099
Output for 5.4.38
preg_match: 0.12568712234497 stripos: 0.061705827713013
Output for 5.4.37
preg_match: 0.0939781665802 stripos: 0.062194108963013
Output for 5.4.36
preg_match: 0.089745998382568 stripos: 0.065529108047485
Output for 5.4.35
preg_match: 0.084146976470947 stripos: 0.058995008468628
Output for 5.4.34
preg_match: 0.080101013183594 stripos: 0.057301044464111
Output for 5.4.32
preg_match: 0.11751389503479 stripos: 0.066061019897461
Output for 5.4.31
preg_match: 0.12531113624573 stripos: 0.068439960479736
Output for 5.4.30
preg_match: 0.11599397659302 stripos: 0.063816070556641
Output for 5.4.29
preg_match: 0.1125180721283 stripos: 0.065299987792969
Output for 5.4.28
preg_match: 0.1187732219696 stripos: 0.070549011230469
Output for 5.4.27
preg_match: 0.1181800365448 stripos: 0.065144062042236
Output for 5.4.26
preg_match: 0.11122703552246 stripos: 0.06446385383606
Output for 5.4.25
preg_match: 0.11223387718201 stripos: 0.063421010971069
Output for 5.4.24
preg_match: 0.099312782287598 stripos: 0.06461501121521
Output for 5.4.23
preg_match: 0.1003839969635 stripos: 0.064414978027344
Output for 5.4.22
preg_match: 0.10372304916382 stripos: 0.063813924789429
Output for 5.4.21
preg_match: 0.10836005210876 stripos: 0.065714120864868
Output for 5.4.20
preg_match: 0.10986995697021 stripos: 0.064425945281982
Output for 5.4.19
preg_match: 0.096530914306641 stripos: 0.064570903778076
Output for 5.4.18
preg_match: 0.12111186981201 stripos: 0.069691181182861
Output for 5.4.17
preg_match: 0.1030969619751 stripos: 0.065193176269531
Output for 5.4.16
preg_match: 0.11164903640747 stripos: 0.063617944717407
Output for 5.4.15
preg_match: 0.092810869216919 stripos: 0.065942049026489
Output for 5.4.14
preg_match: 0.12445592880249 stripos: 0.067986011505127
Output for 5.4.13
preg_match: 0.11791515350342 stripos: 0.064718008041382
Output for 5.4.12
preg_match: 0.12534379959106 stripos: 0.066320896148682
Output for 5.4.11
preg_match: 0.11825180053711 stripos: 0.068433046340942
Output for 5.4.10
preg_match: 0.10941004753113 stripos: 0.069877862930298
Output for 5.4.9
preg_match: 0.11398696899414 stripos: 0.067546844482422
Output for 5.4.8
preg_match: 0.12395405769348 stripos: 0.06713604927063
Output for 5.4.7
preg_match: 0.098610162734985 stripos: 0.066766023635864
Output for 5.4.6
preg_match: 0.12247586250305 stripos: 0.069977045059204
Output for 5.4.5
preg_match: 0.12969207763672 stripos: 0.066190004348755
Output for 5.4.4
preg_match: 0.12301588058472 stripos: 0.066629886627197
Output for 5.4.3
preg_match: 0.11109399795532 stripos: 0.068136930465698
Output for 5.4.2
preg_match: 0.12836790084839 stripos: 0.06706690788269
Output for 5.4.1
preg_match: 0.10585188865662 stripos: 0.065937995910645
Output for 5.4.0
preg_match: 0.097844123840332 stripos: 0.066262006759644
Output for 5.3.29
preg_match: 0.1214439868927 stripos: 0.073365926742554
Output for 5.3.28
preg_match: 0.13933205604553 stripos: 0.088857173919678
Output for 5.3.27
preg_match: 0.1479640007019 stripos: 0.088008165359497
Output for 5.3.26
preg_match: 0.13607907295227 stripos: 0.089448928833008
Output for 5.3.25
preg_match: 0.13014388084412 stripos: 0.087971925735474
Output for 5.3.24
preg_match: 0.13831520080566 stripos: 0.089920997619629
Output for 5.3.23
preg_match: 0.14671397209167 stripos: 0.086784839630127
Output for 5.3.22
preg_match: 0.13680696487427 stripos: 0.10154485702515
Output for 5.3.21
preg_match: 0.13754105567932 stripos: 0.091763973236084
Output for 5.3.20
preg_match: 0.14596199989319 stripos: 0.089916944503784
Output for 5.3.19
preg_match: 0.15125012397766 stripos: 0.091483116149902
Output for 5.3.18
preg_match: 0.14486813545227 stripos: 0.090081930160522
Output for 5.3.17
preg_match: 0.14801692962646 stripos: 0.091353893280029
Output for 5.3.16
preg_match: 0.14802002906799 stripos: 0.089545965194702
Output for 5.3.15
preg_match: 0.14962697029114 stripos: 0.092586994171143
Output for 5.3.14
preg_match: 0.12843298912048 stripos: 0.094342947006226
Output for 5.3.13
preg_match: 0.15218496322632 stripos: 0.097516775131226
Output for 5.3.12
preg_match: 0.13267993927002 stripos: 0.11083221435547
Output for 5.3.11
preg_match: 0.14119505882263 stripos: 0.090802907943726
Output for 5.3.10
preg_match: 0.12130904197693 stripos: 0.090852022171021
Output for 5.3.9
preg_match: 0.12084317207336 stripos: 0.089410066604614
Output for 5.3.8
preg_match: 0.14411616325378 stripos: 0.090196132659912
Output for 5.3.7
preg_match: 0.12357711791992 stripos: 0.088709831237793
Output for 5.3.6
preg_match: 0.13815212249756 stripos: 0.090729951858521
Output for 5.3.5
preg_match: 0.13766407966614 stripos: 0.090520143508911
Output for 5.3.4
preg_match: 0.12299489974976 stripos: 0.09338903427124
Output for 5.3.3
preg_match: 0.12438702583313 stripos: 0.092211961746216
Output for 5.3.2
preg_match: 0.11860799789429 stripos: 0.097198963165283
Output for 5.3.1
preg_match: 0.14509797096252 stripos: 0.091718912124634
Output for 5.3.0
preg_match: 0.14811110496521 stripos: 0.088810920715332
Output for 5.2.17
preg_match: 0.14014601707458 stripos: 0.092128038406372
Output for 5.2.16
preg_match: 0.15284299850464 stripos: 0.09201192855835
Output for 5.2.15
preg_match: 0.15780401229858 stripos: 0.092504978179932
Output for 5.2.14
preg_match: 0.15064978599548 stripos: 0.091992855072021
Output for 5.2.13
preg_match: 0.15808892250061 stripos: 0.096623182296753
Output for 5.2.12
preg_match: 0.13740491867065 stripos: 0.092768907546997
Output for 5.2.11
preg_match: 0.12101316452026 stripos: 0.091418027877808
Output for 5.2.10
preg_match: 0.15503311157227 stripos: 0.096769094467163
Output for 5.2.9
preg_match: 0.14646887779236 stripos: 0.092137098312378
Output for 5.2.8
preg_match: 0.15283203125 stripos: 0.091722011566162
Output for 5.2.7
preg_match: 0.15394902229309 stripos: 0.090000152587891
Output for 5.2.6
preg_match: 0.13830900192261 stripos: 0.09012508392334
Output for 5.2.5
preg_match: 0.12014389038086 stripos: 0.090089082717896
Output for 5.2.4
preg_match: 0.12119102478027 stripos: 0.090929985046387
Output for 5.2.3
preg_match: 0.15259695053101 stripos: 0.097624063491821
Output for 5.2.2
preg_match: 0.13203001022339 stripos: 0.094627141952515
Output for 5.2.1
preg_match: 0.15174603462219 stripos: 0.092657089233398
Output for 5.2.0
preg_match: 0.13567090034485 stripos: 0.091691970825195
Output for 5.1.6
preg_match: 0.13505697250366 stripos: 0.089154005050659
Output for 5.1.5
preg_match: 0.13533496856689 stripos: 0.085442066192627
Output for 5.1.4
preg_match: 0.15370416641235 stripos: 0.088216066360474
Output for 5.1.3
preg_match: 0.15116000175476 stripos: 0.088706016540527
Output for 5.1.2
preg_match: 0.13033413887024 stripos: 0.089263916015625
Output for 5.1.1
preg_match: 0.12295913696289 stripos: 0.086916923522949
Output for 5.1.0
preg_match: 0.15478801727295 stripos: 0.09033203125
Output for 5.0.5
preg_match: 0.17475581169128 stripos: 0.11325287818909
Output for 5.0.4
preg_match: 0.16945886611938 stripos: 0.11273407936096
Output for 5.0.3
preg_match: 0.14565396308899 stripos: 0.10766386985779
Output for 5.0.2
preg_match: 0.17021489143372 stripos: 0.10837817192078
Output for 5.0.1
preg_match: 0.16314697265625 stripos: 0.11189818382263
Output for 5.0.0
preg_match: 0.15301704406738 stripos: 0.10869789123535
Output for 4.4.9
preg_match: 0.167678 Fatal error: Call to undefined function: stripos() in /in/nqqOX on line 16
Process exited with code 255.
Output for 4.4.8
preg_match: 0.177814 Fatal error: Call to undefined function: stripos() in /in/nqqOX on line 16
Process exited with code 255.
Output for 4.4.7
preg_match: -0.810468 Fatal error: Call to undefined function: stripos() in /in/nqqOX on line 16
Process exited with code 255.
Output for 4.4.6
preg_match: 0.183425 Fatal error: Call to undefined function: stripos() in /in/nqqOX on line 16
Process exited with code 255.
Output for 4.4.5
preg_match: 0.157662 Fatal error: Call to undefined function: stripos() in /in/nqqOX on line 16
Process exited with code 255.
Output for 4.4.4
preg_match: -0.821526 Fatal error: Call to undefined function: stripos() in /in/nqqOX on line 16
Process exited with code 255.
Output for 4.4.3
preg_match: 0.174222 Fatal error: Call to undefined function: stripos() in /in/nqqOX on line 16
Process exited with code 255.
Output for 4.4.2
preg_match: 0.169765 Fatal error: Call to undefined function: stripos() in /in/nqqOX on line 16
Process exited with code 255.
Output for 4.4.1
preg_match: 0.189232 Fatal error: Call to undefined function: stripos() in /in/nqqOX on line 16
Process exited with code 255.
Output for 4.4.0
preg_match: 0.159709 Fatal error: Call to undefined function: stripos() in /in/nqqOX on line 16
Process exited with code 255.
Output for 4.3.11
preg_match: 0.171919 Fatal error: Call to undefined function: stripos() in /in/nqqOX on line 16
Process exited with code 255.
Output for 4.3.10
preg_match: 0.170991 Fatal error: Call to undefined function: stripos() in /in/nqqOX on line 16
Process exited with code 255.
Output for 4.3.9
preg_match: 0.168347 Fatal error: Call to undefined function: stripos() in /in/nqqOX on line 16
Process exited with code 255.
Output for 4.3.8
preg_match: 0.158869 Fatal error: Call to undefined function: stripos() in /in/nqqOX on line 16
Process exited with code 255.
Output for 4.3.7
preg_match: 0.152872 Fatal error: Call to undefined function: stripos() in /in/nqqOX on line 16
Process exited with code 255.
Output for 4.3.6
preg_match: 0.164353 Fatal error: Call to undefined function: stripos() in /in/nqqOX on line 16
Process exited with code 255.
Output for 4.3.5
preg_match: 0.160292 Fatal error: Call to undefined function: stripos() in /in/nqqOX on line 16
Process exited with code 255.
Output for 4.3.4
preg_match: 0.150589 Fatal error: Call to undefined function: stripos() in /in/nqqOX on line 16
Process exited with code 255.
Output for 4.3.3
preg_match: -0.835726 Fatal error: Call to undefined function: stripos() in /in/nqqOX on line 16
Process exited with code 255.
Output for 4.3.2
preg_match: 0.117708 Fatal error: Call to undefined function: stripos() in /in/nqqOX on line 16
Process exited with code 255.
Output for 4.3.1
preg_match: 0.13144 Fatal error: Call to undefined function: stripos() in /in/nqqOX on line 16
Output for 4.3.0
preg_match: 0.150639 Fatal error: Call to undefined function: stripos() in /in/nqqOX on line 16