3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(ord('a')); var_dump(ord('A'));

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.0360.01114.36
7.2.130.0790.01314.56
7.2.120.0640.00314.27
7.2.110.0620.00914.84
7.2.100.0630.00714.55
7.2.90.0580.01014.31
7.2.80.0350.00714.45
7.2.70.0420.00714.82
7.2.60.0170.01215.66
7.2.50.0660.00314.69
7.2.40.0640.01014.94
7.2.30.1330.00314.72
7.2.20.0690.01014.82
7.2.10.0640.01414.86
7.2.00.0360.01017.03
7.1.250.0610.00913.65
7.1.240.0380.00313.52
7.1.230.0590.00713.73
7.1.220.0630.00013.66
7.1.210.0540.01013.92
7.1.200.0200.00514.78
7.1.190.0500.01013.86
7.1.180.0650.00013.75
7.1.170.0430.00313.91
7.1.160.0620.01013.93
7.1.150.0650.00313.68
7.1.140.0590.00613.94
7.1.130.0670.01013.86
7.1.120.0520.00313.73
7.1.110.0700.00313.97
7.1.100.0350.01115.95
7.1.90.0320.00615.93
7.1.80.3700.00015.90
7.1.70.0220.00616.01
7.1.60.0150.01422.78
7.1.50.0300.00821.72
7.1.40.0370.00523.84
7.1.30.0350.00923.12
7.1.20.1670.00524.01
7.1.10.0860.00915.17
7.1.00.0130.03217.50
7.0.330.0680.00313.38
7.0.320.0750.00013.56
7.0.310.0550.00013.36
7.0.300.0670.00913.33
7.0.290.0670.01013.14
7.0.280.0770.00313.51
7.0.270.0830.00313.45
7.0.260.0670.00413.63
7.0.250.0620.00613.53
7.0.240.0260.00815.41
7.0.230.0250.00515.51
7.0.220.1310.00714.47
7.0.210.0240.00514.79
7.0.200.0140.00715.45
7.0.190.0220.01015.12
7.0.180.0170.01114.60
7.0.170.0250.01013.68
7.0.160.0280.00514.83
7.0.150.1180.00914.03
7.0.140.0190.02917.24
7.0.130.0260.01014.87
7.0.120.0910.00714.82
7.0.110.0880.00913.87
7.0.100.0890.00714.63
7.0.90.1220.00913.79
7.0.80.0200.01214.81
7.0.70.0290.00714.80
7.0.60.0180.03216.35
7.0.50.0170.03015.81
7.0.40.0220.03616.63
7.0.30.0260.03016.64
7.0.20.0260.03316.63
7.0.10.0260.02716.57
7.0.00.0130.01816.66
hhvm-3.22.00.1060.16691.32
hhvm-3.21.30.0850.22791.05
hhvm-3.21.00.1180.19390.83
hhvm-3.20.20.0960.22790.59
hhvm-3.19.20.1100.20990.25
hhvm-3.18.50.0710.23890.23
hhvm-3.18.40.0840.18588.72
hhvm-3.17.30.0900.17987.01
hhvm-3.15.40.0960.18984.86
hhvm-3.13.20.1130.14997.54
hhvm-3.12.140.1050.20395.69
hhvm-3.11.10.1030.17988.19
hhvm-3.10.10.0760.17485.03
5.6.380.0060.00914.36
5.6.370.0230.00013.98
5.6.360.0160.00614.31
5.6.350.0120.00914.22
5.6.340.0170.00613.81
5.6.330.0060.01614.11
5.6.320.0040.01614.05
5.6.310.0090.00913.98
5.6.300.0170.03917.46
5.6.290.0130.03417.32
5.6.280.0070.03918.68
5.6.270.0120.03217.54
5.6.260.0150.03017.48
5.6.250.0090.03517.57
5.6.240.0100.03817.50
5.6.230.0120.03817.48
5.6.220.0120.03117.47
5.6.210.0100.03518.50
5.6.200.0140.04517.72
5.6.190.0130.05718.42
5.6.180.0140.04118.50
5.6.170.0110.04718.52
5.6.160.0090.04118.40
5.6.150.0110.04317.75
5.6.140.0100.03317.72
5.6.130.0080.03617.66
5.6.120.0120.04518.74
5.6.110.0070.05318.52
5.6.100.0060.04418.61
5.6.90.0110.04318.67
5.6.80.0120.04318.16
5.6.70.0140.04918.09
5.6.60.0110.03117.02
5.6.50.0070.03217.07
5.6.40.0110.03217.19
5.6.30.0150.02817.08
5.6.20.0080.03417.05
5.6.10.0140.02717.06
5.6.00.0140.02817.07
5.5.380.0080.04314.18
5.5.370.0070.04614.11
5.5.360.0140.03614.20
5.5.350.0160.04016.17
5.5.340.0140.04615.51
5.5.330.0110.04816.45
5.5.320.0110.04816.46
5.5.310.0210.03116.43
5.5.300.0050.05115.47
5.5.290.0050.03615.61
5.5.280.0070.04916.56
5.5.270.0060.03616.60
5.5.260.0080.04816.56
5.5.250.0150.04216.36
5.5.240.0040.04616.03
5.5.230.0100.03214.16
5.5.220.0050.03314.05
5.5.210.0120.02813.97
5.5.200.0100.02913.96
5.5.190.0130.03414.03
5.5.180.0110.02913.95
5.5.170.0120.00613.97
5.5.160.0080.03014.10
5.5.150.0080.03013.84
5.5.140.0060.03214.01
5.5.130.0100.03213.92
5.5.120.0100.03013.96
5.5.110.0120.03014.06
5.5.100.0120.02813.93
5.5.90.0060.03313.95
5.5.80.0090.02813.98
5.5.70.0100.03713.90
5.5.60.0090.03913.98
5.5.50.0090.02914.04
5.5.40.0050.03213.95
5.5.30.0060.03313.82
5.5.20.0100.02914.01
5.5.10.0140.02614.00
5.5.00.0090.03913.97
5.4.450.0330.04116.43
5.4.440.0440.03716.53
5.4.430.0360.03616.43
5.4.420.0370.03816.50
5.4.410.0350.03916.54
5.4.400.0270.03716.12
5.4.390.0340.03916.17
5.4.380.0370.03816.09
5.4.370.0390.04416.20
5.4.360.0340.04016.05
5.4.350.0390.05016.17
5.4.340.0390.04416.14
5.4.330.0130.00010.75
5.4.320.0370.04716.19
5.4.310.0430.05016.13
5.4.300.0430.05216.13
5.4.290.0400.04416.05
5.4.280.0370.03616.19
5.4.270.0360.04216.09
5.4.260.0360.03716.14
5.4.250.0380.03816.05
5.4.240.0400.03716.09
5.4.230.0370.03616.08
5.4.220.0360.04216.16
5.4.210.0340.04116.09
5.4.200.0300.04015.42
5.4.190.0350.03816.17
5.4.180.0370.04116.10
5.4.170.0430.04316.08
5.4.160.0380.04616.12
5.4.150.0440.04315.98
5.4.140.0390.04114.48
5.4.130.0380.03714.50
5.4.120.0340.03414.46
5.4.110.0330.03714.45
5.4.100.0370.03514.38
5.4.90.0300.04114.48
5.4.80.0360.04414.51
5.4.70.0370.04014.58
5.4.60.0370.03414.47
5.4.50.0350.03514.51
5.4.40.0340.03614.45
5.4.30.0350.03414.47
5.4.20.0370.03514.57
5.4.10.0410.03314.41
5.4.00.0400.03114.03
5.3.290.0550.04914.76
5.3.280.0450.06414.57
5.3.270.0470.05614.66
5.3.260.0530.05114.59
5.3.250.0520.06114.69
5.3.240.0520.06414.64
5.3.230.0530.04914.57
5.3.220.0510.05114.53
5.3.210.0450.05914.67
5.3.200.0530.04814.60
5.3.190.0470.05414.58
5.3.180.0550.06314.55
5.3.170.0520.05014.59
5.3.160.0480.05414.64
5.3.150.0500.04914.62
5.3.140.0490.04814.51
5.3.130.0450.05614.56
5.3.120.0470.05714.51
5.3.110.0580.05914.60
5.3.100.0530.06414.00
5.3.90.0530.07014.15
5.3.80.0530.05713.99
5.3.70.0500.05813.96
5.3.60.0520.04914.03
5.3.50.0480.05713.96
5.3.40.0470.05813.88
5.3.30.0710.05413.85
5.3.20.0600.05713.66
5.3.10.0560.04813.60
5.3.00.0500.05913.67
5.2.170.0380.05111.21
5.2.160.0430.04311.16
5.2.150.0380.05311.24
5.2.140.0410.04511.15
5.2.130.0370.05011.10
5.2.120.0460.04511.22
5.2.110.0360.05811.25
5.2.100.0380.05211.14
5.2.90.0420.04211.12
5.2.80.0470.03911.11
5.2.70.0360.05110.97
5.2.60.0510.04911.05
5.2.50.0480.04511.11
5.2.40.0380.03910.85
5.2.30.0320.04811.05
5.2.20.0480.04210.98
5.2.10.0450.04910.90
5.2.00.0370.05610.72
5.1.60.0470.03610.16
5.1.50.0350.0379.96
5.1.40.0360.04310.07
5.1.30.0350.04610.55
5.1.20.0390.04010.50
5.1.10.0330.04410.15
5.1.00.0410.04110.18
5.0.50.0180.0358.62
5.0.40.0250.0358.58
5.0.30.0220.0498.31
5.0.20.0200.0338.23
5.0.10.0170.0398.21
5.0.00.0210.0498.23
4.4.90.0240.0266.59
4.4.80.0210.0276.58
4.4.70.0230.0276.58
4.4.60.0250.0236.57
4.4.50.0230.0276.58
4.4.40.0250.0426.56
4.4.30.0260.0276.57
4.4.20.0270.0276.62
4.4.10.0220.0306.61
4.4.00.0310.0396.63
4.3.110.0220.0246.57
4.3.100.0200.0236.53
4.3.90.0270.0216.54
4.3.80.0240.0386.54
4.3.70.0190.0226.53
4.3.60.0230.0266.58
4.3.50.0230.0286.54
4.3.40.0180.0476.52
4.3.30.0130.0275.96
4.3.20.0110.0265.96
4.3.10.0100.0275.96
4.3.00.0080.0227.20