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 < 10000) { 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 < 10000) { 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.0042040348052979 stripos: 0.0049481391906738
Output for 7.0.14
preg_match: 0.0051350593566895 stripos: 0.0070121288299561
Output for 7.0.6
preg_match: 0.0076489448547363 stripos: 0.0052781105041504
Output for 7.0.5
preg_match: 0.0064318180084229 stripos: 0.0048599243164062
Output for 7.0.4
preg_match: 0.0052947998046875 stripos: 0.004025936126709
Output for 7.0.3
preg_match: 0.0044019222259521 stripos: 0.0034010410308838
Output for 7.0.2
preg_match: 0.0056779384613037 stripos: 0.0042829513549805
Output for 7.0.1
preg_match: 0.0052688121795654 stripos: 0.0039329528808594
Output for 7.0.0
preg_match: 0.0068771839141846 stripos: 0.0050058364868164
Output for 5.6.28
preg_match: 0.017098903656006 stripos: 0.0092449188232422
Output for 5.6.21
preg_match: 0.013834953308105 stripos: 0.0091919898986816
Output for 5.6.20
preg_match: 0.016237020492554 stripos: 0.010550975799561
Output for 5.6.19
preg_match: 0.014189958572388 stripos: 0.0086479187011719
Output for 5.6.18
preg_match: 0.01272988319397 stripos: 0.0085949897766113
Output for 5.6.17
preg_match: 0.01400089263916 stripos: 0.0079739093780518
Output for 5.6.16
preg_match: 0.015735149383545 stripos: 0.010047912597656
Output for 5.6.15
preg_match: 0.013844966888428 stripos: 0.0091588497161865
Output for 5.6.14
preg_match: 0.01508903503418 stripos: 0.0098800659179688
Output for 5.6.13
preg_match: 0.015439987182617 stripos: 0.0097870826721191
Output for 5.6.12
preg_match: 0.010097026824951 stripos: 0.0065360069274902
Output for 5.6.11
preg_match: 0.0098781585693359 stripos: 0.0068120956420898
Output for 5.6.10
preg_match: 0.014567852020264 stripos: 0.0099999904632568
Output for 5.6.9
preg_match: 0.0099668502807617 stripos: 0.0066640377044678
Output for 5.6.8
preg_match: 0.015105962753296 stripos: 0.0091450214385986
Output for 5.6.7
preg_match: 0.015145063400269 stripos: 0.010066986083984
Output for 5.6.6
preg_match: 0.014952898025513 stripos: 0.0094690322875977
Output for 5.6.5
preg_match: 0.015329122543335 stripos: 0.0092589855194092
Output for 5.6.4
preg_match: 0.015347957611084 stripos: 0.0093369483947754
Output for 5.6.3
preg_match: 0.014631986618042 stripos: 0.0085928440093994
Output for 5.6.2
preg_match: 0.016283988952637 stripos: 0.010288953781128
Output for 5.6.1
preg_match: 0.011878967285156 stripos: 0.0076320171356201
Output for 5.6.0
preg_match: 0.014924049377441 stripos: 0.0083150863647461
Output for 5.5.35
preg_match: 0.010550975799561 stripos: 0.0067548751831055
Output for 5.5.34
preg_match: 0.014056921005249 stripos: 0.0088779926300049
Output for 5.5.33
preg_match: 0.014024019241333 stripos: 0.0093131065368652
Output for 5.5.32
preg_match: 0.016102075576782 stripos: 0.0085430145263672
Output for 5.5.31
preg_match: 0.015695095062256 stripos: 0.010000944137573
Output for 5.5.30
preg_match: 0.010136842727661 stripos: 0.0067191123962402
Output for 5.5.29
preg_match: 0.010067939758301 stripos: 0.0068349838256836
Output for 5.5.28
preg_match: 0.013980865478516 stripos: 0.0088357925415039
Output for 5.5.27
preg_match: 0.013160943984985 stripos: 0.0087790489196777
Output for 5.5.26
preg_match: 0.015132904052734 stripos: 0.011008024215698
Output for 5.5.25
preg_match: 0.011337995529175 stripos: 0.0072381496429443
Output for 5.5.24
preg_match: 0.015568971633911 stripos: 0.0094470977783203
Output for 5.5.23
preg_match: 0.015305042266846 stripos: 0.0084199905395508
Output for 5.5.22
preg_match: 0.013213157653809 stripos: 0.0091888904571533
Output for 5.5.21
preg_match: 0.015801906585693 stripos: 0.0099859237670898
Output for 5.5.20
preg_match: 0.016378879547119 stripos: 0.010046005249023
Output for 5.5.19
preg_match: 0.015115022659302 stripos: 0.0097141265869141
Output for 5.5.18
preg_match: 0.016066074371338 stripos: 0.010033845901489
Output for 5.5.16
preg_match: 0.010647058486938 stripos: 0.0068130493164062
Output for 5.5.15
preg_match: 0.015810966491699 stripos: 0.0091500282287598
Output for 5.5.14
preg_match: 0.014971971511841 stripos: 0.0094640254974365
Output for 5.5.13
preg_match: 0.015691995620728 stripos: 0.0097780227661133
Output for 5.5.12
preg_match: 0.016029119491577 stripos: 0.0098879337310791
Output for 5.5.11
preg_match: 0.014287948608398 stripos: 0.0081582069396973
Output for 5.5.10
preg_match: 0.015596151351929 stripos: 0.0096719264984131
Output for 5.5.9
preg_match: 0.015372037887573 stripos: 0.0086078643798828
Output for 5.5.8
preg_match: 0.010110855102539 stripos: 0.0066630840301514
Output for 5.5.7
preg_match: 0.010154008865356 stripos: 0.0066268444061279
Output for 5.5.6
preg_match: 0.015958070755005 stripos: 0.0097031593322754
Output for 5.5.5
preg_match: 0.016134023666382 stripos: 0.0098741054534912
Output for 5.5.4
preg_match: 0.014077186584473 stripos: 0.0087959766387939
Output for 5.5.3
preg_match: 0.01610279083252 stripos: 0.0098710060119629
Output for 5.5.2
preg_match: 0.01256799697876 stripos: 0.008152961730957
Output for 5.5.1
preg_match: 0.016255140304565 stripos: 0.010235071182251
Output for 5.5.0
preg_match: 0.01005482673645 stripos: 0.0065500736236572
Output for 5.4.45
preg_match: 0.016932964324951 stripos: 0.0095040798187256
Output for 5.4.44
preg_match: 0.013890027999878 stripos: 0.0077719688415527
Output for 5.4.43
preg_match: 0.01093602180481 stripos: 0.0065150260925293
Output for 5.4.42
preg_match: 0.017107009887695 stripos: 0.0094139575958252
Output for 5.4.41
preg_match: 0.016731977462769 stripos: 0.0092449188232422
Output for 5.4.40
preg_match: 0.016611099243164 stripos: 0.0095820426940918
Output for 5.4.39
preg_match: 0.016746997833252 stripos: 0.0094561576843262
Output for 5.4.38
preg_match: 0.015886068344116 stripos: 0.0086669921875
Output for 5.4.37
preg_match: 0.015021085739136 stripos: 0.0084130764007568
Output for 5.4.36
preg_match: 0.014747858047485 stripos: 0.0068089962005615
Output for 5.4.35
preg_match: 0.016479969024658 stripos: 0.0095109939575195
Output for 5.4.34
preg_match: 0.017149925231934 stripos: 0.010458946228027
Output for 5.4.32
preg_match: 0.016763925552368 stripos: 0.0093319416046143
Output for 5.4.31
preg_match: 0.014447927474976 stripos: 0.0083889961242676
Output for 5.4.30
preg_match: 0.017385005950928 stripos: 0.0096311569213867
Output for 5.4.29
preg_match: 0.016477108001709 stripos: 0.0092921257019043
Output for 5.4.28
preg_match: 0.016427993774414 stripos: 0.0094518661499023
Output for 5.4.27
preg_match: 0.014475107192993 stripos: 0.0086028575897217
Output for 5.4.26
preg_match: 0.016912937164307 stripos: 0.0098309516906738
Output for 5.4.25
preg_match: 0.015619039535522 stripos: 0.0088088512420654
Output for 5.4.24
preg_match: 0.016134023666382 stripos: 0.009058952331543
Output for 5.4.23
preg_match: 0.014816999435425 stripos: 0.0083498954772949
Output for 5.4.22
preg_match: 0.017021894454956 stripos: 0.0094780921936035
Output for 5.4.21
preg_match: 0.016891002655029 stripos: 0.009943962097168
Output for 5.4.20
preg_match: 0.016283988952637 stripos: 0.0092117786407471
Output for 5.4.19
preg_match: 0.016996145248413 stripos: 0.0096361637115479
Output for 5.4.18
preg_match: 0.017354011535645 stripos: 0.010416984558105
Output for 5.4.17
preg_match: 0.010952949523926 stripos: 0.0065419673919678
Output for 5.4.16
preg_match: 0.010769128799438 stripos: 0.0066030025482178
Output for 5.4.15
preg_match: 0.017143964767456 stripos: 0.0097999572753906
Output for 5.4.14
preg_match: 0.016715049743652 stripos: 0.0094690322875977
Output for 5.4.13
preg_match: 0.018676996231079 stripos: 0.010101079940796
Output for 5.4.12
preg_match: 0.011301040649414 stripos: 0.006580114364624
Output for 5.4.11
preg_match: 0.017349004745483 stripos: 0.010495901107788
Output for 5.4.10
preg_match: 0.015721797943115 stripos: 0.0091209411621094
Output for 5.4.9
preg_match: 0.01422905921936 stripos: 0.0088210105895996
Output for 5.4.8
preg_match: 0.018288135528564 stripos: 0.010303974151611
Output for 5.4.7
preg_match: 0.015561103820801 stripos: 0.0089218616485596
Output for 5.4.6
preg_match: 0.017468929290771 stripos: 0.0093059539794922
Output for 5.4.5
preg_match: 0.016287803649902 stripos: 0.0095341205596924
Output for 5.4.4
preg_match: 0.011295080184937 stripos: 0.0066471099853516
Output for 5.4.3
preg_match: 0.011152029037476 stripos: 0.0066249370574951
Output for 5.4.2
preg_match: 0.015830039978027 stripos: 0.009166955947876
Output for 5.4.1
preg_match: 0.010931968688965 stripos: 0.0064449310302734
Output for 5.4.0
preg_match: 0.011147022247314 stripos: 0.0067348480224609
Output for 5.3.29
preg_match: 0.011966943740845 stripos: 0.0088191032409668
Output for 5.3.28
preg_match: 0.020196914672852 stripos: 0.013546943664551
Output for 5.3.27
preg_match: 0.017401933670044 stripos: 0.011595964431763
Output for 5.3.26
preg_match: 0.020404100418091 stripos: 0.013982057571411
Output for 5.3.25
preg_match: 0.018955945968628 stripos: 0.013003826141357
Output for 5.3.24
preg_match: 0.012882947921753 stripos: 0.009537935256958
Output for 5.3.23
preg_match: 0.019366025924683 stripos: 0.011184930801392
Output for 5.3.22
preg_match: 0.016361951828003 stripos: 0.012423992156982
Output for 5.3.21
preg_match: 0.018826961517334 stripos: 0.012200832366943
Output for 5.3.20
preg_match: 0.012027025222778 stripos: 0.009052038192749
Output for 5.3.19
preg_match: 0.012538194656372 stripos: 0.0098958015441895
Output for 5.3.18
preg_match: 0.012080192565918 stripos: 0.0093460083007812
Output for 5.3.17
preg_match: 0.012248039245605 stripos: 0.0092260837554932
Output for 5.3.16
preg_match: 0.012935161590576 stripos: 0.0095579624176025
Output for 5.3.15
preg_match: 0.012197971343994 stripos: 0.0092968940734863
Output for 5.3.14
preg_match: 0.012677907943726 stripos: 0.0096161365509033
Output for 5.3.13
preg_match: 0.011876821517944 stripos: 0.0089690685272217
Output for 5.3.12
preg_match: 0.015917778015137 stripos: 0.011538982391357
Output for 5.3.11
preg_match: 0.013936042785645 stripos: 0.0090670585632324
Output for 5.3.10
preg_match: 0.011887073516846 stripos: 0.0088901519775391
Output for 5.3.9
preg_match: 0.012137889862061 stripos: 0.0090148448944092
Output for 5.3.8
preg_match: 0.011658906936646 stripos: 0.0087189674377441
Output for 5.3.7
preg_match: 0.012309074401855 stripos: 0.0092768669128418
Output for 5.3.6
preg_match: 0.012540102005005 stripos: 0.0093660354614258
Output for 5.3.5
preg_match: 0.011518001556396 stripos: 0.0087440013885498
Output for 5.3.4
preg_match: 0.015635967254639 stripos: 0.011511087417603
Output for 5.3.3
preg_match: 0.012639045715332 stripos: 0.0094001293182373
Output for 5.3.2
preg_match: 0.01151704788208 stripos: 0.0085709095001221
Output for 5.3.1
preg_match: 0.011651992797852 stripos: 0.0086739063262939
Output for 5.3.0
preg_match: 0.011651992797852 stripos: 0.0088701248168945
Output for 5.2.17
preg_match: 0.016516923904419 stripos: 0.011741876602173
Output for 5.2.16
preg_match: 0.012425184249878 stripos: 0.0089321136474609
Output for 5.2.15
preg_match: 0.011953830718994 stripos: 0.0088880062103271
Output for 5.2.14
preg_match: 0.012371063232422 stripos: 0.0087988376617432
Output for 5.2.13
preg_match: 0.01685905456543 stripos: 0.011960983276367
Output for 5.2.12
preg_match: 0.011900901794434 stripos: 0.0089931488037109
Output for 5.2.11
preg_match: 0.01166820526123 stripos: 0.0089480876922607
Output for 5.2.10
preg_match: 0.012372016906738 stripos: 0.0092771053314209
Output for 5.2.9
preg_match: 0.01336407661438 stripos: 0.010532140731812
Output for 5.2.8
preg_match: 0.011914014816284 stripos: 0.0088250637054443
Output for 5.2.7
preg_match: 0.012304782867432 stripos: 0.0091371536254883
Output for 5.2.6
preg_match: 0.011960029602051 stripos: 0.0091431140899658
Output for 5.2.5
preg_match: 0.011708974838257 stripos: 0.0087399482727051
Output for 5.2.4
preg_match: 0.011711835861206 stripos: 0.0088069438934326
Output for 5.2.3
preg_match: 0.011806011199951 stripos: 0.0088539123535156
Output for 5.2.2
preg_match: 0.01178503036499 stripos: 0.0090711116790771
Output for 5.2.1
preg_match: 0.01290488243103 stripos: 0.0094091892242432
Output for 5.2.0
preg_match: 0.011875867843628 stripos: 0.0090720653533936
Output for 5.1.6
preg_match: 0.019046068191528 stripos: 0.013144969940186
Output for 5.1.5
preg_match: 0.020407915115356 stripos: 0.013779878616333
Output for 5.1.4
preg_match: 0.020794868469238 stripos: 0.014207124710083
Output for 5.1.3
preg_match: 0.018048048019409 stripos: 0.01307201385498
Output for 5.1.2
preg_match: 0.020785093307495 stripos: 0.013889789581299
Output for 5.1.1
preg_match: 0.01741886138916 stripos: 0.012548923492432
Output for 5.1.0
preg_match: 0.019931077957153 stripos: 0.012054920196533
Output for 5.0.5
preg_match: 0.022035121917725 stripos: 0.0157630443573
Output for 5.0.4
preg_match: 0.020987987518311 stripos: 0.016402006149292
Output for 5.0.3
preg_match: 0.017488956451416 stripos: 0.014055013656616
Output for 5.0.2
preg_match: 0.024768829345703 stripos: 0.018944025039673
Output for 5.0.1
preg_match: 0.023000001907349 stripos: 0.017974138259888
Output for 5.0.0
preg_match: 0.020412921905518 stripos: 0.015955209732056
Output for 4.4.9
preg_match: 0.014094 <br /> <b>Fatal error</b>: Call to undefined function: stripos() in <b>/in/KcJYV</b> on line <b>16</b><br />
Process exited with code 255.
Output for 4.4.8
preg_match: 0.013823 <br /> <b>Fatal error</b>: Call to undefined function: stripos() in <b>/in/KcJYV</b> on line <b>16</b><br />
Process exited with code 255.
Output for 4.4.7
preg_match: 0.013805 <br /> <b>Fatal error</b>: Call to undefined function: stripos() in <b>/in/KcJYV</b> on line <b>16</b><br />
Process exited with code 255.
Output for 4.4.6
preg_match: 0.028141 <br /> <b>Fatal error</b>: Call to undefined function: stripos() in <b>/in/KcJYV</b> on line <b>16</b><br />
Process exited with code 255.
Output for 4.4.5
preg_match: 0.017251 <br /> <b>Fatal error</b>: Call to undefined function: stripos() in <b>/in/KcJYV</b> on line <b>16</b><br />
Process exited with code 255.
Output for 4.4.4
preg_match: 0.022871 <br /> <b>Fatal error</b>: Call to undefined function: stripos() in <b>/in/KcJYV</b> on line <b>16</b><br />
Process exited with code 255.
Output for 4.4.3
preg_match: 0.027237 <br /> <b>Fatal error</b>: Call to undefined function: stripos() in <b>/in/KcJYV</b> on line <b>16</b><br />
Process exited with code 255.
Output for 4.4.2
preg_match: 0.027857 <br /> <b>Fatal error</b>: Call to undefined function: stripos() in <b>/in/KcJYV</b> on line <b>16</b><br />
Process exited with code 255.
Output for 4.4.1
preg_match: 0.027121 <br /> <b>Fatal error</b>: Call to undefined function: stripos() in <b>/in/KcJYV</b> on line <b>16</b><br />
Process exited with code 255.
Output for 4.4.0
preg_match: 0.014202 <br /> <b>Fatal error</b>: Call to undefined function: stripos() in <b>/in/KcJYV</b> on line <b>16</b><br />
Process exited with code 255.
Output for 4.3.11
preg_match: 0.024121 <br /> <b>Fatal error</b>: Call to undefined function: stripos() in <b>/in/KcJYV</b> on line <b>16</b><br />
Process exited with code 255.
Output for 4.3.10
preg_match: 0.023592 <br /> <b>Fatal error</b>: Call to undefined function: stripos() in <b>/in/KcJYV</b> on line <b>16</b><br />
Process exited with code 255.
Output for 4.3.9
preg_match: 0.022269 <br /> <b>Fatal error</b>: Call to undefined function: stripos() in <b>/in/KcJYV</b> on line <b>16</b><br />
Process exited with code 255.
Output for 4.3.8
preg_match: 0.015819 <br /> <b>Fatal error</b>: Call to undefined function: stripos() in <b>/in/KcJYV</b> on line <b>16</b><br />
Process exited with code 255.
Output for 4.3.7
preg_match: 0.024592 <br /> <b>Fatal error</b>: Call to undefined function: stripos() in <b>/in/KcJYV</b> on line <b>16</b><br />
Process exited with code 255.
Output for 4.3.6
preg_match: 0.018756 <br /> <b>Fatal error</b>: Call to undefined function: stripos() in <b>/in/KcJYV</b> on line <b>16</b><br />
Process exited with code 255.
Output for 4.3.5
preg_match: 0.023317 <br /> <b>Fatal error</b>: Call to undefined function: stripos() in <b>/in/KcJYV</b> on line <b>16</b><br />
Process exited with code 255.
Output for 4.3.4
preg_match: 0.018834 <br /> <b>Fatal error</b>: Call to undefined function: stripos() in <b>/in/KcJYV</b> on line <b>16</b><br />
Process exited with code 255.
Output for 4.3.3
preg_match: 0.025966 <br /> <b>Fatal error</b>: Call to undefined function: stripos() in <b>/in/KcJYV</b> on line <b>16</b><br />
Process exited with code 255.
Output for 4.3.2
preg_match: 0.021197 <br /> <b>Fatal error</b>: Call to undefined function: stripos() in <b>/in/KcJYV</b> on line <b>16</b><br />
Process exited with code 255.
Output for 4.3.1
preg_match: 0.020392 <br /> <b>Fatal error</b>: Call to undefined function: stripos() in <b>/in/KcJYV</b> on line <b>16</b><br />
Output for 4.3.0
preg_match: 0.021298 <br /> <b>Fatal error</b>: Call to undefined function: stripos() in <b>/in/KcJYV</b> on line <b>16</b><br />