3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $b = false || true; var_dump($b);

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.10.0110.00316.34
7.3.00.0030.01016.34
7.2.130.0110.00716.54
7.2.120.0060.00616.59
7.2.110.0060.00316.74
7.2.100.0130.00316.48
7.2.90.0030.00716.53
7.2.80.0080.00816.69
7.2.70.0000.01116.58
7.2.60.0120.00116.47
7.2.50.0120.00916.53
7.2.40.0170.00716.63
7.2.30.0040.01816.57
7.2.20.0120.00816.64
7.2.10.0120.01016.28
7.2.00.0070.00817.88
7.1.250.0000.01015.62
7.1.200.0120.00315.75
7.1.100.0100.00017.83
7.1.70.0000.01016.89
7.1.60.0150.00819.46
7.1.50.0210.01434.81
7.1.00.0030.07722.48
7.0.200.0040.00416.67
7.0.140.0100.03722.04
7.0.60.0030.04719.81
7.0.50.0100.07017.80
7.0.40.0130.03320.16
7.0.30.0200.04720.01
7.0.20.0370.07020.09
7.0.10.0100.07320.33
7.0.00.0030.05320.00
5.6.280.0070.07021.03
5.6.210.0070.03720.61
5.6.200.0070.05018.19
5.6.190.0070.08320.36
5.6.180.4000.04020.56
5.6.170.0300.07020.69
5.6.160.0070.05720.41
5.6.150.0030.07718.21
5.6.140.0030.05018.11
5.6.130.0030.06718.20
5.6.120.0100.08320.96
5.6.110.0070.05020.99
5.6.100.0070.08321.06
5.6.90.0200.04721.11
5.6.80.0170.07020.52
5.6.70.0170.03320.41
5.5.350.0030.08020.42
5.5.340.0070.08317.98
5.5.330.0070.08720.57
5.5.320.0230.07320.07
5.5.310.0230.05020.29
5.5.300.0070.04717.87
5.5.290.0070.04017.91
5.5.280.0030.06020.76
5.5.270.0100.03320.83
5.5.260.0130.04020.71
5.5.250.0000.08020.58
5.5.240.0070.07720.26
5.4.450.0830.05719.32
5.4.440.0900.04319.14
5.4.430.0630.05319.25
5.4.420.0630.05019.50
5.4.410.0770.04719.04
5.4.400.0700.05319.04
5.4.390.0300.05018.68
5.4.380.0230.06318.53
5.4.370.0330.05018.77
5.4.360.0270.05318.56
5.4.350.0230.06018.46
5.4.340.0200.06018.53
5.4.320.0270.05718.48
5.4.310.0370.05718.50
5.4.300.0270.06018.50
5.4.290.0300.05018.72
5.4.280.0300.05718.64
5.4.270.0330.05018.48
5.4.260.0300.04718.61
5.4.250.0270.05718.49
5.4.240.0300.05318.60
5.4.230.0400.03718.45
5.4.220.0200.05718.58
5.4.210.0230.05718.65
5.4.200.0200.05316.41
5.4.190.0270.05718.59
5.4.180.0300.04718.61
5.4.170.0300.05718.49
5.4.160.0300.04318.71
5.4.150.0300.05718.44
5.4.140.0230.05016.31
5.4.130.0170.06016.12
5.4.120.0230.04716.12
5.4.110.0270.05016.44
5.4.100.0270.05016.25
5.4.90.0230.05316.16
5.4.80.0200.05316.10
5.4.70.0200.05716.10
5.4.60.0200.05716.03
5.4.50.0270.05016.02
5.4.40.0270.05016.05
5.4.30.0300.04716.11
5.4.20.0270.05016.16
5.4.10.0270.05316.11
5.4.00.0200.05015.56
5.3.290.0230.05714.57
5.3.280.0270.05314.68
5.3.270.0200.06314.60
5.3.260.0230.06014.65
5.3.250.0270.05314.58
5.3.240.0330.04314.58
5.3.230.0230.05714.51
5.3.220.0330.05014.52
5.3.210.0330.06714.66
5.3.200.0300.05314.47
5.3.190.0330.05714.49
5.3.180.0300.05014.45
5.3.170.0330.05714.51
5.3.160.0430.03714.48
5.3.150.0200.06314.47
5.3.140.0200.07014.55
5.3.130.0300.05714.64
5.3.120.0270.05314.62
5.3.110.0230.06014.59
5.3.100.0200.05714.13
5.3.90.0200.05713.91
5.3.80.0270.05314.10
5.3.70.0400.03714.01
5.3.60.0270.05013.93
5.3.50.0330.04714.03
5.3.40.0130.06014.03
5.3.30.0230.05713.90
5.3.20.0200.05713.63
5.3.10.0370.04313.57
5.3.00.0400.06013.72
5.2.170.0170.04711.17
5.2.160.0230.04311.09
5.2.150.0470.03311.27
5.2.140.0270.04711.09
5.2.130.0200.05011.05
5.2.120.0300.04011.05
5.2.110.0130.05011.02
5.2.100.0230.03711.05
5.2.90.0330.05311.15
5.2.80.0300.06011.06
5.2.70.0200.05711.15
5.2.60.0230.05311.00
5.2.50.0230.03711.06
5.2.40.0030.04710.97
5.2.30.0230.03711.11
5.2.20.0230.03710.89
5.2.10.0130.04010.92
5.2.00.0130.04010.80
5.1.60.0170.0309.98
5.1.50.0200.03310.11
5.1.40.0230.03010.09
5.1.30.0230.04010.44
5.1.20.0230.03710.41
5.1.10.0270.03310.04
5.1.00.0200.03310.13
5.0.50.0130.0278.56
5.0.40.0130.0278.42
5.0.30.0070.0478.23
5.0.20.0070.0378.39
5.0.10.0100.0308.16
5.0.00.0070.0438.27
4.4.90.0000.0275.87
4.4.80.0000.0305.86
4.4.70.0200.0135.87
4.4.60.0170.0175.89
4.4.50.0100.0235.89
4.4.40.0130.0375.81
4.4.30.0230.0135.90
4.4.20.0100.0275.98
4.4.10.0100.0275.98
4.4.00.0070.0375.94
4.3.110.0100.0335.79
4.3.100.0170.0235.82
4.3.90.0100.0305.89
4.3.80.0070.0535.87
4.3.70.0170.0235.90
4.3.60.0130.0275.79
4.3.50.0130.0305.81
4.3.40.0100.0435.73
4.3.30.0070.0274.57
4.3.20.0070.0204.55
4.3.10.0030.0304.50
4.3.00.0130.0236.78