3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $t = microtime(true); for ($i = 0; $i < 1000; $i++) { preg_match('/^[^\:]++(\:[^\:]++)*$/', '12345678901234567890:12345678901234567890'); } echo (microtime(true) - $t);
Output for 7.1.0
0.00028491020202637
Output for 7.0.14
0.00028109550476074
Output for 7.0.7
0.00040817260742188
Output for 7.0.6
0.00035619735717773
Output for 7.0.5
0.0003361701965332
Output for 7.0.4
0.00032901763916016
Output for 7.0.3
0.00033402442932129
Output for 7.0.2
0.00036501884460449
Output for 7.0.1
0.00040102005004883
Output for 7.0.0
0.00024604797363281
Output for hhvm-3.12.0
0.00031900405883789
Output for hhvm-3.10.0
0.00034403800964355
Output for 5.6.28
0.00079989433288574
Output for 5.6.22
0.0007469654083252
Output for 5.6.21
0.00074195861816406
Output for 5.6.20
0.000701904296875
Output for 5.6.19
0.00077319145202637
Output for 5.4.7, 5.4.32, 5.5.22 - 5.5.23, 5.6.18
0.00072908401489258
Output for 5.6.17
0.00063705444335938
Output for 5.6.16
0.00064492225646973
Output for 5.6.15
0.00077104568481445
Output for 5.4.36, 5.5.0, 5.6.14
0.0007328987121582
Output for 5.5.4, 5.6.13
0.00069999694824219
Output for 5.6.12
0.00069880485534668
Output for 5.6.11
0.0014231204986572
Output for 5.6.10
0.00073099136352539
Output for 5.3.2, 5.4.5, 5.6.9
0.00075101852416992
Output for 5.6.8
0.0007331371307373
Output for 5.6.7
0.0008089542388916
Output for 5.6.6
0.00069308280944824
Output for 5.6.5
0.00077414512634277
Output for 5.5.3, 5.6.4
0.00075602531433105
Output for 5.6.3
0.00081205368041992
Output for 5.6.2
0.00069212913513184
Output for 5.6.1
0.00075793266296387
Output for 5.4.9, 5.6.0
0.00076580047607422
Output for 5.5.36
0.00088620185852051
Output for 5.5.35
0.00076699256896973
Output for 5.5.34
0.00065088272094727
Output for 5.5.33
0.00079894065856934
Output for 5.5.32
0.00071001052856445
Output for 5.5.31
0.00073695182800293
Output for 5.5.30
0.00053310394287109
Output for 5.4.1, 5.5.29
0.00074911117553711
Output for 5.5.28
0.00047183036804199
Output for 5.5.27
0.00057697296142578
Output for 5.5.26
0.00063300132751465
Output for 5.3.5, 5.5.25
0.00078201293945312
Output for 5.5.24
0.00083208084106445
Output for 5.5.21
0.00081706047058105
Output for 5.5.20
0.00076603889465332
Output for 5.5.19
0.0007631778717041
Output for 5.4.29, 5.5.18
0.00079107284545898
Output for 5.5.16
0.00082993507385254
Output for 5.5.15
0.00077986717224121
Output for 5.4.44, 5.5.14
0.0007779598236084
Output for 5.5.13
0.00074887275695801
Output for 5.5.12
0.00078916549682617
Output for 5.4.18, 5.5.11
0.00073003768920898
Output for 5.5.10
0.00078606605529785
Output for 5.5.9
0.00053596496582031
Output for 5.5.8
0.00078105926513672
Output for 5.5.7
0.00076389312744141
Output for 5.5.6
0.00064802169799805
Output for 5.5.5
0.00074601173400879
Output for 5.5.2
0.00078487396240234
Output for 5.5.1
0.00061392784118652
Output for 5.4.45
0.00075483322143555
Output for 5.4.43
0.0007472038269043
Output for 5.4.42
0.00065398216247559
Output for 5.4.41
0.00048995018005371
Output for 5.4.28, 5.4.40
0.00072383880615234
Output for 5.4.39
0.00069189071655273
Output for 5.4.38
0.00066900253295898
Output for 5.4.37
0.00077509880065918
Output for 5.4.35
0.00078892707824707
Output for 5.4.34
0.00072312355041504
Output for 5.4.17, 5.4.31
0.00056004524230957
Output for 5.4.30
0.00072693824768066
Output for 5.4.27
0.00076913833618164
Output for 5.4.26
0.00071310997009277
Output for 5.4.25
0.0006110668182373
Output for 5.4.24
0.00045013427734375
Output for 5.4.23
0.00044488906860352
Output for 5.4.22
0.00072813034057617
Output for 5.4.21
0.00070595741271973
Output for 5.4.20
0.0007319450378418
Output for 5.4.19
0.00071597099304199
Output for 5.4.16
0.00075507164001465
Output for 5.4.15
0.00068211555480957
Output for 5.4.14
0.00073409080505371
Output for 5.4.13
0.00066590309143066
Output for 5.4.12
0.00067806243896484
Output for 5.4.11
0.00066184997558594
Output for 5.4.10
0.00075292587280273
Output for 5.4.8
0.00076007843017578
Output for 5.4.6
0.00078701972961426
Output for 5.4.4
0.00082588195800781
Output for 5.4.3
0.00077009201049805
Output for 5.4.2
0.00079202651977539
Output for 5.4.0
0.00073909759521484
Output for 5.3.29
0.00068807601928711
Output for 5.3.28
0.00062394142150879
Output for 5.3.27
0.00080084800720215
Output for 5.3.26
0.0008399486541748
Output for 5.1.5, 5.3.25
0.0008540153503418
Output for 5.3.24
0.00080204010009766
Output for 5.3.23
0.00080418586730957
Output for 5.3.22
0.00064921379089355
Output for 5.3.21
0.00050711631774902
Output for 5.3.20
0.00084114074707031
Output for 5.3.19
0.0008389949798584
Output for 5.3.12, 5.3.18
0.00081396102905273
Output for 5.3.10, 5.3.17
0.00083398818969727
Output for 5.3.16
0.00086617469787598
Output for 5.3.15
0.00082087516784668
Output for 5.3.14
0.00088286399841309
Output for 5.3.13
0.00075888633728027
Output for 5.3.11
0.0007929801940918
Output for 5.3.9
0.0010669231414795
Output for 5.3.8
0.00079703330993652
Output for 5.3.0, 5.3.7
0.00082802772521973
Output for 5.3.6
0.00080704689025879
Output for 5.3.4
0.00086402893066406
Output for 5.3.3
0.00085902214050293
Output for 5.3.1
0.0008549690246582
Output for 5.2.17
0.00088095664978027
Output for 5.2.16
0.00087785720825195
Output for 5.2.15
0.00085091590881348
Output for 5.2.14
0.00092101097106934
Output for 5.2.12 - 5.2.13
0.00090289115905762
Output for 5.2.11
0.0009620189666748
Output for 5.2.10
0.0010321140289307
Output for 5.2.9
0.00099897384643555
Output for 5.2.8
0.00089907646179199
Output for 5.2.7
0.0010800361633301
Output for 5.2.6
0.0011129379272461
Output for 5.2.5
0.00089883804321289
Output for 5.2.4
0.00093388557434082
Output for 5.2.3
0.0009000301361084
Output for 5.2.2
0.00094294548034668
Output for 5.2.1
0.0010309219360352
Output for 5.2.0
0.0010190010070801
Output for 5.1.6
0.00092005729675293
Output for 5.1.4
0.00095605850219727
Output for 5.1.3
0.0010299682617188
Output for 5.1.2
0.00093698501586914
Output for 5.1.1
0.00094890594482422
Output for 5.1.0
0.00097799301147461
Output for 5.0.5
0.00090909004211426
Output for 5.0.4
0.0013720989227295
Output for 5.0.3
0.0012569427490234
Output for 5.0.2
0.0013549327850342
Output for 5.0.1
0.001460075378418
Output for 5.0.0
0.0010781288146973
Output for 4.4.9
0.001351
Output for 4.4.8
0.00132
Output for 4.4.7
0.001293
Output for 4.4.6
0.001333
Output for 4.4.5
0.00145
Output for 4.4.4
0.001396
Output for 4.4.3
0.001476
Output for 4.4.2
0.001392
Output for 4.4.1
0.001104
Output for 4.4.0
0.001203
Output for 4.3.11
0.001313
Output for 4.3.10
0.00135
Output for 4.3.9
0.001446
Output for 4.3.8
0.0014329999999999
Output for 4.3.7
0.001208
Output for 4.3.6
0.001464
Output for 4.3.5
0.00139
Output for 4.3.4
0.0012840000000001
Output for 4.3.3
0.001425
Output for 4.3.2
0.001065
Output for 4.3.1
0.001172
Output for 4.3.0
0.001179