3v4l.org

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

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.0110.00716.56
8.0.0alpha30.0110.00916.54
8.0.0alpha20.0030.01516.47
8.0.0alpha10.0070.01016.44
7.4.90.0100.00716.53
7.4.80.0110.00718.63
7.4.70.0140.00416.30
7.4.60.0100.00716.42
7.4.50.0030.00319.58
7.4.40.0040.01121.69
7.4.30.0070.01016.28
7.4.10.0070.01114.84
7.4.00.0030.01514.79
7.3.210.0140.00416.48
7.3.200.0130.01019.39
7.3.190.0110.01116.14
7.3.180.0040.01216.14
7.3.170.0090.00616.25
7.3.160.0090.00616.39
7.3.130.0130.00315.02
7.3.120.0060.01114.59
7.3.110.0070.00914.58
7.3.100.0050.00814.74
7.3.90.0080.00314.70
7.3.80.0010.01014.90
7.3.70.0060.00614.81
7.3.60.0060.00814.71
7.3.50.0100.00314.61
7.3.40.0050.00714.59
7.3.30.0100.00314.71
7.3.20.0040.01316.65
7.3.10.0090.00616.49
7.3.00.0060.00916.41
7.2.330.0150.00316.45
7.2.320.0130.00416.39
7.2.310.0190.00316.48
7.2.300.0030.01316.34
7.2.290.0130.01016.48
7.2.260.0110.00715.06
7.2.250.0040.00814.71
7.2.240.0090.00514.87
7.2.230.0080.00815.09
7.2.220.0080.00814.62
7.2.210.0090.00514.94
7.2.200.0050.00814.83
7.2.190.0090.00514.73
7.2.180.0030.00714.68
7.2.170.0030.00714.90
7.2.160.0020.01314.96
7.2.150.0070.00716.81
7.2.140.0030.01216.80
7.2.130.0020.01316.55
7.2.120.0060.00616.61
7.2.110.0050.01016.70
7.2.100.0090.00716.68
7.2.90.0040.01116.80
7.2.80.0060.00816.59
7.2.70.0040.01016.58
7.2.60.0040.00916.68
7.2.50.0080.00816.66
7.2.40.0060.00716.74
7.2.30.0050.00816.61
7.2.20.0110.00416.75
7.2.10.0080.00616.61
7.2.00.0090.00716.62
7.1.330.0070.00915.62
7.1.320.0000.01115.46
7.1.310.0090.00415.44
7.1.300.0020.00915.60
7.1.290.0040.00915.57
7.1.280.0080.00615.73
7.1.270.0050.01115.57
7.1.260.0020.00915.64
7.1.250.0060.00515.53
7.1.240.0030.01015.45
7.1.230.0030.00515.63
7.1.220.0040.00715.36
7.1.210.0070.00715.45
7.1.200.0090.00315.69
7.1.190.0070.00615.58
7.1.180.0090.00615.77
7.1.170.0040.01115.51
7.1.160.0100.00715.69
7.1.150.0030.01015.67
7.1.140.0030.00615.62
7.1.130.0110.00415.77
7.1.120.0000.01415.65
7.1.110.0070.00715.58
7.1.100.0020.00816.74
7.1.90.0060.01015.44
7.1.80.0090.00915.51
7.1.70.0090.00616.42
7.1.60.0070.01217.43
7.1.50.0090.00725.12
7.1.40.0040.01115.50
7.1.30.0060.00915.43
7.1.20.0070.00715.77
7.1.10.0140.00015.50
7.1.00.0030.04019.01
7.0.330.0100.00015.36
7.0.320.0100.00315.45
7.0.310.0040.00715.47
7.0.300.0060.01215.20
7.0.290.0040.01215.21
7.0.280.0120.00315.39
7.0.270.0070.00715.33
7.0.260.0070.01015.12
7.0.250.0060.00615.37
7.0.240.0040.01415.45
7.0.230.0040.01115.43
7.0.220.0090.00615.30
7.0.210.0050.00315.51
7.0.200.0040.00715.87
7.0.190.0070.00715.38
7.0.180.0040.00815.21
7.0.170.0170.00015.42
7.0.160.0060.01015.46
7.0.150.0000.01215.21
7.0.140.0030.04118.76
7.0.130.0030.01415.36
7.0.120.0040.02018.53
7.0.110.0030.01015.13
7.0.100.0110.00015.10
7.0.90.0040.01115.29
7.0.80.0130.00015.22
7.0.70.0070.00715.41
7.0.60.0070.04217.65
7.0.50.0080.04216.46
7.0.40.0100.03516.80
7.0.30.0140.02316.77
7.0.20.0120.03216.69
7.0.10.0080.04216.80
7.0.00.0070.02316.75
5.6.400.0070.00714.19
5.6.390.0040.00414.29
5.6.380.0040.01114.32
5.6.370.0060.00614.04
5.6.360.0060.00913.88
5.6.350.0110.00714.12
5.6.340.0070.00714.48
5.6.330.0070.00714.36
5.6.320.0060.00814.04
5.6.310.0000.01114.49
5.6.300.0040.00714.52
5.6.290.0060.00314.48
5.6.280.0050.03817.63
5.6.270.0080.00314.20
5.6.260.0070.00714.17
5.6.250.0060.00314.16
5.6.240.0060.00614.38
5.6.230.0080.00814.13
5.6.220.0070.00714.46
5.6.210.0100.04017.49
5.6.200.0030.03816.18
5.6.190.0050.02717.51
5.6.180.0230.02517.52
5.6.170.0160.03817.35
5.6.160.0070.03817.33
5.6.150.0050.02516.08
5.6.140.0050.04716.25
5.6.130.0090.03816.18
5.6.120.0050.03817.56
5.6.110.0100.04217.54
5.6.100.0090.04217.61
5.6.90.0080.04317.59
5.6.80.0020.03217.29
5.6.70.0060.00614.06
5.6.60.0000.00814.09
5.6.50.0030.00914.00
5.6.40.0070.00414.05
5.6.30.0110.00414.23
5.6.20.0100.00714.41
5.6.10.0080.01214.25
5.6.00.0090.00614.01
5.5.380.0080.00414.36
5.5.370.0060.00614.25
5.5.360.0050.00514.11
5.5.350.0170.04217.39
5.5.340.0070.03315.98
5.5.330.0090.02917.31
5.5.320.0080.04317.25
5.5.310.0180.01917.13
5.5.300.0050.04616.02
5.5.290.0100.04216.17
5.5.280.0070.04317.52
5.5.270.0100.04517.49
5.5.260.0070.04217.55
5.5.250.0080.03717.46
5.5.240.0070.04016.99
5.5.230.0030.01014.17
5.5.220.0100.00713.88
5.5.210.0070.00714.15
5.5.200.0100.00514.22
5.5.190.0110.00413.91
5.5.180.0090.01214.02
5.5.170.0040.01114.17
5.5.160.0070.01013.83
5.5.150.0040.00713.76
5.5.140.0070.01113.88
5.5.130.0000.01513.93
5.5.120.0060.00913.92
5.5.110.0070.00713.91
5.5.100.0040.01114.23
5.5.90.0060.00914.22
5.5.80.0090.00613.65
5.5.70.0040.00714.27
5.5.60.0070.01114.14
5.5.50.0070.01114.33
5.5.40.0080.00813.55
5.5.30.0000.01614.25
5.5.20.0030.01213.66
5.5.10.0130.00313.66
5.5.00.0000.00813.97
5.4.450.0020.03215.08
5.4.440.0050.02214.98
5.4.430.0080.04014.82
5.4.420.0050.03814.95
5.4.410.0080.03915.02
5.4.400.0070.01814.90
5.4.390.0050.03114.94
5.4.380.0070.03014.94
5.4.370.0100.03014.87
5.4.360.0030.02714.78
5.4.350.0070.03415.03
5.4.340.0030.04514.89
5.4.330.0030.00610.39
5.4.320.0050.02514.85
5.4.310.0050.02314.85
5.4.300.0080.03714.77
5.4.290.0060.03314.96
5.4.280.0030.02314.79
5.4.270.0090.02514.91
5.4.260.0030.02514.71
5.4.250.0020.04314.93
5.4.240.0060.02114.79
5.4.230.0050.02114.84
5.4.220.0050.04314.92
5.4.210.0090.03714.98
5.4.200.0070.02514.96
5.4.190.0080.03814.81
5.4.180.0070.03914.85
5.4.170.0050.02014.82
5.4.160.0080.03814.88
5.4.150.0030.04414.95
5.4.140.0000.04413.51
5.4.130.0060.03813.48
5.4.120.0040.03713.44
5.4.110.0060.03313.59
5.4.100.0160.03113.36
5.4.90.0060.04513.58
5.4.80.0050.03413.40
5.4.70.0030.04113.62
5.4.60.0060.02113.48
5.4.50.0050.03813.57
5.4.40.0030.02113.43
5.4.30.0050.02213.59
5.4.20.0070.02013.58
5.4.10.0040.02913.49
5.4.00.0060.03113.23
5.3.290.0020.02412.57
5.3.280.0030.02712.38
5.3.270.0060.03012.48
5.3.260.0030.03212.49
5.3.250.0060.03512.44
5.3.240.0130.03312.44
5.3.230.0070.02712.45
5.3.220.0020.02512.33
5.3.210.0030.02412.32
5.3.200.0030.04112.37
5.3.190.0060.04212.42
5.3.180.0060.03512.45
5.3.170.0030.03712.50
5.3.160.0030.04212.49
5.3.150.0070.03512.47
5.3.140.0030.02412.45
5.3.130.0100.04112.35
5.3.120.0070.03612.38
5.3.110.0080.03812.42
5.3.100.0020.04012.14
5.3.90.0030.03812.14
5.3.80.0030.03511.96
5.3.70.0080.02912.02
5.3.60.0050.03812.15
5.3.50.0080.04012.05
5.3.40.0100.03612.03
5.3.30.0030.04212.07
5.3.20.0050.04211.77
5.3.10.0050.02611.82
5.3.00.0060.02611.72
5.2.170.0070.03011.29
5.2.160.0170.05011.14
5.2.150.0070.04710.96
5.2.140.0100.04711.14
5.2.130.0000.03311.25
5.2.120.0000.03711.09
5.2.110.0000.06010.98
5.2.100.0100.06011.02
5.2.90.0070.05311.03
5.2.80.0130.05710.98
5.2.70.0070.05310.95
5.2.60.0070.05711.02
5.2.50.0030.06310.99
5.2.40.0000.06310.93
5.2.30.0000.06310.91
5.2.20.0070.04010.80
5.2.10.0070.05710.86
5.2.00.0070.05710.71
5.1.60.0100.0479.98
5.1.50.0070.03010.05
5.1.40.0130.0439.95
5.1.30.0070.04710.18
5.1.20.0070.05010.34
5.1.10.0000.04010.04
5.1.00.0030.03310.21
5.0.50.0100.0308.61
5.0.40.0070.0308.44
5.0.30.0000.0708.12
5.0.20.0000.0478.23
5.0.10.0030.0438.20
5.0.00.0000.0708.29
4.4.90.0030.0377.89
4.4.80.0070.0307.89
4.4.70.0030.0177.89
4.4.60.0030.0307.89
4.4.50.0100.0277.89
4.4.40.0030.0237.89
4.4.30.0000.0337.89
4.4.20.0030.0377.89
4.4.10.0000.0237.89
4.4.00.0000.0537.89
4.3.110.0000.0337.89
4.3.100.0070.0207.89
4.3.90.0070.0137.89
4.3.80.0070.0537.89
4.3.70.0030.0337.89
4.3.60.0030.0277.89
4.3.50.0000.0277.89
4.3.40.0000.0537.89
4.3.30.0030.0307.89
4.3.20.0030.0277.89
4.3.10.0000.0177.89
4.3.00.0000.0177.89