3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $count = 500; $code = ' $ret = ""; for ($j=0; $j<100; $j++) { $ret.= md5($i.$j.$ret); } return $ret;'; $fName = create_function('$i', $code); $start = microtime(true); for($i = 0; $i < $count; $i++){ eval($code); } printf("#1, done in %f\n", microtime(true) - $start); $start = microtime(true); for($i = 0; $i < $count; $i++){ $fName($i); } printf("#2, done in %f\n", microtime(true) - $start); ?>
Output for 7.1.0
#1, done in 0.126847 #2, done in 0.123751
Output for 7.0.14
#1, done in 0.169615 #2, done in 0.124119
Output for 7.0.11
#1, done in 0.127332 #2, done in 0.143353
Output for 7.0.10
#1, done in 0.124712 #2, done in 0.122401
Output for 7.0.9
#1, done in 0.162734 #2, done in 0.144936
Output for 7.0.8
#1, done in 0.149444 #2, done in 0.129763
Output for 7.0.7
#1, done in 0.143604 #2, done in 0.137884
Output for 7.0.6
#1, done in 0.121878 #2, done in 0.118823
Output for 7.0.5
#1, done in 0.152992 #2, done in 0.148547
Output for 7.0.4
#1, done in 0.128676 #2, done in 0.123719
Output for 7.0.3
#1, done in 0.122074 #2, done in 0.119999
Output for 7.0.2
#1, done in 0.126437 #2, done in 0.123800
Output for 7.0.1
#1, done in 0.120778 #2, done in 0.119072
Output for 7.0.0
#1, done in 0.126655 #2, done in 0.119783
Output for hhvm-3.13.2
#1, done in 0.207995 #2, done in 0.205203
Output for hhvm-3.12.0
#1, done in 0.219896 #2, done in 0.205646
Output for hhvm-3.10.0
#1, done in 0.212142 #2, done in 0.208576
Output for 5.6.28
#1, done in 0.196987 #2, done in 0.138901
Output for 5.6.26
#1, done in 0.135140 #2, done in 0.131662
Output for 5.6.25
#1, done in 0.164211 #2, done in 0.152814
Output for 5.6.24
#1, done in 0.176434 #2, done in 0.154395
Output for 5.6.23
#1, done in 0.128760 #2, done in 0.126925
Output for 5.6.22
#1, done in 0.131661 #2, done in 0.131451
Output for 5.6.21
#1, done in 0.144179 #2, done in 0.125539
Output for 5.6.20
#1, done in 0.133662 #2, done in 0.131501
Output for 5.6.19
#1, done in 0.156360 #2, done in 0.161046
Output for 5.6.18
#1, done in 0.157240 #2, done in 0.133619
Output for 5.6.17
#1, done in 0.137796 #2, done in 0.126266
Output for 5.6.16
#1, done in 0.128578 #2, done in 0.130738
Output for 5.6.15
#1, done in 0.129135 #2, done in 0.126228
Output for 5.6.14
#1, done in 0.160088 #2, done in 0.153633
Output for 5.6.13
#1, done in 0.161180 #2, done in 0.152345
Output for 5.6.12
#1, done in 0.135392 #2, done in 0.136345
Output for 5.6.11
#1, done in 0.135032 #2, done in 0.131786
Output for 5.6.10
#1, done in 0.134120 #2, done in 0.146005
Output for 5.6.9
#1, done in 0.185906 #2, done in 0.152451
Output for 5.6.8
#1, done in 0.145084 #2, done in 0.141127
Output for 5.6.7
#1, done in 0.154009 #2, done in 0.152255
Output for 5.6.6
#1, done in 0.127994 #2, done in 0.125398
Output for 5.6.5
#1, done in 0.129858 #2, done in 0.126413
Output for 5.6.4
#1, done in 0.127250 #2, done in 0.127987
Output for 5.6.3
#1, done in 0.169940 #2, done in 0.153987
Output for 5.6.2
#1, done in 0.146940 #2, done in 0.125574
Output for 5.6.1
#1, done in 0.180792 #2, done in 0.153838
Output for 5.6.0
#1, done in 0.165117 #2, done in 0.159792
Output for 5.5.38
#1, done in 0.134887 #2, done in 0.130873
Output for 5.5.37
#1, done in 0.173880 #2, done in 0.129324
Output for 5.5.36
#1, done in 0.127933 #2, done in 0.131195
Output for 5.5.35
#1, done in 0.132907 #2, done in 0.129667
Output for 5.5.34
#1, done in 0.128929 #2, done in 0.126349
Output for 5.5.33
#1, done in 0.155672 #2, done in 0.129671
Output for 5.5.32
#1, done in 0.134334 #2, done in 0.126228
Output for 5.5.31
#1, done in 0.154502 #2, done in 0.151511
Output for 5.5.30
#1, done in 0.126041 #2, done in 0.124698
Output for 5.5.29
#1, done in 0.162595 #2, done in 0.163881
Output for 5.5.28
#1, done in 0.155400 #2, done in 0.152616
Output for 5.5.27
#1, done in 0.130590 #2, done in 0.124465
Output for 5.5.26
#1, done in 0.134335 #2, done in 0.130757
Output for 5.5.25
#1, done in 0.136876 #2, done in 0.132814
Output for 5.5.24
#1, done in 0.167529 #2, done in 0.152394
Output for 5.5.23
#1, done in 0.135906 #2, done in 0.124583
Output for 5.5.22
#1, done in 0.132421 #2, done in 0.124153
Output for 5.5.21
#1, done in 0.130544 #2, done in 0.125543
Output for 5.5.20
#1, done in 0.130288 #2, done in 0.125310
Output for 5.5.19
#1, done in 0.130894 #2, done in 0.133398
Output for 5.5.18
#1, done in 0.128522 #2, done in 0.123808
Output for 5.5.16
#1, done in 0.157892 #2, done in 0.153435
Output for 5.5.15
#1, done in 0.156503 #2, done in 0.147545
Output for 5.5.14
#1, done in 0.134190 #2, done in 0.134752
Output for 5.5.13
#1, done in 0.126605 #2, done in 0.125715
Output for 5.5.12
#1, done in 0.126728 #2, done in 0.126851
Output for 5.5.11
#1, done in 0.137500 #2, done in 0.128015
Output for 5.5.10
#1, done in 0.127874 #2, done in 0.124681
Output for 5.5.9
#1, done in 0.139221 #2, done in 0.133132
Output for 5.5.8
#1, done in 0.129176 #2, done in 0.125233
Output for 5.5.7
#1, done in 0.128492 #2, done in 0.128392
Output for 5.5.6
#1, done in 0.127772 #2, done in 0.125263
Output for 5.5.5
#1, done in 0.148358 #2, done in 0.152252
Output for 5.5.4
#1, done in 0.127350 #2, done in 0.124858
Output for 5.5.3
#1, done in 0.128554 #2, done in 0.124258
Output for 5.5.2
#1, done in 0.156477 #2, done in 0.124508
Output for 5.5.1
#1, done in 0.146027 #2, done in 0.126136
Output for 5.5.0
#1, done in 0.139489 #2, done in 0.134163
Output for 5.4.45
#1, done in 0.177950 #2, done in 0.151954
Output for 5.4.44
#1, done in 0.153782 #2, done in 0.140914
Output for 5.4.43
#1, done in 0.161672 #2, done in 0.127673
Output for 5.4.42
#1, done in 0.161115 #2, done in 0.151793
Output for 5.4.41
#1, done in 0.167013 #2, done in 0.153454
Output for 5.4.40
#1, done in 0.132442 #2, done in 0.130333
Output for 5.4.39
#1, done in 0.150158 #2, done in 0.124720
Output for 5.4.38
#1, done in 0.133313 #2, done in 0.132363
Output for 5.4.37
#1, done in 0.132659 #2, done in 0.127502
Output for 5.4.36
#1, done in 0.126567 #2, done in 0.127388
Output for 5.4.35
#1, done in 0.125795 #2, done in 0.125545
Output for 5.4.34
#1, done in 0.133586 #2, done in 0.125398
Output for 5.4.32
#1, done in 0.160417 #2, done in 0.146183
Output for 5.4.31
#1, done in 0.154941 #2, done in 0.151530
Output for 5.4.30
#1, done in 0.126114 #2, done in 0.126418
Output for 5.4.29
#1, done in 0.152464 #2, done in 0.151958
Output for 5.4.28
#1, done in 0.137571 #2, done in 0.134009
Output for 5.4.27
#1, done in 0.128330 #2, done in 0.129210
Output for 5.4.26
#1, done in 0.131927 #2, done in 0.129327
Output for 5.4.25
#1, done in 0.132739 #2, done in 0.138479
Output for 5.4.24
#1, done in 0.131098 #2, done in 0.128315
Output for 5.4.23
#1, done in 0.130707 #2, done in 0.127693
Output for 5.4.22
#1, done in 0.138763 #2, done in 0.134304
Output for 5.4.21
#1, done in 0.128326 #2, done in 0.124931
Output for 5.4.20
#1, done in 0.131054 #2, done in 0.129093
Output for 5.4.19
#1, done in 0.131493 #2, done in 0.139871
Output for 5.4.18
#1, done in 0.155864 #2, done in 0.153618
Output for 5.4.17
#1, done in 0.156843 #2, done in 0.133184
Output for 5.4.16
#1, done in 0.126832 #2, done in 0.124380
Output for 5.4.15
#1, done in 0.155275 #2, done in 0.136305
Output for 5.4.14
#1, done in 0.129805 #2, done in 0.125599
Output for 5.4.13
#1, done in 0.132484 #2, done in 0.126993
Output for 5.4.12
#1, done in 0.139509 #2, done in 0.136640
Output for 5.4.11
#1, done in 0.151880 #2, done in 0.125936
Output for 5.4.10
#1, done in 0.136504 #2, done in 0.135790
Output for 5.4.9
#1, done in 0.161745 #2, done in 0.153065
Output for 5.4.8
#1, done in 0.152324 #2, done in 0.150935
Output for 5.4.7
#1, done in 0.157468 #2, done in 0.150361
Output for 5.4.6
#1, done in 0.150017 #2, done in 0.125786
Output for 5.4.5
#1, done in 0.138126 #2, done in 0.132170
Output for 5.4.4
#1, done in 0.157802 #2, done in 0.140541
Output for 5.4.3
#1, done in 0.129148 #2, done in 0.126509
Output for 5.4.2
#1, done in 0.137686 #2, done in 0.132826
Output for 5.4.1
#1, done in 0.162738 #2, done in 0.151696
Output for 5.4.0
#1, done in 0.157162 #2, done in 0.145871
Output for 5.3.29
#1, done in 0.157045 #2, done in 0.153147
Output for 5.3.28
#1, done in 0.139494 #2, done in 0.134573
Output for 5.3.27
#1, done in 0.182454 #2, done in 0.158772
Output for 5.3.26
#1, done in 0.132665 #2, done in 0.133795
Output for 5.3.25
#1, done in 0.169073 #2, done in 0.157131
Output for 5.3.24
#1, done in 0.136647 #2, done in 0.130495
Output for 5.3.23
#1, done in 0.166427 #2, done in 0.158060
Output for 5.3.22
#1, done in 0.152417 #2, done in 0.129560
Output for 5.3.21
#1, done in 0.187477 #2, done in 0.156765
Output for 5.3.20
#1, done in 0.144981 #2, done in 0.132686
Output for 5.3.19
#1, done in 0.159620 #2, done in 0.160891
Output for 5.3.18
#1, done in 0.145132 #2, done in 0.135390
Output for 5.3.17
#1, done in 0.165104 #2, done in 0.155310
Output for 5.3.16
#1, done in 0.165247 #2, done in 0.158103
Output for 5.3.15
#1, done in 0.133333 #2, done in 0.134119
Output for 5.3.14
#1, done in 0.165676 #2, done in 0.157269
Output for 5.3.13
#1, done in 0.159710 #2, done in 0.158476
Output for 5.3.12
#1, done in 0.131125 #2, done in 0.130711
Output for 5.3.11
#1, done in 0.157831 #2, done in 0.130640
Output for 5.3.10
#1, done in 0.162040 #2, done in 0.160687
Output for 5.3.9
#1, done in 0.127681 #2, done in 0.127453
Output for 5.3.8
#1, done in 0.127234 #2, done in 0.125966
Output for 5.3.7
#1, done in 0.131213 #2, done in 0.127420
Output for 5.3.6
#1, done in 0.157964 #2, done in 0.137905
Output for 5.3.5
#1, done in 0.130186 #2, done in 0.127999
Output for 5.3.4
#1, done in 0.186089 #2, done in 0.154538
Output for 5.3.3
#1, done in 0.166336 #2, done in 0.161713
Output for 5.3.2
#1, done in 0.147143 #2, done in 0.125788
Output for 5.3.1
#1, done in 0.163016 #2, done in 0.147896
Output for 5.3.0
#1, done in 0.128218 #2, done in 0.125831
Output for 5.2.17
#1, done in 0.178957 #2, done in 0.174883
Output for 5.2.16
#1, done in 0.181129 #2, done in 0.175852
Output for 5.2.15
#1, done in 0.183540 #2, done in 0.159015
Output for 5.2.14
#1, done in 0.177706 #2, done in 0.169537
Output for 5.2.13
#1, done in 0.180598 #2, done in 0.176722
Output for 5.2.12
#1, done in 0.177959 #2, done in 0.175943
Output for 5.2.11
#1, done in 0.176769 #2, done in 0.161312
Output for 5.2.10
#1, done in 0.146252 #2, done in 0.144495
Output for 5.2.9
#1, done in 0.148502 #2, done in 0.145495
Output for 5.2.8
#1, done in 0.208009 #2, done in 0.190291
Output for 5.2.7
#1, done in 0.165629 #2, done in 0.159874
Output for 5.2.6
#1, done in 0.148199 #2, done in 0.148519
Output for 5.2.5
#1, done in 0.149748 #2, done in 0.150097
Output for 5.2.4
#1, done in 0.183038 #2, done in 0.155316
Output for 5.2.3
#1, done in 0.174411 #2, done in 0.164575
Output for 5.2.2
#1, done in 0.240929 #2, done in 0.237518
Output for 5.2.1
#1, done in 0.237820 #2, done in 0.235869
Output for 5.2.0
#1, done in 0.234994 #2, done in 0.226381
Output for 5.1.6
#1, done in 0.217333 #2, done in 0.215160
Output for 5.1.5
#1, done in 0.234510 #2, done in 0.234940
Output for 5.1.4
#1, done in 0.200578 #2, done in 0.199068
Output for 5.1.3
#1, done in 0.230091 #2, done in 0.234636
Output for 5.1.2
#1, done in 0.201567 #2, done in 0.198402
Output for 5.1.1
#1, done in 0.244685 #2, done in 0.232854
Output for 5.1.0
#1, done in 0.247758 #2, done in 0.241286
Output for 5.0.5
#1, done in 0.230978 #2, done in 0.206841
Output for 5.0.4
#1, done in 0.265771 #2, done in 0.257634
Output for 5.0.3
#1, done in 0.241034 #2, done in 0.235080
Output for 5.0.2
#1, done in 0.276433 #2, done in 0.255590
Output for 5.0.1
#1, done in 0.254851 #2, done in 0.209716
Output for 5.0.0
#1, done in 0.222833 #2, done in 0.221531
Output for 4.4.9
#1, done in 0.279829 #2, done in 0.249584
Output for 4.4.8
#1, done in 0.210345 #2, done in 0.206849
Output for 4.4.7
#1, done in 0.287998 #2, done in 0.242241
Output for 4.4.6
#1, done in 0.212769 #2, done in 0.206603
Output for 4.4.5
#1, done in 0.218826 #2, done in 0.215140
Output for 4.4.4
#1, done in 0.261217 #2, done in 0.216196
Output for 4.4.3
#1, done in 0.257552 #2, done in 0.229105
Output for 4.4.2
#1, done in 0.218765 #2, done in 0.207739
Output for 4.4.1
#1, done in 0.312897 #2, done in 0.251385
Output for 4.4.0
#1, done in 0.254173 #2, done in 0.254287
Output for 4.3.11
#1, done in 0.282457 #2, done in 0.252493
Output for 4.3.10
#1, done in 0.272420 #2, done in 0.253535
Output for 4.3.9
#1, done in 0.212697 #2, done in 0.205839
Output for 4.3.8
#1, done in 0.253720 #2, done in 0.241689
Output for 4.3.7
#1, done in 0.210160 #2, done in 0.203820
Output for 4.3.6
#1, done in 0.272542 #2, done in 0.249521
Output for 4.3.5
#1, done in 0.205095 #2, done in 0.202928
Output for 4.3.4
#1, done in 0.218711 #2, done in 0.206023
Output for 4.3.3
#1, done in 0.304374 #2, done in 0.245915
Output for 4.3.2
#1, done in 0.247600 #2, done in 0.204920
Output for 4.3.1
#1, done in 0.266794 #2, done in 0.249055
Output for 4.3.0
#1, done in 0.250582 #2, done in 0.244803