3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = true; $y = false; $z = $x OR $y; var_dump($z);
based on DbCsA

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.00.0000.01519.13
7.1.100.0060.00618.14
7.1.70.0000.00916.66
7.1.60.0040.01919.32
7.1.50.0070.01116.80
7.1.00.0070.07322.27
7.0.200.0000.00816.46
7.0.140.0070.07022.07
7.0.60.0130.08020.06
7.0.50.0130.04317.78
7.0.40.0070.04020.19
7.0.30.0430.07320.03
7.0.20.0300.07020.28
7.0.10.0070.09020.30
7.0.00.0070.04020.09
5.6.280.0000.07720.77
5.6.210.0130.07720.72
5.6.200.0230.03018.12
5.6.190.0100.09020.57
5.6.180.0430.06720.67
5.6.170.0330.04020.49
5.6.160.0070.03720.41
5.6.150.0070.08318.17
5.6.140.0100.06318.15
5.6.130.0030.04718.10
5.6.120.0030.04020.89
5.6.110.0030.04021.08
5.6.100.0030.08721.13
5.6.90.0070.08021.09
5.6.80.0100.07720.37
5.5.350.0200.08020.42
5.5.340.0070.08017.96
5.5.330.0130.04320.43
5.5.320.0370.07720.42
5.5.310.0200.06320.31
5.5.300.0030.04318.00
5.5.290.0000.04317.90
5.5.280.0030.04020.89
5.5.270.0070.04320.84
5.5.260.0100.08020.66
5.5.250.0030.08720.58
5.5.240.0130.03020.26
5.4.450.0400.04319.57
5.4.440.0130.03719.41
5.4.430.0330.02319.24
5.4.420.0670.00019.14
5.4.410.0630.00019.21
5.4.400.0630.00019.16
5.4.390.0600.00019.09
5.4.380.0630.00019.00
5.4.370.0600.00019.16
5.4.360.0600.00018.92
5.4.350.0630.00018.96
5.4.340.0600.00019.16
5.4.320.0030.04012.45
5.4.310.0070.03712.45
5.4.300.0030.03912.45
5.4.290.0040.03912.45
5.4.280.0030.03712.35
5.4.270.0050.03712.34
5.4.260.0070.03812.35
5.4.250.0060.03712.35
5.4.240.0070.05012.34
5.4.230.0040.04612.34
5.4.220.0070.03512.34
5.4.210.0030.03712.34
5.4.200.0050.03812.34
5.4.190.0060.03712.34
5.4.180.0090.04312.33
5.4.170.0100.05112.34
5.4.160.0080.03712.34
5.4.150.0060.03712.34
5.4.140.0060.03712.02
5.4.130.0060.03812.01
5.4.120.0010.04011.97
5.4.110.0100.04311.96
5.4.100.0090.04011.96
5.4.90.0090.05711.96
5.4.80.0090.04311.96
5.4.70.0080.05211.96
5.4.60.0060.04311.96
5.4.50.0070.04411.96
5.4.40.0080.04211.95
5.4.30.0080.04911.95
5.4.20.0100.05411.95
5.4.10.0060.04911.95
5.4.00.0060.04611.43
5.3.290.0040.04212.80
5.3.280.0050.04112.70
5.3.270.0110.04012.72
5.3.260.0080.05312.72
5.3.250.0170.04012.72
5.3.240.0050.04412.71
5.3.230.0030.04212.70
5.3.220.0050.03812.68
5.3.210.0030.04212.68
5.3.200.0130.05512.68
5.3.190.0080.05812.68
5.3.180.0180.04312.67
5.3.170.0170.04212.67
5.3.160.0120.04712.67
5.3.150.0140.03312.67
5.3.140.0120.04212.66
5.3.130.0100.03812.66
5.3.120.0100.03912.66
5.3.110.0070.04012.66
5.3.100.0110.03712.12
5.3.90.0070.04712.08
5.3.80.0070.03912.08
5.3.70.0040.03912.07
5.3.60.0080.03712.06
5.3.50.0050.04112.00
5.3.40.0050.03812.00
5.3.30.0070.03611.94
5.3.20.0080.03711.73
5.3.10.0110.03311.69
5.3.00.0090.04911.67
5.2.170.0060.0299.18
5.2.160.0050.0299.18
5.2.150.0220.0359.18
5.2.140.0060.0289.17
5.2.130.0260.0319.13
5.2.120.0040.0289.13
5.2.110.0030.0329.14
5.2.100.0040.0299.13
5.2.90.0070.0309.14
5.2.80.0060.0299.13
5.2.70.0060.0289.13
5.2.60.0020.0329.09
5.2.50.0070.0319.05
5.2.40.0090.0329.03
5.2.30.0050.0309.01
5.2.20.0050.0378.99
5.2.10.0060.0318.91
5.2.00.0050.0298.77
5.1.60.0060.0238.06
5.1.50.0040.0258.06
5.1.40.0040.0258.03
5.1.30.0070.0258.39
5.1.20.0050.0278.41
5.1.10.0020.0308.13
5.1.00.0060.0248.14
5.0.50.0060.0186.61
5.0.40.0050.0186.47
5.0.30.0040.0316.29
5.0.20.0030.0206.26
5.0.10.0050.0196.23
5.0.00.0050.0316.23
4.4.90.0020.0174.78
4.4.80.0030.0164.76
4.4.70.0040.0154.76
4.4.60.0030.0154.76
4.4.50.0020.0164.77
4.4.40.0040.0284.71
4.4.30.0050.0164.76
4.4.20.0030.0154.84
4.4.10.0030.0184.85
4.4.00.0030.0244.76
4.3.110.0030.0184.67
4.3.100.0030.0204.66
4.3.90.0010.0214.63
4.3.80.0020.0254.59
4.3.70.0020.0184.63
4.3.60.0010.0174.63
4.3.50.0050.0144.63
4.3.40.0030.0244.54
4.3.30.0000.0183.27
4.3.20.0020.0203.25
4.3.10.0040.0143.21
4.3.00.0170.01013.34