3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $t = microtime(true); for ($i = 0; $i < 9000; $i++) { preg_match('/^[^\:]+(\:[^\:]+)*$/', '12345678901234567890:12345678901234567890'); preg_match('/^[^\:]+(\:[^\:]+)*$/', '1234567890123456789012345678901234567890:'); } echo (microtime(true) - $t);
Output for 7.1.0
0.00701904296875
Output for 7.0.14
0.0069031715393066
Output for 7.0.6
0.0074379444122314
Output for 7.0.5
0.0072641372680664
Output for 7.0.4
0.0057978630065918
Output for 7.0.3
0.0045459270477295
Output for 7.0.2
0.0047788619995117
Output for 7.0.1
0.003838062286377
Output for 7.0.0
0.0039188861846924
Output for 5.6.28
0.036476850509644
Output for 5.6.21
0.031591892242432
Output for 5.6.20
0.03036904335022
Output for 5.6.19
0.031727075576782
Output for 5.6.18
0.020689010620117
Output for 5.6.17
0.021152973175049
Output for 5.6.16
0.020822048187256
Output for 5.6.15
0.018779039382935
Output for 5.6.14
0.016998052597046
Output for 5.6.13
0.016888856887817
Output for 5.6.12
0.017441034317017
Output for 5.6.11
0.016940116882324
Output for 5.6.10
0.017385005950928
Output for 5.6.9
0.017055034637451
Output for 5.6.8
0.019507169723511
Output for 5.6.7
0.026989936828613
Output for 5.6.6
0.026682138442993
Output for 5.6.5
0.026956081390381
Output for 5.6.4
0.032241106033325
Output for 5.6.3
0.029836893081665
Output for 5.6.2
0.026427984237671
Output for 5.6.1
0.024703025817871
Output for 5.6.0
0.027282953262329
Output for 5.5.35
0.030426025390625
Output for 5.5.34
0.029863119125366
Output for 5.5.33
0.023499011993408
Output for 5.5.32
0.020575046539307
Output for 5.5.31
0.021796941757202
Output for 5.5.30
0.017367839813232
Output for 5.5.29
0.026993036270142
Output for 5.5.28
0.016899108886719
Output for 5.5.27
0.016991853713989
Output for 5.5.26
0.022871017456055
Output for 5.5.25
0.016955137252808
Output for 5.5.24
0.017133951187134
Output for 5.5.23
0.026796102523804
Output for 5.5.22
0.027308940887451
Output for 5.5.21
0.02744197845459
Output for 5.5.20
0.029964923858643
Output for 5.5.19
0.031512975692749
Output for 5.5.18
0.027180910110474
Output for 5.5.16
0.031201124191284
Output for 5.5.15
0.030129909515381
Output for 5.5.14
0.028811931610107
Output for 5.5.13
0.029876947402954
Output for 5.5.12
0.032566785812378
Output for 5.5.11
0.031432867050171
Output for 5.5.10
0.032586097717285
Output for 5.5.9
0.031754016876221
Output for 5.5.8
0.031404972076416
Output for 5.5.7
0.030406951904297
Output for 5.5.6
0.030294179916382
Output for 5.5.5
0.027302980422974
Output for 5.5.4
0.020888090133667
Output for 5.5.3
0.029590129852295
Output for 5.5.2
0.030606031417847
Output for 5.5.1
0.03103494644165
Output for 5.5.0
0.031541109085083
Output for 5.4.45
0.015188932418823
Output for 5.4.44
0.02386999130249
Output for 5.4.43
0.017506837844849
Output for 5.4.42
0.015576839447021
Output for 5.4.41
0.015275955200195
Output for 5.4.40
0.02184009552002
Output for 5.4.39
0.023406028747559
Output for 5.4.38
0.024227142333984
Output for 5.4.37
0.029521942138672
Output for 5.4.36
0.02360200881958
Output for 5.4.35
0.018561124801636
Output for 5.4.34
0.020495891571045
Output for 5.4.32
0.029287099838257
Output for 5.4.31
0.026901006698608
Output for 5.4.30
0.029330968856812
Output for 5.4.29
0.029035091400146
Output for 5.4.28
0.028991937637329
Output for 5.4.27
0.025105953216553
Output for 5.4.26
0.02927303314209
Output for 5.4.25
0.029572010040283
Output for 5.4.24
0.029160022735596
Output for 5.4.23
0.029409885406494
Output for 5.4.22
0.019665956497192
Output for 5.4.21
0.028786182403564
Output for 5.4.20
0.027318954467773
Output for 5.4.19
0.027734994888306
Output for 5.4.18
0.029423952102661
Output for 5.4.17
0.029339075088501
Output for 5.4.16
0.028048992156982
Output for 5.4.15
0.028158187866211
Output for 5.4.14
0.030802965164185
Output for 5.4.13
0.031344890594482
Output for 5.4.12
0.031631946563721
Output for 5.4.11
0.027358055114746
Output for 5.4.10
0.029656887054443
Output for 5.4.9
0.030021190643311
Output for 5.4.8
0.030400991439819
Output for 5.4.7
0.032780885696411
Output for 5.4.6
0.035593032836914
Output for 5.4.5
0.02133584022522
Output for 5.4.4
0.021413087844849
Output for 5.4.3
0.024831056594849
Output for 5.4.2
0.030597925186157
Output for 5.4.1
0.033829212188721
Output for 5.4.0
0.031843185424805
Output for 5.3.29
0.030611991882324
Output for 5.3.28
0.030263900756836
Output for 5.3.27
0.032655000686646
Output for 5.3.26
0.028439044952393
Output for 5.3.25
0.030675172805786
Output for 5.3.24
0.030349016189575
Output for 5.3.23
0.030939102172852
Output for 5.3.22
0.028377056121826
Output for 5.3.21
0.027981042861938
Output for 5.3.20
0.029442071914673
Output for 5.3.19
0.024534940719604
Output for 5.3.18
0.021842002868652
Output for 5.3.17
0.026578187942505
Output for 5.3.16
0.030613899230957
Output for 5.3.15
0.029649019241333
Output for 5.3.14
0.029191017150879
Output for 5.3.13
0.029792785644531
Output for 5.3.12
0.028923988342285
Output for 5.3.11
0.027868032455444
Output for 5.3.10
0.026541948318481
Output for 5.3.9
0.029715061187744
Output for 5.3.8
0.036664009094238
Output for 5.3.7
0.030750036239624
Output for 5.3.6
0.030259132385254
Output for 5.3.5
0.030564069747925
Output for 5.3.4
0.031679153442383
Output for 5.3.3
0.019038915634155
Output for 5.3.2
0.028107881546021
Output for 5.3.1
0.031661033630371
Output for 5.3.0
0.03035306930542
Output for 5.2.17
0.029449939727783
Output for 5.2.16
0.032310009002686
Output for 5.2.15
0.029764890670776
Output for 5.2.14
0.029499053955078
Output for 5.2.13
0.030848026275635
Output for 5.2.12
0.031322002410889
Output for 5.2.11
0.033516883850098
Output for 5.2.10
0.031960010528564
Output for 5.2.9
0.025894165039062
Output for 5.2.8
0.031943082809448
Output for 5.2.7
0.032575845718384
Output for 5.2.6
0.030518054962158
Output for 5.2.5
0.029618978500366
Output for 5.2.4
0.029556035995483
Output for 5.2.3
0.027188062667847
Output for 5.2.2
0.02214503288269
Output for 5.2.1
0.029767990112305
Output for 5.2.0
0.030560970306396
Output for 5.1.6
0.029381036758423
Output for 5.1.5
0.031081914901733
Output for 5.1.4
0.025860071182251
Output for 5.1.3
0.029736995697021
Output for 5.1.2
0.026913166046143
Output for 5.1.1
0.030040979385376
Output for 5.1.0
0.030143976211548
Output for 5.0.5
0.0365149974823
Output for 5.0.4
0.033535003662109
Output for 5.0.3
0.025949001312256
Output for 5.0.2
0.033430099487305
Output for 5.0.1
0.031723976135254
Output for 5.0.0
0.028978109359741
Output for 4.4.9
0.033477
Output for 4.4.8
0.03741
Output for 4.4.7
0.021819
Output for 4.4.6
0.037694
Output for 4.4.5
0.037975
Output for 4.4.4
0.033732
Output for 4.4.3
0.034895
Output for 4.4.2
0.038431
Output for 4.4.1
0.036426
Output for 4.4.0
0.032561
Output for 4.3.11
0.034819
Output for 4.3.10
0.032835
Output for 4.3.9
0.03456
Output for 4.3.8
0.030617
Output for 4.3.7
0.034796
Output for 4.3.6
0.031328
Output for 4.3.5
0.03326
Output for 4.3.4
0.028605
Output for 4.3.3
0.030925
Output for 4.3.2
0.030578
Output for 4.3.1
0.031236
Output for 4.3.0
0.032836