3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('TRUE', false); if (TRUE) { echo "TRUE"; } else { echo "FALSE!!!"; }

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.0130.01016.64
8.0.0alpha30.0100.00716.49
8.0.0alpha20.0100.00716.38
8.0.0alpha10.0090.00616.47
7.4.90.0120.00916.49
7.4.80.0080.00816.25
7.4.70.0160.00616.39
7.4.60.0030.01716.25
7.4.50.0060.00316.21
7.4.40.0100.00722.77
7.4.30.0060.00916.27
7.4.00.0060.01114.75
7.3.210.0140.00416.17
7.3.200.0060.01619.39
7.3.190.0130.01016.49
7.3.180.0150.00316.39
7.3.170.0070.01016.51
7.3.160.0060.00916.36
7.3.120.0030.01214.78
7.3.110.0030.01414.70
7.3.100.0030.01314.87
7.3.90.0050.00514.83
7.3.80.0090.00614.43
7.3.70.0040.01114.80
7.3.60.0070.00714.75
7.3.50.0100.00714.84
7.3.40.0030.01214.57
7.3.30.0040.00814.52
7.3.20.0080.00816.35
7.3.10.0000.01816.68
7.3.00.0030.01216.35
7.2.330.0080.00816.32
7.2.320.0060.01616.32
7.2.310.0130.00316.53
7.2.300.0170.00416.48
7.2.290.0060.01216.43
7.2.250.0040.01515.13
7.2.240.0130.00714.86
7.2.230.0100.00614.40
7.2.220.0000.01715.06
7.2.210.0090.00615.02
7.2.200.0040.01414.84
7.2.190.0060.00914.98
7.2.180.0070.00714.93
7.2.170.0060.00914.77
7.2.60.0030.01316.48
7.2.00.0000.01219.11
7.1.330.0030.01015.59
7.1.320.0030.00715.74
7.1.310.0060.01015.82
7.1.300.0110.00415.65
7.1.290.0110.00415.66
7.1.280.0030.00715.48
7.1.270.0090.00615.49
7.1.260.0070.00415.45
7.1.200.0000.01415.41
7.1.100.0110.00717.83
7.1.70.0070.00316.66
7.1.60.0070.01619.82
7.1.50.0260.01634.34
7.1.00.0030.07322.57
7.0.200.0060.00916.55
7.0.140.0100.06722.10
7.0.100.0070.07720.00
7.0.90.0070.04719.89
7.0.80.0030.07319.92
7.0.70.0130.06020.06
7.0.60.0270.05020.01
7.0.50.0100.05720.29
7.0.40.0070.06020.05
7.0.30.0100.07019.95
7.0.20.0070.04719.94
7.0.10.0130.07319.94
7.0.00.0100.06020.09
5.6.280.0070.07021.12
5.6.250.0070.08020.47
5.6.240.0170.07320.57
5.6.230.0130.04720.66
5.6.220.0000.08720.50
5.6.210.0070.08720.69
5.6.200.0070.08720.90
5.6.190.0070.07720.89
5.6.180.0070.04021.04
5.6.170.0070.08720.95
5.6.160.0130.07021.02
5.6.150.0070.04720.95
5.6.140.0030.05020.99
5.6.130.0000.06721.05
5.6.120.0070.04020.99
5.6.110.0070.08721.01
5.6.100.0070.04320.86
5.6.90.0030.08720.85
5.6.80.0000.06320.33
5.6.70.0030.05020.49
5.6.60.0070.07720.45
5.6.50.0000.06720.49
5.6.40.0030.04320.33
5.6.30.0030.05020.39
5.6.20.0100.07720.23
5.6.10.0100.07320.25
5.6.00.0200.03320.37
5.5.380.0030.08720.29
5.5.370.0070.08320.28
5.5.360.0030.06020.50
5.5.350.0130.08320.27
5.5.340.0070.04720.87
5.5.330.0130.06020.83
5.5.320.0070.08320.74
5.5.310.0000.04320.73
5.5.300.0070.04020.83
5.5.290.0000.05020.77
5.5.280.0100.07020.73
5.5.270.0000.08720.81
5.5.260.0170.07020.80
5.5.250.0030.07020.63
5.5.240.0100.07320.16
5.5.230.0030.05020.04
5.5.220.0100.04020.20
5.5.210.0130.07020.15
5.5.200.0070.07020.22
5.5.190.0100.07319.93
5.5.180.0070.05320.07
5.5.160.0130.07020.18
5.5.150.0100.04020.20
5.5.140.0100.07320.16
5.5.130.0100.06320.12
5.5.120.0000.07320.09
5.5.110.0070.08020.11
5.5.100.0000.08720.02
5.5.90.0070.05720.00
5.5.80.0000.08020.01
5.5.70.0070.08020.08
5.5.60.0070.04720.09
5.5.50.0100.06720.08
5.5.40.0070.08019.97
5.5.30.0200.06720.08
5.5.20.0070.08020.03
5.5.10.0100.04319.98
5.5.00.0130.03719.91
5.4.450.0030.07019.29
5.4.440.0070.08319.42
5.4.430.0130.06719.39
5.4.420.0030.07319.46
5.4.410.0030.04319.34
5.4.400.0070.04019.10
5.4.390.0130.03718.98
5.4.380.0030.05319.20
5.4.370.0070.07719.09
5.4.360.0030.04018.98
5.4.350.0030.04019.05
5.4.340.0070.07719.17
5.4.320.0070.04318.90
5.4.310.0070.06318.79
5.4.300.0170.07018.87
5.4.290.0030.08019.02
5.4.280.0230.06019.09
5.4.270.0130.07019.05
5.4.260.0100.05719.22
5.4.250.0030.05019.02
5.4.240.0170.06718.78
5.4.230.0030.04719.05
5.4.220.0070.04019.02
5.4.210.0100.04019.06
5.4.200.0070.06018.93
5.4.190.0030.04319.04
5.4.180.0070.06319.05
5.4.170.0070.04318.97
5.4.160.0130.03319.07
5.4.150.0130.05018.79
5.4.140.0170.03016.31
5.4.130.0100.03715.99
5.4.120.0130.04716.28
5.4.110.0070.07016.26
5.4.100.0130.06316.29
5.4.90.0100.05316.36
5.4.80.0100.03716.24
5.4.70.0070.07016.29
5.4.60.0130.05716.20
5.4.50.0170.07016.23
5.4.40.0070.06016.23
5.4.30.0170.05716.18
5.4.20.0030.05316.17
5.4.10.0070.04716.22
5.4.00.0070.03315.79
5.3.290.0030.08314.65
5.3.280.0070.08014.59
5.3.270.0100.07314.58
5.3.260.0030.04014.46
5.3.250.0100.04314.59
5.3.240.0170.03014.43
5.3.230.0030.04014.58
5.3.220.0070.04314.51
5.3.210.0070.06314.51
5.3.200.0130.07314.52
5.3.190.0070.04314.47
5.3.180.0000.04014.57
5.3.170.0070.03714.53
5.3.160.0030.03714.42
5.3.150.0130.06714.51
5.3.140.0070.04014.56
5.3.130.0030.08014.38
5.3.120.0070.04014.40
5.3.110.0030.07714.53
5.3.100.0130.03713.98
5.3.90.0000.04713.97
5.3.80.0030.04014.00
5.3.70.0000.04713.99
5.3.60.0070.03713.77
5.3.50.0030.04013.89
5.3.40.0000.06713.81
5.3.30.0030.06713.66
5.3.20.0100.04713.62
5.3.10.0000.07013.41
5.3.00.0100.03013.58
5.2.170.0000.05711.05
5.2.160.0030.05710.95
5.2.150.0070.02711.18
5.2.140.0100.05710.99
5.2.130.0170.03011.12
5.2.120.0070.06011.16
5.2.110.0070.03010.88
5.2.100.0030.03311.14
5.2.90.0000.05711.09
5.2.80.0070.06311.07
5.2.70.0070.05311.14
5.2.60.0070.06711.05
5.2.50.0070.03311.08
5.2.40.0070.05010.91
5.2.30.0100.04310.93
5.2.20.0070.05311.02
5.2.10.0070.05710.88
5.2.00.0070.03310.73
5.1.60.0100.0479.87
5.1.50.0030.03710.06
5.1.40.0030.05310.00
5.1.30.0170.04310.34
5.1.20.0000.03310.42
5.1.10.0030.02310.14
5.1.00.0070.05010.06
5.0.50.0070.0238.59
5.0.40.0000.0238.48
5.0.30.0100.0578.21
5.0.20.0070.0138.23
5.0.10.0030.0278.26
5.0.00.0030.0637.99
4.4.90.0000.0307.82
4.4.80.0070.0237.82
4.4.70.0070.0307.82
4.4.60.0030.0177.82
4.4.50.0070.0277.82
4.4.40.0000.0507.82
4.4.30.0030.0207.82
4.4.20.0000.0207.82
4.4.10.0070.0237.82
4.4.00.0030.0537.82
4.3.110.0030.0337.82
4.3.100.0000.0377.82
4.3.90.0100.0277.82
4.3.80.0100.0437.82
4.3.70.0070.0377.82
4.3.60.0070.0307.82
4.3.50.0030.0107.82
4.3.40.0070.0407.82
4.3.30.0000.0407.82
4.3.20.0000.0207.82
4.3.10.0030.0207.82
4.3.00.0030.0177.82