3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(is_object(array('pizza', 'time')));

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.0rc40.0300.00898.97
7.3.0rc30.0160.00616.27
7.3.0beta10.0000.01112.42
7.3.0alpha10.0280.00012.58
7.2.60.0160.01316.79
7.2.00.0060.00619.23
7.1.200.0000.01315.86
7.1.100.0000.01218.13
7.1.70.0040.00817.16
7.1.60.0070.01619.40
7.1.50.0080.00616.86
7.1.00.0030.07722.44
7.0.200.0050.00514.71
7.0.140.0030.07021.96
7.0.60.0070.07721.77
7.0.50.0070.07017.80
7.0.40.0070.04020.06
7.0.30.0200.04720.13
7.0.20.0100.07020.09
7.0.10.0100.08720.00
7.0.00.0070.07720.31
5.6.280.0070.07020.98
5.6.210.0070.05320.55
5.6.200.0130.04318.21
5.6.190.0130.07720.58
5.6.180.0470.03020.32
5.6.170.0330.08320.41
5.6.160.0070.05020.68
5.6.150.0070.03718.07
5.6.140.0030.04018.21
5.6.130.0130.04018.18
5.6.120.0000.05321.14
5.6.110.0230.07721.00
5.6.100.0100.08321.03
5.6.90.0100.07021.09
5.6.80.0030.08320.41
5.5.350.3700.04020.38
5.5.340.0070.03717.95
5.5.330.0030.08720.21
5.5.320.0400.06320.28
5.5.310.0330.07020.29
5.5.300.0070.07317.91
5.5.290.0100.07317.95
5.5.280.0270.07320.84
5.5.270.0000.07720.95
5.5.260.0170.06320.86
5.5.250.0170.07020.60
5.5.240.0030.06020.25
5.4.450.3700.03719.25
5.4.440.0870.04019.37
5.4.430.3730.04719.49
5.4.420.3900.04019.58
5.4.410.3930.03719.36
5.4.400.4000.03719.04
5.4.390.4600.04319.04
5.4.380.3470.03319.16
5.4.370.3630.03019.20
5.4.360.3700.03719.06
5.4.350.3870.03718.87
5.4.340.3830.03719.13
5.4.320.3970.04019.09
5.4.310.3970.03318.89
5.4.300.3870.03719.12
5.4.290.3900.03319.23
5.4.280.3700.04019.16
5.4.270.3670.03319.06
5.4.260.3800.04019.04
5.4.250.3900.03318.91
5.4.240.3600.03318.88
5.4.230.4400.04019.20
5.4.220.4430.03319.15
5.4.210.4470.03719.15
5.4.200.3870.03719.03
5.4.190.3630.04019.03
5.4.180.3630.03018.96
5.4.170.3930.03718.91
5.4.160.4500.03319.18
5.4.150.3830.04318.90
5.4.140.3830.03716.26
5.4.130.3600.03716.34
5.4.120.4570.03316.22
5.4.110.3470.04316.32
5.4.100.3770.04016.16
5.4.90.3600.03316.38
5.4.80.2030.03716.11
5.4.70.1870.03716.37
5.4.60.2170.03316.12
5.4.50.3700.02316.36
5.4.40.4130.04016.36
5.4.30.3900.03716.13
5.4.20.3800.02716.14
5.4.10.3530.04016.38
5.4.00.3670.03015.71
5.3.290.3700.04014.54
5.3.280.4230.04314.68
5.3.270.3970.03714.53
5.3.260.4570.04014.53
5.3.250.3600.03714.62
5.3.240.3630.04314.52
5.3.230.4170.04714.52
5.3.220.3700.02714.57
5.3.210.3670.02714.60
5.3.200.3600.03714.52
5.3.190.3430.03314.50
5.3.180.2500.04014.45
5.3.170.2030.03314.38
5.3.160.2730.03014.50
5.3.150.3130.03714.50
5.3.140.3970.03014.49
5.3.130.3900.04014.48
5.3.120.3870.03714.42
5.3.110.3800.04314.63
5.3.100.4300.03313.91
5.3.90.3230.04013.96
5.3.80.3770.02713.93
5.3.70.3800.04013.95
5.3.60.3830.04313.94
5.3.50.3570.03313.76
5.3.40.3870.03713.87
5.3.30.3800.04013.73
5.3.20.3470.04013.63
5.3.10.4070.04013.57
5.3.00.0000.07713.57
5.2.170.3230.03011.22
5.2.160.3130.02311.09
5.2.150.3230.03011.04
5.2.140.3330.02311.04
5.2.130.3470.03310.98
5.2.120.3230.03011.26
5.2.110.2670.03711.02
5.2.100.0030.03011.03
5.2.90.0030.04711.03
5.2.80.0730.06711.07
5.2.70.3200.03310.93
5.2.60.3170.03310.95
5.2.50.3370.03010.84
5.2.40.2630.03310.94
5.2.30.2870.03710.82
5.2.20.2430.03310.86
5.2.10.3270.01710.86
5.2.00.2870.02710.75
5.1.60.3230.01710.05
5.1.50.2800.0279.89
5.1.40.3270.0309.97
5.1.30.3100.02310.25
5.1.20.2900.02310.34
5.1.10.2870.03010.21
5.1.00.2970.01710.13
5.0.50.1370.0278.54
5.0.40.1270.0208.37
5.0.30.1500.0308.21
5.0.20.0670.0178.25
5.0.10.0030.0238.30
5.0.00.0030.0478.12
4.4.90.1230.0135.99
4.4.80.1530.0175.99
4.4.70.1530.0175.99
4.4.60.1300.0235.99
4.4.50.1470.0175.99
4.4.40.1400.0305.99
4.4.30.1500.0135.99
4.4.20.1830.0135.99
4.4.10.1530.0205.99
4.4.00.1670.0275.99
4.3.110.1200.0135.99
4.3.100.1230.0135.99
4.3.90.0030.0175.99
4.3.80.0000.0435.99
4.3.70.0000.0305.99
4.3.60.0030.0235.99
4.3.50.0030.0305.99
4.3.40.0100.0475.99
4.3.30.0030.0175.99
4.3.20.0070.0235.99
4.3.10.0030.0175.99
4.3.00.0000.0205.99