3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = true; $a &= false; var_dump($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).

VersionSystem time (s)User time (s)Memory (MiB)
8.0.0beta10.0150.00416.66
8.0.0alpha30.0100.00616.38
8.0.0alpha20.0070.01016.47
8.0.0alpha10.0160.00016.47
7.4.90.0100.01316.24
7.4.80.0130.01019.37
7.4.70.0030.01316.27
7.4.60.0090.00916.23
7.4.50.0090.00016.50
7.4.40.0060.00622.27
7.4.30.0040.01316.36
7.4.10.0060.01314.39
7.4.00.0060.01114.75
7.3.210.0130.00716.18
7.3.200.0150.00619.39
7.3.190.0100.00616.02
7.3.180.0110.00416.44
7.3.170.0160.00016.27
7.3.160.0140.00616.22
7.3.130.0070.01114.38
7.3.120.0080.00914.71
7.3.110.0040.01214.63
7.3.100.0070.00814.72
7.3.90.0050.01014.54
7.3.80.0050.00514.69
7.3.70.0070.00714.74
7.3.60.0060.01114.71
7.3.50.0010.01214.70
7.3.40.0070.00614.56
7.3.30.0070.00714.61
7.3.20.0050.00816.52
7.3.10.0050.00816.39
7.3.00.0060.00716.52
7.2.330.0100.00716.14
7.2.320.0060.01216.33
7.2.310.0080.01216.59
7.2.300.0080.00816.54
7.2.290.0130.00316.28
7.2.260.0100.00714.55
7.2.250.0070.01114.95
7.2.240.0040.01214.54
7.2.230.0030.01314.91
7.2.220.0050.01014.96
7.2.210.0030.00814.86
7.2.200.0080.00614.74
7.2.190.0030.00914.72
7.2.180.0100.00714.66
7.2.170.0040.00814.75
7.2.160.0000.00914.93
7.2.150.0030.01116.71
7.2.140.0030.01316.42
7.2.130.0090.00016.61
7.2.120.0060.00316.49
7.2.110.0070.00416.88
7.2.100.0070.00716.42
7.2.90.0060.00816.91
7.2.80.0100.00616.75
7.2.70.0100.00316.86
7.2.60.0050.00516.86
7.2.50.0040.01116.82
7.2.40.0040.01116.88
7.2.30.0070.00716.73
7.2.20.0040.00916.53
7.2.10.0100.00316.63
7.2.00.0040.00718.11
7.1.330.0060.00815.73
7.1.320.0090.00515.57
7.1.310.0070.00615.75
7.1.300.0050.00715.72
7.1.290.0090.00815.60
7.1.280.0030.00915.90
7.1.270.0040.00715.70
7.1.260.0040.00715.68
7.1.250.0000.01415.63
7.1.240.0000.01015.60
7.1.230.0060.00615.86
7.1.220.0030.00515.74
7.1.210.0000.01215.64
7.1.200.0090.00315.81
7.1.190.0000.00815.69
7.1.180.0040.00715.71
7.1.170.0000.01015.89
7.1.160.0080.00015.91
7.1.150.0000.00815.54
7.1.140.0100.00315.66
7.1.130.0030.00615.81
7.1.120.0040.00617.30
7.1.110.0050.00316.90
7.1.100.0050.00616.87
7.1.90.0060.00516.96
7.1.80.0070.00516.72
7.1.70.0040.00916.69
7.1.60.0150.00623.33
7.1.50.0090.01122.39
7.1.40.0080.00924.95
7.1.30.0140.00425.07
7.1.20.0060.01324.99
7.1.10.0060.00316.14
7.1.00.0050.01918.33
7.0.330.0100.00315.09
7.0.320.0090.00315.47
7.0.310.0110.00615.34
7.0.300.0070.00715.49
7.0.290.0000.01215.54
7.0.280.0000.00915.43
7.0.270.0030.00615.06
7.0.260.0070.00716.95
7.0.250.0060.00516.73
7.0.240.0050.00516.46
7.0.230.0020.01016.64
7.0.220.0070.00716.56
7.0.210.0050.00615.84
7.0.200.0030.00716.20
7.0.190.0070.00416.04
7.0.180.0100.00215.65
7.0.170.0020.00615.78
7.0.160.0050.00515.79
7.0.150.0050.00615.76
7.0.140.0040.03017.90
7.0.130.0000.01015.97
7.0.120.0020.00916.05
7.0.110.0070.00315.81
7.0.100.0060.00316.03
7.0.90.0020.00916.03
7.0.80.0060.00615.92
7.0.70.0040.00915.72
7.0.60.0030.03117.74
7.0.50.0050.03317.99
7.0.40.0020.03316.69
7.0.30.0050.03116.70
7.0.20.0050.03316.78
7.0.10.0050.03116.66
7.0.00.0040.03416.59
5.6.400.0040.00414.29
5.6.390.0060.00614.25
5.6.380.0000.00914.26
5.6.370.0060.00614.24
5.6.360.0030.01014.18
5.6.350.0030.01014.31
5.6.340.0070.00314.27
5.6.330.0090.00314.52
5.6.320.0100.00314.47
5.6.310.0000.00914.13
5.6.300.0050.02917.53
5.6.290.0070.02717.66
5.6.280.0040.04718.71
5.6.270.0110.02417.55
5.6.260.0070.02717.70
5.6.250.0020.03117.38
5.6.240.0050.03517.59
5.6.230.0060.02817.47
5.6.220.0080.02617.43
5.6.210.0060.05318.41
5.6.200.0090.04418.66
5.6.190.0100.04218.70
5.6.180.0040.04118.61
5.6.170.0130.04118.58
5.6.160.0060.04018.66
5.6.150.0110.04018.57
5.6.140.0030.03618.77
5.6.130.0080.04518.61
5.6.120.0040.03818.66
5.6.110.0100.04018.65
5.6.100.0060.04818.77
5.6.90.0070.04618.68
5.6.80.0090.04318.28
5.6.70.0100.04018.15
5.6.60.0060.04218.18
5.6.50.0100.04718.33
5.6.40.0080.03618.29
5.6.30.0050.04618.16
5.6.20.0060.04418.23
5.6.10.0050.04618.17
5.6.00.0050.04118.19
5.5.380.0100.04517.45
5.5.370.0100.04417.58
5.5.360.0130.04317.41
5.5.350.0000.07318.94
5.5.340.0090.06119.36
5.5.330.0080.06019.40
5.5.320.0050.07119.40
5.5.310.0080.04519.45
5.5.300.0050.04819.33
5.5.290.0120.05219.43
5.5.280.0100.06319.36
5.5.270.0080.05519.38
5.5.260.0100.05219.34
5.5.250.0080.06219.13
5.5.240.0120.05318.67
5.5.230.0110.05618.89
5.5.220.0030.06518.80
5.5.210.0080.05818.77
5.5.200.0080.05818.64
5.5.190.0070.05318.67
5.5.180.0060.05718.78
5.5.160.0050.05818.72
5.5.150.0070.06018.70
5.5.140.0060.06418.77
5.5.130.0050.06318.67
5.5.120.0030.05818.71
5.5.110.0090.05318.60
5.5.100.0050.05318.57
5.5.90.0080.04418.66
5.5.80.0110.05318.63
5.5.70.0080.05818.63
5.5.60.0080.04118.72
5.5.50.0020.06018.58
5.5.40.0070.05818.62
5.5.30.0120.05618.63
5.5.20.0100.03718.52
5.5.10.0080.04818.61
5.5.00.0080.03818.57
5.4.450.0050.06019.41
5.4.440.0050.06419.25
5.4.430.0120.05819.36
5.4.420.0030.06619.44
5.4.410.0020.06619.12
5.4.400.0120.05619.05
5.4.390.0050.05719.06
5.4.380.0070.07018.94
5.4.370.0080.05818.99
5.4.360.0070.05619.07
5.4.350.0050.05519.10
5.4.340.0100.05519.02
5.4.320.0030.06219.13
5.4.310.0050.06118.92
5.4.300.0050.05919.05
5.4.290.0030.05518.88
5.4.280.0030.06419.04
5.4.270.0030.06119.00
5.4.260.0030.05918.88
5.4.250.0030.05318.98
5.4.240.0070.05718.91
5.4.230.0080.05319.01
5.4.220.0070.05418.97
5.4.210.0070.05718.84
5.4.200.0050.06118.94
5.4.190.0080.04018.92
5.4.180.0050.04819.07
5.4.170.0050.04619.07
5.4.160.0030.04119.02
5.4.150.0070.04219.04
5.4.140.0060.04116.42
5.4.130.0050.03716.48
5.4.120.0030.03716.24
5.4.110.0070.03616.35
5.4.100.0040.04116.34
5.4.90.0030.03616.41
5.4.80.0070.03616.32
5.4.70.0070.03816.33
5.4.60.0120.03416.29
5.4.50.0070.03516.36
5.4.40.0050.03416.44
5.4.30.0030.03616.26
5.4.20.0050.03616.37
5.4.10.0080.03116.47
5.4.00.0030.03515.78
5.3.290.0070.06014.64
5.3.280.0070.04214.58
5.3.270.0070.04814.63
5.3.260.0070.04014.61
5.3.250.0050.04114.68
5.3.240.0040.03914.63
5.3.230.0050.03914.55
5.3.220.0050.03914.60
5.3.210.0100.04114.59
5.3.200.0050.04014.62
5.3.190.0080.03914.52
5.3.180.0100.03714.59
5.3.170.0050.04114.63
5.3.160.0080.03314.47
5.3.150.0000.04114.60
5.3.140.0080.03214.51
5.3.130.0050.04114.58
5.3.120.0030.03814.50
5.3.110.0050.03614.48
5.3.100.0050.03514.01
5.3.90.0030.03714.00
5.3.80.0020.03814.04
5.3.70.0100.02913.91
5.3.60.0020.04314.02
5.3.50.0030.03613.90
5.3.40.0050.03613.98
5.3.30.0060.03313.92
5.3.20.0020.03713.71
5.3.10.0100.03613.65
5.3.00.0030.03613.59
5.2.170.0020.03011.12
5.2.160.0060.02811.11
5.2.150.0080.02511.21
5.2.140.0020.03111.15
5.2.130.0030.03211.06
5.2.120.0030.03311.06
5.2.110.0020.03011.12
5.2.100.0050.03011.18
5.2.90.0070.03811.13
5.2.80.0050.05511.17
5.2.70.0050.04911.09
5.2.60.0050.04411.08
5.2.50.0080.03510.97
5.2.40.0030.03911.10
5.2.30.0050.03610.93
5.2.20.0080.04010.90
5.2.10.0060.04310.93
5.2.00.0030.04610.60
5.1.60.0050.0379.98
5.1.50.0030.0439.96
5.1.40.0030.0389.96
5.1.30.0030.04510.38
5.1.20.0030.04410.36
5.1.10.0030.04110.13
5.1.00.0070.03210.19
5.0.50.0050.0329.35
5.0.40.0020.0359.35
5.0.30.0030.0509.35
5.0.20.0050.0329.35
5.0.10.0020.0289.35
5.0.00.0020.0509.35
4.4.90.0030.0279.35
4.4.80.0040.0139.35
4.4.70.0000.0299.35
4.4.60.0030.0269.35
4.4.50.0040.0219.35
4.4.40.0020.0369.35
4.4.30.0020.0299.35
4.4.20.0020.0279.35
4.4.10.0030.0239.35
4.4.00.0030.0349.35
4.3.110.0030.0269.35
4.3.100.0020.0259.35
4.3.90.0050.0199.35
4.3.80.0050.0399.35
4.3.70.0030.0259.35
4.3.60.0020.0259.35
4.3.50.0020.0259.35
4.3.40.0030.0359.35
4.3.30.0000.0279.35
4.3.20.0020.0299.35
4.3.10.0020.0279.35
4.3.00.0030.0249.35