3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for ($i = 0, $t = -microtime(TRUE); $i < 10000; $i++) { $foo = NULL; eval('$foo = function (stdClass $a, $b = 1) {};'); } echo $t + microtime(TRUE);
Output for 7.1.0
0.057751893997192
Output for 7.0.14
0.051939010620117
Output for 7.0.6
0.036664962768555
Output for 7.0.5
0.0275559425354
Output for 7.0.4
0.033723831176758
Output for 7.0.3
0.032942056655884
Output for 7.0.2
0.03183388710022
Output for 5.6.15, 7.0.1
0.033469915390015
Output for 7.0.0
0.035919904708862
Output for 5.6.28
-0.023361921310425
Output for 5.6.21
0.036162853240967
Output for 5.6.20
0.031581163406372
Output for 5.6.19
0.032997131347656
Output for 5.6.18
0.034450054168701
Output for 5.6.17
0.032778024673462
Output for 5.6.16
0.047244071960449
Output for 5.6.14
0.032644987106323
Output for 5.6.13
0.042424917221069
Output for 5.6.12
0.047415971755981
Output for 5.6.11
0.032588005065918
Output for 5.6.10
0.042688846588135
Output for 5.6.9
0.039194107055664
Output for 5.6.8
0.047681093215942
Output for 5.6.7
0.034246206283569
Output for 5.5.35
0.045002937316895
Output for 5.5.34
0.032946825027466
Output for 5.5.33
0.033416986465454
Output for 5.5.32
0.041537046432495
Output for 5.5.31
0.04552698135376
Output for 5.5.30
0.035566091537476
Output for 5.5.29
0.04196310043335
Output for 5.5.28
0.046535015106201
Output for 5.5.27
0.046416997909546
Output for 5.5.26
0.048144102096558
Output for 5.5.25
0.040042877197266
Output for 5.5.24
0.046012878417969
Output for 5.4.45
0.028770923614502
Output for 5.4.44
0.029707908630371
Output for 5.4.43
0.050193071365356
Output for 5.4.42
0.03618597984314
Output for 5.4.41
0.029587030410767
Output for 5.4.40
0.036877155303955
Output for 5.4.39
0.028893947601318
Output for 5.4.38
0.033553838729858
Output for 5.4.37
0.039147138595581
Output for 5.4.36
0.032809019088745
Output for 5.4.35
0.034684896469116
Output for 5.4.34
0.030539989471436
Output for 5.4.32
0.028296947479248
Output for 5.4.31
0.028949022293091
Output for 5.4.11, 5.4.30
0.030340909957886
Output for 5.4.29
0.035506963729858
Output for 5.4.28
0.041800975799561
Output for 5.4.27
0.028085947036743
Output for 5.4.26
0.029211044311523
Output for 5.4.25
0.03261399269104
Output for 5.4.24
0.028836965560913
Output for 5.4.23
0.037838935852051
Output for 5.4.22
0.028812885284424
Output for 5.4.21
0.043707132339478
Output for 5.4.20
0.028796911239624
Output for 5.4.19
0.029259920120239
Output for 5.4.18
0.02958607673645
Output for 5.4.17
0.029027938842773
Output for 5.4.16
0.028532028198242
Output for 5.4.15
0.050060987472534
Output for 5.4.14
0.034302949905396
Output for 5.4.13
0.04765510559082
Output for 5.4.12
0.030857086181641
Output for 5.4.10
0.028913974761963
Output for 5.4.9
0.039650917053223
Output for 5.4.8
0.028806924819946
Output for 5.4.7
0.031012058258057
Output for 5.4.6
0.040521144866943
Output for 5.4.5
0.031097888946533
Output for 5.4.4
0.033066034317017
Output for 5.4.3
0.031208992004395
Output for 5.4.2
0.028594970703125
Output for 5.4.1
0.02942681312561
Output for 5.4.0
0.034986019134521
Output for 5.3.29
0.029263019561768
Output for 5.3.28
0.022490978240967
Output for 5.3.27
0.024562120437622
Output for 5.3.26
0.023218870162964
Output for 5.3.25
0.024490118026733
Output for 5.3.24
0.023844957351685
Output for 5.3.23
0.031244993209839
Output for 5.3.22
0.024173974990845
Output for 5.3.21
0.02341890335083
Output for 5.3.20
0.023783922195435
Output for 5.3.19
0.024874925613403
Output for 5.3.18
0.025701999664307
Output for 5.3.17
0.027389049530029
Output for 5.3.16
0.042423963546753
Output for 5.3.15
0.023725986480713
Output for 5.3.14
0.044396162033081
Output for 5.3.13
0.023283004760742
Output for 5.3.12
0.024786949157715
Output for 5.3.11
0.023334980010986
Output for 5.3.10
0.024007081985474
Output for 5.3.9
0.02376389503479
Output for 5.3.8
0.036235094070435
Output for 5.3.7
0.023181915283203