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.0021469593048096
Output for 7.0.14
0.004065990447998
Output for 7.0.10
0.0044469833374023
Output for 7.0.9
0.0053119659423828
Output for 7.0.8
0.0051438808441162
Output for 7.0.7
0.0033819675445557
Output for 7.0.6
0.0051000118255615
Output for 7.0.5
0.0040359497070312
Output for 7.0.4
0.003972053527832
Output for 7.0.3
0.0051641464233398
Output for 7.0.2
0.0048060417175293
Output for 7.0.1
0.0037009716033936
Output for 7.0.0
0.0047619342803955
Output for hhvm-3.12.0
0.0063459873199463
Output for hhvm-3.10.0
0.006425142288208
Output for 5.6.28
0.012789011001587
Output for 5.6.25
0.012561082839966
Output for 5.6.24
0.011546850204468
Output for 5.6.23
0.010223150253296
Output for 5.6.22
0.012166976928711
Output for 5.6.21
0.0078330039978027
Output for 5.6.20
0.0092790126800537
Output for 5.6.19
0.011834859848022
Output for 5.6.18
0.0082130432128906
Output for 5.6.17
0.013628005981445
Output for 5.6.16
0.0097119808197021
Output for 5.6.15
0.012362957000732
Output for 5.6.14
0.0092251300811768
Output for 5.6.13
0.0079460144042969
Output for 5.6.12
0.0096850395202637
Output for 5.4.27, 5.6.11
0.010541915893555
Output for 5.6.10
0.011244058609009
Output for 5.6.9
0.01102089881897
Output for 5.6.8
0.0079829692840576
Output for 5.6.7
0.011912822723389
Output for 5.6.6
0.012593030929565
Output for 5.6.5
0.0080420970916748
Output for 5.6.4
0.012484073638916
Output for 5.6.3
0.0093832015991211
Output for 5.6.2
0.0088570117950439
Output for 5.6.1
0.0076990127563477
Output for 5.6.0
0.010828018188477
Output for 5.5.38
0.011492013931274
Output for 5.5.37
0.010921001434326
Output for 5.5.36
0.01288914680481
Output for 5.5.35
0.0095269680023193
Output for 5.5.34
0.0088648796081543
Output for 5.5.33
0.012936115264893
Output for 5.5.32
0.010217905044556
Output for 5.5.31
0.012217998504639
Output for 5.5.30
0.010174989700317
Output for 5.5.29
0.012998819351196
Output for 5.5.28
0.0083770751953125
Output for 5.5.27
0.010973930358887
Output for 5.5.26
0.0086519718170166
Output for 5.5.25
0.010118961334229
Output for 5.5.24
0.011137008666992
Output for 5.5.23
0.010910987854004
Output for 5.5.22
0.008253812789917
Output for 5.5.21
0.0079770088195801
Output for 5.5.20
0.012862205505371
Output for 5.5.19
0.0081589221954346
Output for 5.5.18
0.0085380077362061
Output for 5.5.16
0.013519763946533
Output for 5.5.15
0.012085914611816
Output for 5.5.14
0.0096931457519531
Output for 5.5.13
0.0079169273376465
Output for 5.5.12
0.0093948841094971
Output for 5.5.11
0.0139319896698
Output for 5.5.10
0.013104915618896
Output for 5.5.9
0.008720874786377
Output for 5.5.8
0.011490821838379
Output for 5.5.7
0.012317180633545
Output for 5.5.6
0.010855913162231
Output for 5.5.5
0.011142015457153
Output for 5.5.4
0.01082706451416
Output for 5.5.3
0.007951021194458
Output for 5.5.2
0.01007080078125
Output for 5.5.1
0.0082089900970459
Output for 5.5.0
0.0071890354156494
Output for 5.4.45
0.011756896972656
Output for 5.4.44
0.011854887008667
Output for 5.4.43
0.0077810287475586
Output for 5.4.42
0.010473966598511
Output for 5.4.41
0.0098400115966797
Output for 5.4.40
0.0079081058502197
Output for 5.4.39
0.011163949966431
Output for 5.4.38
0.0082309246063232
Output for 5.4.37
0.010283946990967
Output for 5.4.36
0.0073680877685547
Output for 5.4.35
0.011419057846069
Output for 5.4.34
0.010475158691406
Output for 5.4.32
0.011658191680908
Output for 5.4.31
0.0076780319213867
Output for 5.4.30
0.011728048324585
Output for 5.4.29
0.010595083236694
Output for 5.4.28
0.010524034500122
Output for 5.4.26
0.0093889236450195
Output for 5.4.25
0.007673978805542
Output for 5.4.24
0.0091519355773926
Output for 5.4.23
0.007904052734375
Output for 5.4.22
0.0092720985412598
Output for 5.4.21
0.007803201675415
Output for 5.4.20
0.0077250003814697
Output for 5.4.19
0.0088751316070557
Output for 5.4.18
0.0093879699707031
Output for 5.4.17
0.010780811309814
Output for 5.4.16
0.0075249671936035
Output for 5.4.15
0.0090939998626709
Output for 5.4.14
0.0076339244842529
Output for 5.4.13
0.0095419883728027
Output for 5.4.12
0.010475873947144
Output for 5.4.11
0.011770963668823
Output for 5.4.10
0.010511159896851
Output for 5.4.9
0.0092551708221436
Output for 5.4.8
0.012073040008545
Output for 5.4.7
0.008544921875
Output for 5.4.6
0.0078980922698975
Output for 5.4.5
0.011905908584595
Output for 5.4.4
0.0077469348907471
Output for 5.4.3
0.011361122131348
Output for 5.4.2
0.0073549747467041
Output for 5.4.1
0.0080568790435791
Output for 5.4.0
0.010701179504395
Output for 5.3.29
0.013253927230835
Output for 5.3.28
0.0083489418029785
Output for 5.3.27
0.0082318782806396
Output for 5.3.26
0.014787912368774
Output for 5.3.25
0.013828039169312
Output for 5.3.24
0.012776136398315
Output for 5.3.23
0.0083150863647461
Output for 5.3.22
0.010833978652954
Output for 5.3.21
0.010488033294678
Output for 5.3.20
0.010377883911133
Output for 5.3.19
0.0080571174621582
Output for 5.3.18
0.010649919509888
Output for 5.3.17
0.0092971324920654
Output for 5.3.16
0.013674974441528
Output for 5.3.15
0.01326584815979
Output for 5.3.14
0.0097699165344238
Output for 5.3.13
0.012274980545044
Output for 5.3.12
0.011225938796997
Output for 5.3.11
0.010277986526489
Output for 5.3.10
0.0069479942321777
Output for 5.3.9
0.01387619972229
Output for 5.3.8
0.0092718601226807
Output for 5.3.7
0.012794971466064
Output for 5.3.6
0.010938882827759
Output for 5.3.5
0.011816024780273
Output for 5.3.4
0.013488054275513
Output for 5.3.3
0.0084769725799561
Output for 5.3.2
0.0081520080566406
Output for 5.3.1
0.0088889598846436
Output for 5.3.0
0.0094089508056641
Output for 5.2.17
0.015349864959717
Output for 5.2.16
0.015476942062378
Output for 5.2.15
0.0087611675262451
Output for 5.2.14
0.012558937072754
Output for 5.2.13
0.012397050857544
Output for 5.2.12
0.011016845703125
Output for 5.2.11
0.0090460777282715
Output for 5.2.10
0.0090711116790771
Output for 5.2.9
0.0090930461883545
Output for 5.2.8
0.0088398456573486
Output for 5.2.7
0.0091390609741211
Output for 5.2.6
0.0085289478302002
Output for 5.2.5
0.0092980861663818
Output for 5.2.4
0.0090649127960205
Output for 5.2.3
0.0087809562683105
Output for 5.2.2
0.0091178417205811
Output for 5.2.1
0.0096390247344971
Output for 5.2.0
0.0092520713806152
Output for 5.1.6
0.0075790882110596
Output for 5.1.5
0.0091218948364258
Output for 5.1.4
0.0088438987731934
Output for 5.1.3
0.0093419551849365
Output for 5.1.2
0.00895094871521
Output for 5.1.1
0.008674144744873
Output for 5.1.0
0.011600971221924
Output for 5.0.5
0.014297962188721
Output for 5.0.4
0.010538101196289
Output for 5.0.3
0.010555982589722
Output for 5.0.2
0.011084079742432
Output for 5.0.1
0.013770818710327
Output for 5.0.0
0.010119915008545
Output for 4.4.9
0.01003
Output for 4.4.8
0.010096
Output for 4.4.7
0.00872
Output for 4.4.6
0.009156
Output for 4.4.5
0.010706
Output for 4.4.4
0.010593
Output for 4.4.3
0.01075
Output for 4.4.2
0.010402
Output for 4.4.1
0.013097
Output for 4.4.0
0.01077
Output for 4.3.11
0.009558
Output for 4.3.10
0.010143
Output for 4.3.9
0.010415
Output for 4.3.8
0.017412
Output for 4.3.7
0.010083
Output for 4.3.6
0.010088
Output for 4.3.5
0.010316
Output for 4.3.4
0.009886
Output for 4.3.3
0.00989
Output for 4.3.2
0.008019
Output for 4.3.1
0.008573
Output for 4.3.0
0.008428