3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(0xABCdef); var_dump(0xABCdef);
based on cU4FM

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.3.00.0370.00415.43
7.2.130.0480.00815.53
7.2.120.0510.00415.54
7.2.110.0300.00615.62
7.2.100.0300.00615.62
7.2.90.0350.00515.49
7.2.80.0590.00815.53
7.2.70.0320.00615.42
7.2.60.0320.00715.91
7.2.50.0330.00815.58
7.2.40.0330.00915.59
7.2.30.0350.00615.67
7.2.20.0480.00515.35
7.2.10.0400.00615.74
7.2.00.0200.01016.76
7.1.250.0300.00814.55
7.1.240.0310.00714.55
7.1.230.0340.00714.56
7.1.220.0320.00514.31
7.1.210.0300.00514.45
7.1.200.0230.00714.78
7.1.190.0280.00914.41
7.1.180.0560.00814.51
7.1.170.0350.00814.42
7.1.160.0300.01114.43
7.1.150.0330.00714.46
7.1.140.0310.01114.40
7.1.130.0290.01214.54
7.1.120.0420.00314.45
7.1.110.0330.00514.55
7.1.100.0320.00715.65
7.1.90.0840.01014.67
7.1.80.0590.00714.59
7.1.70.0220.00615.44
7.1.60.0220.01016.22
7.1.50.0410.00515.35
7.1.40.0300.00414.62
7.1.30.0290.00714.32
7.1.20.0310.00714.38
7.1.10.0260.00914.54
7.1.00.0170.03017.27
7.0.330.0400.00213.88
7.0.320.0330.00914.23
7.0.310.0470.00514.00
7.0.300.0450.00814.04
7.0.290.0300.00614.13
7.0.280.0460.00614.10
7.0.270.0290.00914.26
7.0.260.0300.01114.11
7.0.250.0410.00314.22
7.0.240.0300.01214.03
7.0.230.0390.01014.25
7.0.220.0340.00914.21
7.0.210.0320.01014.19
7.0.200.0240.00714.36
7.0.190.0430.00814.14
7.0.180.0390.00514.26
7.0.170.0380.00714.19
7.0.160.0350.00714.28
7.0.150.0300.00814.16
7.0.140.0180.02816.82
7.0.130.0220.00814.20
7.0.120.0230.00714.01
7.0.110.0210.01716.21
7.0.100.0210.03216.21
7.0.90.0270.03616.26
7.0.80.0210.03516.17
7.0.70.0210.01916.17
7.0.60.0150.01716.22
7.0.50.0300.02816.30
7.0.40.0170.03115.50
7.0.30.0110.03115.35
7.0.20.0140.03315.24
7.0.10.0180.02715.41
7.0.00.0100.03415.49
hhvm-3.22.00.0990.15489.79
hhvm-3.21.30.1070.16389.08
hhvm-3.21.00.1020.17589.54
hhvm-3.20.20.1250.18189.96
hhvm-3.19.20.1040.17688.69
hhvm-3.18.50.0880.18987.47
hhvm-3.18.40.1230.15687.82
hhvm-3.17.30.0940.18886.70
hhvm-3.15.40.1070.15684.70
hhvm-3.13.20.1060.20795.89
hhvm-3.12.140.1090.16194.68
hhvm-3.11.10.1250.15587.14
hhvm-3.10.10.0660.19684.03
5.6.380.0070.00913.71
5.6.370.0070.01014.10
5.6.360.0120.00414.14
5.6.350.0140.00313.75
5.6.340.0100.00614.25
5.6.330.0140.00313.84
5.6.320.0070.01013.79
5.6.310.0100.01014.05
5.6.300.0090.01013.84
5.6.290.0060.01013.86
5.6.280.0040.03316.29
5.6.270.0120.00613.90
5.6.260.0070.01916.19
5.6.250.0080.03316.27
5.6.240.0160.01216.19
5.6.230.0090.01716.22
5.6.220.0070.02116.15
5.6.210.0140.01116.09
5.6.200.0080.01816.13
5.6.190.0090.01916.11
5.6.180.0090.02716.16
5.6.170.0100.03016.18
5.6.160.0060.03116.15
5.6.150.0030.02916.26
5.6.140.0070.03216.21
5.6.130.0120.03016.20
5.6.120.0070.01716.21
5.6.110.0110.01716.10
5.6.100.0110.01516.17
5.6.90.0080.03216.28
5.6.80.0050.02016.02
5.6.70.0140.02815.96
5.6.60.0070.03015.94
5.6.50.0090.03115.97
5.6.40.0070.03015.87
5.6.30.0070.01815.84
5.6.20.0080.01715.83
5.6.10.0090.02716.04
5.6.00.0070.01715.94
5.5.380.0060.03213.11
5.5.370.0060.02713.25
5.5.360.0010.02313.12
5.5.350.0090.01713.14
5.5.340.0050.02313.29
5.5.330.0110.02913.35
5.5.320.0040.03513.36
5.5.310.0070.02913.27
5.5.300.0100.02913.33
5.5.290.0060.01613.43
5.5.280.0030.03013.36
5.5.270.0070.02813.34
5.5.260.0070.02513.27
5.5.250.0090.02613.37
5.5.240.0040.02913.08
5.5.230.0050.02213.15
5.5.220.0060.01613.09
5.5.210.0050.02913.07
5.5.200.0050.02113.07
5.5.190.0050.02213.14
5.5.180.0080.02213.21
5.5.170.0050.00810.81
5.5.160.0040.02713.06
5.5.150.0090.02513.15
5.5.140.0070.02413.09
5.5.130.0040.03113.03
5.5.120.0070.02813.11
5.5.110.0060.02713.07
5.5.100.0060.02713.04
5.5.90.0070.01513.18
5.5.80.0060.02513.08
5.5.70.0090.02513.06
5.5.60.0050.01613.07
5.5.50.0070.02713.11
5.5.40.0060.03013.00
5.5.30.0060.02613.13
5.5.20.0040.02812.94
5.5.10.0080.01413.09
5.5.00.0050.02112.97
5.4.450.0070.02713.72
5.4.440.0060.03213.77
5.4.430.0060.02513.80
5.4.420.0040.03013.77
5.4.410.0070.02113.66
5.4.400.0090.01213.60
5.4.390.0080.02813.68
5.4.380.0060.02313.67
5.4.370.0050.02613.64
5.4.360.0020.03113.63
5.4.350.0070.01213.66
5.4.340.0060.02413.57
5.4.330.0080.00510.94
5.4.320.0050.02913.70
5.4.310.0070.02613.70
5.4.300.0060.02313.52
5.4.290.0070.01513.78
5.4.280.0050.02813.70
5.4.270.0040.02513.65
5.4.260.0090.02413.57
5.4.250.0050.02613.68
5.4.240.0040.01613.55
5.4.230.0070.02613.69
5.4.220.0030.01813.62
5.4.210.0050.02913.68
5.4.200.0060.02613.55
5.4.190.0060.02713.66
5.4.180.0060.02213.61
5.4.170.0080.02513.56
5.4.160.0060.02413.54
5.4.150.0020.01813.57
5.4.140.0040.01612.63
5.4.130.0050.01512.72
5.4.120.0080.01212.76
5.4.110.0060.01912.74
5.4.100.0050.03012.71
5.4.90.0070.01812.76
5.4.80.0070.02712.69
5.4.70.0080.02712.70
5.4.60.0040.02812.73
5.4.50.0060.01412.77
5.4.40.0080.01412.79
5.4.30.0050.02812.72
5.4.20.0060.01412.76
5.4.10.0060.01512.77
5.4.00.0060.01412.52
5.3.290.0050.02612.04
5.3.280.0060.02511.97
5.3.270.0070.02812.01
5.3.260.0040.03012.01
5.3.250.0050.01612.06
5.3.240.0060.01811.93
5.3.230.0040.02511.97
5.3.220.0070.01111.93
5.3.210.0080.02211.88
5.3.200.0030.02611.93
5.3.190.0100.02911.93
5.3.180.0100.02412.06
5.3.170.0090.02711.99
5.3.160.0070.02711.98
5.3.150.0070.02412.05
5.3.140.0080.01511.97
5.3.130.0050.02911.98
5.3.120.0060.02412.01
5.3.110.0070.01211.96
5.3.100.0030.01811.78
5.3.90.0050.01511.69
5.3.80.0080.01311.72
5.3.70.0030.02111.79
5.3.60.0080.01211.83
5.3.50.0040.01711.71
5.3.40.0060.01411.71
5.3.30.0030.01311.63
5.3.20.0040.01311.66
5.3.10.0030.01411.61
5.3.00.0030.01611.57
5.2.170.0030.01410.55
5.2.160.0040.01310.56
5.2.150.0040.01210.53
5.2.140.0040.01410.43
5.2.130.0070.01010.51
5.2.120.0060.00910.51
5.2.110.0040.01110.38
5.2.100.0040.02710.44
5.2.90.0060.01910.49
5.2.80.0040.02010.39
5.2.70.0020.01510.45
5.2.60.0050.01210.40
5.2.50.0040.01810.42
5.2.40.0090.02010.45
5.2.30.0040.02210.48
5.2.20.0010.02510.40
5.2.10.0050.01210.34
5.2.00.0080.01210.29
5.1.60.0030.01110.11
5.1.50.0020.01210.03
5.1.40.0050.01010.13
5.1.30.0030.01210.21
5.1.20.0050.01310.15
5.1.10.0040.01110.08
5.1.00.0060.00910.05
5.0.50.0050.0089.80
5.0.40.0040.0089.80
5.0.30.0030.0119.80
5.0.20.0030.0089.80
5.0.10.0070.0109.80
5.0.00.0030.0139.80
4.4.90.0040.0079.80
4.4.80.0040.0129.80
4.4.70.0020.0099.80
4.4.60.0040.0079.80
4.4.50.0010.0099.80
4.4.40.0040.0099.80
4.4.30.0020.0089.80
4.4.20.0020.0079.80
4.4.10.0010.0099.80
4.4.00.0020.0119.80
4.3.110.0020.0079.80
4.3.100.0040.0079.80
4.3.90.0020.0079.80
4.3.80.0020.0119.80
4.3.70.0030.0069.80
4.3.60.0030.0069.80
4.3.50.0020.0069.80
4.3.40.0030.0079.80
4.3.30.0010.0069.80
4.3.20.0040.0059.80
4.3.10.0010.0099.80
4.3.00.0020.0079.80