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.00015497207641602
Output for 7.0.14
0.00026798248291016
Output for 7.0.9
0.00026512145996094
Output for 7.0.8
0.0003659725189209
Output for 7.0.7
0.00030994415283203
Output for 7.0.6
0.00022292137145996
Output for 7.0.5
0.00024104118347168
Output for 7.0.4
0.00038909912109375
Output for 7.0.3
0.0003058910369873
Output for 7.0.2
0.00037193298339844
Output for 7.0.1
0.00037813186645508
Output for 7.0.0
0.00029683113098145
Output for hhvm-3.12.0
0.00036120414733887
Output for hhvm-3.10.0
0.00041794776916504
Output for 5.6.28
0.00087690353393555
Output for 5.5.8, 5.6.23
0.00063705444335938
Output for 5.6.22
0.00049495697021484
Output for 5.6.18, 5.6.21
0.0008080005645752
Output for 5.6.20
0.000640869140625
Output for 5.6.19
0.00082778930664062
Output for 5.4.1, 5.6.17
0.00080204010009766
Output for 5.6.16
0.00072979927062988
Output for 5.6.15
0.00051999092102051
Output for 5.6.14
0.00064396858215332
Output for 5.6.13
0.00079703330993652
Output for 5.5.20, 5.6.12
0.00075602531433105
Output for 5.6.11
0.00066518783569336
Output for 5.6.10
0.0010790824890137
Output for 5.6.9
0.00075888633728027
Output for 5.6.8
0.00059199333190918
Output for 5.6.7
0.00093483924865723
Output for 5.2.14, 5.6.6
0.00079107284545898
Output for 5.6.5
0.00055408477783203
Output for 5.6.4
0.00069904327392578
Output for 5.6.3
0.00066089630126953
Output for 5.6.2
0.00080084800720215
Output for 5.6.1
0.00047898292541504
Output for 5.6.0
0.0006401538848877
Output for 5.5.37
0.00063109397888184
Output for 5.5.36
0.00074481964111328
Output for 5.2.0, 5.5.35
0.00067305564880371
Output for 5.5.34
0.00081491470336914
Output for 5.5.33
0.00051498413085938
Output for 5.4.44, 5.5.32
0.00080585479736328
Output for 5.5.31
0.00066208839416504
Output for 5.5.30
0.00079512596130371
Output for 5.5.29
0.00080013275146484
Output for 5.5.28
0.00048589706420898
Output for 5.5.27
0.00069880485534668
Output for 5.5.26
0.00062894821166992
Output for 5.5.25
0.00062298774719238
Output for 5.5.24
0.00054407119750977
Output for 5.2.5, 5.3.4, 5.5.23
0.00083208084106445
Output for 5.5.22
0.00072312355041504
Output for 5.5.21
0.00066304206848145
Output for 5.5.19
0.00054693222045898
Output for 5.5.18
0.00052905082702637
Output for 5.5.16
0.00058293342590332
Output for 5.5.15
0.00052499771118164
Output for 5.5.14
0.00049400329589844
Output for 5.5.13
0.00050210952758789
Output for 5.5.12
0.00075006484985352
Output for 5.5.11
0.00075197219848633
Output for 5.5.10
0.00058698654174805
Output for 5.3.20, 5.5.9
0.00055098533630371
Output for 5.5.7
0.00051212310791016
Output for 5.5.6
0.00059890747070312
Output for 5.5.5
0.00056910514831543
Output for 5.5.4
0.00053191184997559
Output for 5.5.3
0.00050592422485352
Output for 5.5.2
0.00049805641174316
Output for 5.3.15, 5.5.1
0.00049901008605957
Output for 5.4.40, 5.5.0
0.00078296661376953
Output for 5.4.45
0.00052714347839355
Output for 5.4.43
0.00074601173400879
Output for 5.4.42
0.00073504447937012
Output for 5.4.41
0.00076985359191895
Output for 5.4.39
0.00071096420288086
Output for 5.4.38
0.00067901611328125
Output for 5.4.37
0.00072002410888672
Output for 5.4.2, 5.4.36
0.0004570484161377
Output for 5.4.35
0.00068187713623047
Output for 5.4.34
0.00068497657775879
Output for 5.3.9, 5.4.32
0.00048017501831055
Output for 5.4.31
0.00052690505981445
Output for 5.4.30
0.00048112869262695
Output for 5.4.29
0.00049209594726562
Output for 5.4.28
0.00045514106750488
Output for 5.4.27
0.00044798851013184
Output for 5.4.26
0.00044584274291992
Output for 5.4.25
0.0004580020904541
Output for 5.4.24
0.00048613548278809
Output for 5.4.23
0.00045609474182129
Output for 5.4.22
0.00079607963562012
Output for 5.4.21
0.00057411193847656
Output for 5.4.20
0.00061392784118652
Output for 5.4.16, 5.4.19
0.00044608116149902
Output for 5.4.18
0.0005030632019043
Output for 5.4.17
0.00064587593078613
Output for 5.4.15
0.00073695182800293
Output for 5.3.18, 5.4.13 - 5.4.14
0.00057005882263184
Output for 5.4.12
0.00048398971557617
Output for 5.4.11
0.00045490264892578
Output for 5.4.10
0.0005028247833252
Output for 5.4.6, 5.4.9
0.0004730224609375
Output for 5.4.8
0.00058889389038086
Output for 5.4.7
0.00045895576477051
Output for 5.4.5
0.00047206878662109
Output for 5.3.16, 5.4.4
0.00050806999206543
Output for 5.4.3
0.00046515464782715
Output for 5.4.0
0.00058603286743164
Output for 5.3.29
0.00052404403686523
Output for 5.3.28
0.00053310394287109
Output for 5.3.27
0.00068283081054688
Output for 5.3.26
0.00051403045654297
Output for 5.3.25
0.00072383880615234
Output for 5.3.24
0.00069689750671387
Output for 5.3.23
0.00058794021606445
Output for 5.3.22
0.00070691108703613
Output for 5.3.21
0.00061798095703125
Output for 5.3.19
0.00049185752868652
Output for 5.3.17
0.00050687789916992
Output for 5.3.14
0.00063300132751465
Output for 5.3.13
0.00042605400085449
Output for 5.3.12
0.00054216384887695
Output for 5.3.11
0.00046110153198242
Output for 5.3.10
0.0006721019744873
Output for 5.3.8
0.00049996376037598
Output for 5.3.7
0.00053286552429199
Output for 5.3.6
0.00087404251098633
Output for 5.3.5
0.00080299377441406
Output for 5.3.3
0.00081920623779297
Output for 5.3.2
0.00084805488586426
Output for 5.3.1
0.0006411075592041
Output for 5.3.0
0.00088095664978027
Output for 5.2.17
0.0010221004486084
Output for 5.2.16
0.0010159015655518
Output for 5.0.4, 5.2.15
0.00094699859619141
Output for 5.2.13
0.00092697143554688
Output for 5.2.12
0.00074100494384766
Output for 5.2.11
0.0010349750518799
Output for 5.2.10
0.00081396102905273
Output for 5.2.9
0.00088286399841309
Output for 5.2.8
0.00084686279296875
Output for 5.2.7
0.00097489356994629
Output for 5.2.6
0.00095295906066895
Output for 5.2.4
0.0009770393371582
Output for 5.2.3
0.00071120262145996
Output for 5.2.2
0.00072908401489258
Output for 5.2.1
0.00075221061706543
Output for 5.1.6
0.00079989433288574
Output for 5.1.5
0.00086212158203125
Output for 5.1.4
0.000701904296875
Output for 5.1.3
0.0008690357208252
Output for 5.1.2
0.00065088272094727
Output for 5.1.1
0.00086379051208496
Output for 5.1.0
0.00092196464538574
Output for 5.0.5
0.0012648105621338
Output for 5.0.3
0.0010530948638916
Output for 5.0.2
0.00096702575683594
Output for 5.0.1
0.001439094543457
Output for 5.0.0
0.0011570453643799
Output for 4.4.9
0.00137
Output for 4.4.8
0.001378
Output for 4.4.7
0.001197
Output for 4.4.6
0.000996
Output for 4.4.5
0.001141
Output for 4.4.4
0.001041
Output for 4.4.3
0.001473
Output for 4.4.2
0.001362
Output for 4.4.1
0.001403
Output for 4.4.0
0.000891
Output for 4.3.11
0.00129
Output for 4.3.10
0.001037
Output for 4.3.9
0.000997
Output for 4.3.8
0.000883
Output for 4.3.7
0.001004
Output for 4.3.6
0.001367
Output for 4.3.5
0.001318
Output for 4.3.4
0.001211
Output for 4.3.3
0.000986
Output for 4.3.2
0.001074
Output for 4.3.1
0.000928
Output for 4.3.0
0.001282