3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a=1; throw new Exception('dsfs');

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.2.60.0040.01116.89
7.2.00.0090.01219.56
7.1.200.0000.00915.48
7.1.100.0030.01318.00
7.1.70.0030.00916.78
7.1.60.0100.01319.17
7.1.50.0100.01016.77
7.1.00.0000.03722.43
7.0.200.2880.01016.90
7.0.140.0000.07722.01
7.0.60.0300.06319.78
7.0.50.0100.03717.89
7.0.40.0200.07020.32
7.0.30.0170.04320.04
7.0.20.0300.04720.12
7.0.10.0270.07720.04
7.0.00.0030.05320.18
5.6.280.0070.07021.06
5.6.210.0000.05020.51
5.6.200.0000.09018.16
5.6.190.0030.09020.52
5.6.180.0270.07720.77
5.6.170.0370.08020.39
5.6.160.0030.04020.39
5.6.150.0070.04318.14
5.6.140.0030.07018.15
5.6.130.0100.08018.24
5.6.120.0100.04720.86
5.6.110.0000.04320.97
5.6.100.0130.04320.97
5.6.90.0130.07720.99
5.6.80.0100.04020.39
5.5.350.0170.04020.44
5.5.340.0070.06018.05
5.5.330.0070.04320.29
5.5.320.0200.05720.37
5.5.310.0300.08320.19
5.5.300.0030.08317.97
5.5.290.0030.07317.95
5.5.280.0170.05020.86
5.5.270.0000.08720.87
5.5.260.0070.03720.86
5.5.250.0100.08720.61
5.5.240.0170.07320.11
5.4.450.3930.04019.48
5.4.440.3800.04019.52
5.4.430.3970.04019.19
5.4.420.3900.04019.30
5.4.410.3670.03719.29
5.4.400.3500.03719.23
5.4.390.3970.03718.94
5.4.380.3370.03319.13
5.4.370.3970.03019.09
5.4.360.3900.03318.99
5.4.350.4070.03719.13
5.4.340.3900.03718.95
5.4.320.3630.03318.85
5.4.310.3500.04019.09
5.4.300.3470.03318.99
5.4.290.3470.03019.11
5.4.280.3570.03718.94
5.4.270.3870.04318.87
5.4.260.4530.03719.16
5.4.250.4630.03319.13
5.4.240.3830.04019.08
5.4.230.3770.04018.99
5.4.220.3600.04319.14
5.4.210.3830.04018.84
5.4.200.4570.03019.09
5.4.190.4070.03718.98
5.4.180.4330.04018.98
5.4.170.3900.03719.18
5.4.160.3600.03319.19
5.4.150.3800.04318.95
5.4.140.4570.03316.38
5.4.130.4200.02716.30
5.4.120.3830.03316.51
5.4.110.3870.03716.27
5.4.100.3900.03316.45
5.4.90.3830.04016.27
5.4.80.3670.02316.26
5.4.70.3670.03716.25
5.4.60.3530.03716.42
5.4.50.3630.04016.43
5.4.40.3830.04016.43
5.4.30.3870.03316.34
5.4.20.4100.04016.43
5.4.10.3900.03716.51
5.4.00.4170.04015.77
5.3.290.3800.03014.68
5.3.280.3870.03714.66
5.3.270.3930.03314.71
5.3.260.3630.03714.51
5.3.250.3500.04314.76
5.3.240.4230.03714.71
5.3.230.3600.03314.75
5.3.220.4170.03714.64
5.3.210.4330.04314.79
5.3.200.3800.04014.54
5.3.190.3870.03714.56
5.3.180.4130.05014.67
5.3.170.3870.03014.77
5.3.160.3800.03714.57
5.3.150.3830.03314.47
5.3.140.3970.03314.45
5.3.130.3870.04014.46
5.3.120.3730.03314.63
5.3.110.3800.04314.70
5.3.100.3830.03714.08
5.3.90.3970.04013.91
5.3.80.3670.04014.02
5.3.70.3730.03714.23
5.3.60.3900.03314.15
5.3.50.3900.03313.98
5.3.40.3870.03713.83
5.3.30.3630.03714.02
5.3.20.3770.02713.59
5.3.10.4430.04313.56
5.3.00.4200.03013.55
5.2.170.3170.03011.30
5.2.160.3230.03011.05
5.2.150.3070.03311.25
5.2.140.3100.03011.11
5.2.130.3270.03011.14
5.2.120.3870.02711.07
5.2.110.3870.02311.32
5.2.100.3330.02311.18
5.2.90.3270.03011.05
5.2.80.3100.03011.06
5.2.70.2970.03311.20
5.2.60.3370.04011.04
5.2.50.3230.03010.93
5.2.40.2870.02710.99
5.2.30.1970.03310.88
5.2.20.2700.03010.93
5.2.10.2700.03010.86
5.2.00.2730.03310.63
5.1.60.2700.0279.96
5.1.50.2830.03310.04
5.1.40.2470.02010.02
5.1.30.2370.02710.33
5.1.20.2630.03010.25
5.1.10.2530.0209.95
5.1.00.2530.0209.98
5.0.50.1230.0239.59
5.0.40.1500.0239.59
5.0.30.1530.0339.59
5.0.20.1200.0209.59
5.0.10.1470.0239.59
5.0.00.1330.0339.59
4.4.90.1270.0109.59
4.4.80.1330.0179.59
4.4.70.1430.0179.59
4.4.60.1470.0209.59
4.4.50.1400.0139.59
4.4.40.1370.0279.59
4.4.30.1500.0139.59
4.4.20.1200.0179.59
4.4.10.1200.0179.59
4.4.00.1470.0279.59
4.3.110.1570.0139.59
4.3.100.1530.0179.59
4.3.90.1400.0139.59
4.3.80.1730.0239.59
4.3.70.1770.0139.59
4.3.60.1800.0179.59
4.3.50.1730.0179.59
4.3.40.1400.0279.59
4.3.30.0770.0139.59
4.3.20.0970.0209.59
4.3.10.1000.0209.59
4.3.00.0930.0139.59