3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo ((true==true ? 'true' : false)==true ? 'false' : 'banana');

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.0030.01316.43
8.0.0alpha30.0070.01016.66
8.0.0alpha20.0100.00716.68
8.0.0alpha10.0050.01116.55
7.4.80.0070.01019.39
7.4.70.0060.00916.39
7.4.60.0080.00816.37
7.4.50.0030.00616.42
7.4.40.0060.01222.77
7.4.30.0120.01016.32
7.4.00.0070.00715.09
7.3.200.0060.01219.39
7.3.190.0110.00716.29
7.3.180.0060.00916.22
7.3.170.0130.00416.36
7.3.160.0070.00916.27
7.3.120.0040.01114.51
7.3.10.0000.01316.55
7.3.00.0110.00416.35
7.2.320.0110.00516.23
7.2.310.0060.01216.57
7.2.300.0060.01216.23
7.2.290.0070.01416.49
7.2.130.0060.01216.85
7.2.120.0040.01116.81
7.2.110.0030.00616.89
7.2.100.0080.00616.50
7.2.90.0000.01416.72
7.2.80.0090.00316.61
7.2.70.0070.00316.59
7.2.60.0080.00816.93
7.2.50.0080.00816.92
7.2.40.0040.00816.73
7.2.30.0000.01516.92
7.2.20.0030.01116.71
7.2.10.0030.00716.88
7.2.00.0090.00616.75
7.1.250.0040.00815.61
7.1.200.0030.00915.23
7.1.70.0000.00816.85
7.1.60.0100.01019.40
7.1.50.0030.01016.53
7.1.00.0000.03722.54
7.0.200.0040.00414.68
7.0.140.0000.07022.07
7.0.70.0000.04321.73
7.0.60.0030.03721.75
7.0.50.0070.03722.01
7.0.40.0000.06320.05
7.0.30.0000.04720.07
7.0.20.0100.08020.08
7.0.10.0000.08719.95
7.0.00.0130.08020.12
5.6.280.0070.07020.81
5.6.220.0000.04020.61
5.6.210.0000.04020.56
5.6.200.0030.04020.89
5.6.190.0070.04321.07
5.6.180.0070.07021.01
5.6.170.0000.09021.11
5.6.160.0100.08021.03
5.6.150.0030.07721.00
5.6.140.0000.06720.94
5.6.130.0070.08721.12
5.6.120.0130.08321.11
5.6.110.0130.07721.06
5.6.100.0130.07321.09
5.6.90.0030.07720.92
5.6.80.0030.08320.49
5.6.70.0000.09020.50
5.6.60.0000.08320.46
5.6.50.0000.09020.43
5.6.40.0100.07320.29
5.6.30.0130.07320.46
5.6.20.0000.09020.46
5.6.10.0030.07320.51
5.6.00.0100.07320.41
5.5.360.0000.04320.32
5.5.350.0000.05020.36
5.5.340.0070.03720.83
5.5.330.0030.05020.77
5.5.320.0100.05720.75
5.5.310.0070.06020.73
5.5.300.0070.08020.79
5.5.290.0030.07720.72
5.5.280.0030.08720.63
5.5.270.0130.07020.90
5.5.260.0170.04320.88
5.5.250.0000.05320.60
5.5.240.0100.07720.24
5.5.230.0030.08320.17
5.5.220.0100.08020.29
5.5.210.0070.07320.25
5.5.200.0000.08320.14
5.5.190.0070.07720.07
5.5.180.0070.06320.27
5.5.160.0130.07320.16
5.5.150.0100.07320.17
5.5.140.0070.07720.14
5.5.130.0070.08320.27
5.5.120.0030.07720.10
5.5.110.0070.05320.23
5.5.100.0100.08020.05
5.5.90.0070.07320.14
5.5.80.0130.07720.00
5.5.70.0170.07320.08
5.5.60.0030.04720.05
5.5.50.0070.08019.95
5.5.40.0000.07020.13
5.5.30.0100.07020.02
5.5.20.0070.07320.14
5.5.10.0030.08020.07
5.5.00.0100.03720.12
5.4.450.0070.08019.23
5.4.440.0030.08019.38
5.4.430.0070.06019.39
5.4.420.0000.05719.40
5.4.410.0030.06719.33
5.4.400.0100.06319.03
5.4.390.0070.06319.10
5.4.380.0130.05319.03
5.4.370.0100.07019.13
5.4.360.0030.08018.78
5.4.350.0100.06319.06
5.4.340.0030.07319.14
5.4.320.0070.05719.02
5.4.310.0030.07719.03
5.4.300.0070.07719.07
5.4.290.0030.05719.05
5.4.280.0100.07318.98
5.4.270.0170.06319.20
5.4.260.0070.07718.81
5.4.250.0100.07719.22
5.4.240.0000.08319.05
5.4.230.0100.06719.02
5.4.220.0070.06319.07
5.4.210.0070.07718.96
5.4.200.0030.05319.14
5.4.190.0000.05719.01
5.4.180.0030.07718.89
5.4.170.0100.07318.88
5.4.160.0070.07318.79
5.4.150.0100.04719.01
5.4.140.0070.07316.38
5.4.130.0130.06016.38
5.4.120.0030.05716.12
5.4.110.0000.08316.36
5.4.100.0070.07316.21
5.4.90.0070.06716.23
5.4.80.0100.06016.21
5.4.70.0030.07316.20
5.4.60.0030.07316.24
5.4.50.0070.05016.21
5.4.40.0030.04016.46
5.4.30.0000.06016.36
5.4.20.0070.06316.21
5.4.10.0000.06316.17
5.4.00.0000.06315.77
5.3.290.0030.07314.49
5.3.280.0070.06014.54
5.3.270.0030.04714.46
5.3.260.0000.07714.58
5.3.250.0030.08014.58
5.3.240.0030.07714.42
5.3.230.0000.08314.59
5.3.220.0070.07014.55
5.3.210.0070.07314.55
5.3.200.0070.05714.54
5.3.190.0070.06314.53
5.3.180.0100.07014.55
5.3.170.0070.07014.49
5.3.160.0070.07714.38
5.3.150.0100.07014.54
5.3.140.0070.07014.52
5.3.130.0070.07314.37
5.3.120.0070.07314.45
5.3.110.0070.07314.48
5.3.100.0030.07314.01
5.3.90.0030.07713.98
5.3.80.0070.06013.96
5.3.70.0070.07713.99
5.3.60.0070.06013.93
5.3.50.0000.07713.89
5.3.40.0030.07713.88
5.3.30.0070.07013.67
5.3.20.0030.07013.66
5.3.10.0100.05713.42
5.3.00.0000.04013.60
5.2.170.0030.06311.13
5.2.160.0030.06711.21
5.2.150.0070.06010.98
5.2.140.0030.04711.05
5.2.130.0030.06011.06
5.2.120.0000.06011.01
5.2.110.0000.04711.09
5.2.100.0030.05711.05
5.2.90.0000.05311.05
5.2.80.0030.06311.01
5.2.70.0030.06011.01
5.2.60.0030.04710.98
5.2.50.0100.06011.03
5.2.40.0100.05710.98
5.2.30.0030.06010.98
5.2.20.0000.04710.98
5.2.10.0000.04010.98
5.2.00.0000.06310.98
5.1.60.0000.05710.98
5.1.50.0070.05310.98
5.1.40.0070.04710.98
5.1.30.0030.05710.98
5.1.20.0030.04710.98
5.1.10.0030.05310.98
5.1.00.0030.05310.98
5.0.50.0070.04010.98
5.0.40.0030.04010.98
5.0.30.0070.06310.98
5.0.20.0000.04710.98
5.0.10.0000.04710.98
5.0.00.0000.06010.98
4.4.90.0030.03310.98
4.4.80.0030.03310.98
4.4.70.0030.02710.98
4.4.60.0000.03310.98
4.4.50.0070.02010.98
4.4.40.0000.05710.98
4.4.30.0000.04010.98
4.4.20.0030.03710.98
4.4.10.0000.03710.98
4.4.00.0000.04310.98
4.3.110.0030.03310.98
4.3.100.0070.02010.98
4.3.90.0000.03310.98
4.3.80.0000.05710.98
4.3.70.0000.03010.98
4.3.60.0000.02710.98
4.3.50.0030.03310.98
4.3.40.0000.05010.98
4.3.30.0000.03310.98
4.3.20.0000.02710.98
4.3.10.0000.03010.98
4.3.00.0000.03010.98