3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Turn off all error reporting error_reporting(0); // Report simple running errors error_reporting(E_ERROR | E_WARNING | E_PARSE); // Reporting E_NOTICE can be good too (to report uninitialized // variables or catch variable name misspellings ...) error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE); // Report all errors except E_NOTICE error_reporting(E_ALL & ~E_NOTICE); // Report all PHP errors (see changelog) error_reporting(E_ALL); // Report all PHP errors error_reporting(-1); // Same as error_reporting(E_ALL); ini_set('error_reporting', E_ALL);

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.3.60.0100.01018.31
8.3.50.0090.00616.36
8.3.40.0070.00718.59
8.3.30.0070.00718.92
8.3.20.0040.00420.33
8.3.10.0050.00323.61
8.3.00.0040.00419.01
8.2.180.0120.00818.25
8.2.170.0160.00622.96
8.2.160.0070.00720.26
8.2.150.0000.00924.18
8.2.140.0000.01024.66
8.2.130.0040.00426.16
8.2.120.0030.00622.18
8.2.110.0050.00520.52
8.2.100.0070.00317.72
8.2.90.0030.00517.90
8.2.80.0070.00017.97
8.2.70.0000.01017.37
8.2.60.0050.00317.90
8.2.50.0030.00518.07
8.2.40.0050.00318.03
8.2.30.0040.00417.95
8.2.20.0000.00817.50
8.2.10.0040.00417.84
8.2.00.0000.00717.53
8.1.280.0080.00825.92
8.1.270.0000.00823.72
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0090.00022.05
8.1.230.0060.00620.97
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.11
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0080.00318.46
8.1.160.0030.00321.82
8.1.150.0040.00418.75
8.1.140.0020.00517.19
8.1.130.0070.00017.75
8.1.120.0020.00517.33
8.1.110.0000.00717.31
8.1.100.0040.00417.22
8.1.90.0080.00017.34
8.1.80.0000.00717.36
8.1.70.0030.00317.29
8.1.60.0030.00617.44
8.1.50.0000.00817.30
8.1.40.0040.00417.34
8.1.30.0050.00317.52
8.1.20.0080.00017.54
8.1.10.0000.00717.32
8.1.00.0040.00417.29
8.0.300.0000.00720.07
8.0.290.0070.00016.58
8.0.280.0000.00818.28
8.0.270.0000.00717.08
8.0.260.0000.00617.11
8.0.250.0000.00716.81
8.0.240.0040.00416.69
8.0.230.0030.00316.81
8.0.220.0040.00416.73
8.0.210.0040.00416.65
8.0.200.0000.00716.70
8.0.190.0040.00416.71
8.0.180.0000.00716.70
8.0.170.0030.00616.68
8.0.160.0080.00016.73
8.0.150.0040.00416.68
8.0.140.0070.00316.73
8.0.130.0060.00013.20
8.0.120.0050.00316.75
8.0.110.0000.00716.67
8.0.100.0070.00016.67
8.0.90.0040.00416.64
8.0.80.0100.00616.71
8.0.70.0040.00416.74
8.0.60.0040.00416.72
8.0.50.0030.00516.81
8.0.30.0120.00716.90
8.0.20.0130.00517.40
8.0.10.0040.00416.88
8.0.00.0090.00816.65
7.4.330.0020.00215.02
7.4.320.0000.00716.36
7.4.300.0000.00616.39
7.4.290.0040.00416.46
7.4.280.0000.00816.47
7.4.270.0030.00316.44
7.4.260.0000.00716.49
7.4.250.0050.00216.48
7.4.240.0030.00316.37
7.4.230.0070.00016.18
7.4.220.0090.00916.50
7.4.210.0070.00716.23
7.4.200.0030.00416.21
7.4.160.0160.00016.22
7.4.150.0150.00317.40
7.4.140.0060.01317.86
7.4.130.0100.00816.36
7.4.120.0120.00516.24
7.4.110.0090.01016.50
7.4.100.0100.00616.35
7.4.90.0060.01216.29
7.4.80.0080.00819.39
7.4.70.0100.00616.32
7.4.60.0090.00916.25
7.4.50.0000.00816.21
7.4.40.0120.00416.39
7.4.30.0030.01916.11
7.4.00.0070.00814.87
7.3.330.0030.00312.97
7.3.320.0040.00412.98
7.3.310.0040.00416.02
7.3.300.0070.00016.03
7.3.290.0070.00816.17
7.3.280.0100.00916.10
7.3.270.0050.01417.40
7.3.260.0160.00316.12
7.3.250.0070.01016.27
7.3.240.0160.00716.13
7.3.230.0090.01216.39
7.3.210.0060.01016.11
7.3.200.0090.00919.39
7.3.190.0000.01716.23
7.3.180.0060.00916.11
7.3.170.0060.01016.27
7.3.160.0090.00916.23
7.3.120.0100.01014.34
7.3.110.0030.01114.61
7.3.100.0060.01014.40
7.3.90.0060.00914.69
7.3.80.0060.00314.50
7.3.70.0030.00614.55
7.3.60.0070.00714.79
7.3.50.0090.00614.60
7.3.40.0060.01214.48
7.3.30.0030.01014.66
7.3.20.0110.00316.30
7.3.10.0000.01116.26
7.3.00.0030.00916.26
7.2.330.0060.01216.32
7.2.320.0130.00616.45
7.2.310.0080.00816.37
7.2.300.0200.01216.17
7.2.290.0070.01116.29
7.2.250.0090.00914.92
7.2.240.0070.01315.02
7.2.230.0120.00615.06
7.2.220.0070.00714.52
7.2.210.0040.00814.91
7.2.200.0000.01314.41
7.2.190.0030.00914.67
7.2.180.0090.00614.70
7.2.170.0110.00414.75
7.2.00.0000.01319.02
7.1.330.0070.00715.63
7.1.320.0070.00315.69
7.1.310.0100.00315.80
7.1.300.0060.01015.58
7.1.290.0100.00315.49
7.1.280.0000.01415.43
7.1.270.0030.00715.53
7.1.260.0050.00515.75
7.1.100.0000.01317.75
7.1.70.0000.01016.88
7.1.60.0070.01719.19
7.1.50.0000.02216.51
7.1.00.0000.08022.40
7.0.200.0170.00016.61
7.0.140.0070.07022.19
7.0.60.0170.07720.03
7.0.50.0030.08717.80
7.0.40.0030.08720.23
7.0.30.0370.04020.21
7.0.20.0170.04720.14
7.0.10.0000.04720.00
7.0.00.0100.07720.30
5.6.280.0130.06321.06
5.6.210.0030.08720.75
5.6.200.0100.03318.22
5.6.190.0030.04320.65
5.6.180.0000.05020.56
5.6.170.0230.04720.48
5.6.160.0030.04320.47
5.6.150.0130.07318.12
5.6.140.0000.04718.18
5.6.130.0030.07318.11
5.6.120.0000.05021.00
5.6.110.0130.07020.98
5.6.100.0100.07021.11
5.6.90.0100.08021.00
5.6.80.0070.08720.40
5.6.70.4530.03720.49
5.5.350.0170.07020.41
5.5.340.0130.07317.98
5.5.330.0070.04020.19
5.5.320.0370.05720.27
5.5.310.0200.03720.17
5.5.300.0070.06317.90
5.5.290.0100.04017.95
5.5.280.0030.06020.77
5.5.270.0130.07720.76
5.5.260.0000.08320.86
5.5.250.0130.08020.68
5.5.240.0270.07320.18
5.4.450.1030.07719.41
5.4.440.0500.07319.41
5.4.430.0630.05019.45
5.4.420.0170.05019.31
5.4.410.0630.06719.35
5.4.400.0800.05019.26
5.4.390.0830.06318.78
5.4.380.0430.05319.13
5.4.370.0630.05319.15
5.4.360.0530.06719.30
5.4.350.0800.05318.99
5.4.340.0020.03811.97
5.4.320.0090.03312.45
5.4.310.0040.04312.45
5.4.300.0060.03612.45
5.4.290.0040.04012.45
5.4.280.0050.03712.35
5.4.270.0030.03912.35
5.4.260.0050.03912.35
5.4.250.0050.03912.35
5.4.240.0080.04312.35
5.4.230.0080.04012.34
5.4.220.0080.03712.34
5.4.210.0090.03512.34
5.4.200.0040.04612.34
5.4.190.0100.04412.34
5.4.180.0090.03612.34
5.4.170.0050.04112.35
5.4.160.0050.03612.34
5.4.150.0060.03612.34
5.4.140.0040.04512.03
5.4.130.0050.03612.02
5.4.120.0070.03411.97
5.4.110.0030.03811.96
5.4.100.0050.03511.97
5.4.90.0020.04011.96
5.4.80.0090.03711.96
5.4.70.0050.03811.96
5.4.60.0090.03311.96
5.4.50.0050.03711.96
5.4.40.0050.03711.95
5.4.30.0070.03411.94
5.4.20.0070.03411.95
5.4.10.0040.03611.95
5.4.00.0040.03811.43
5.3.290.0080.03912.80
5.3.280.0060.04212.71
5.3.270.0070.03712.73
5.3.260.0050.04412.72
5.3.250.0060.04012.72
5.3.240.0100.03612.72
5.3.230.0050.04312.71
5.3.220.0080.04112.68
5.3.210.0070.04112.68
5.3.200.0080.04412.68
5.3.190.0040.03912.67
5.3.180.0030.04412.67
5.3.170.0060.03612.67
5.3.160.0050.03712.68
5.3.150.0070.03812.67
5.3.140.0060.03712.66
5.3.130.0040.04112.66
5.3.120.0040.04812.66
5.3.110.0050.03912.65
5.3.100.0060.04212.12
5.3.90.0080.03712.08
5.3.80.0070.03712.07
5.3.70.0050.04012.08
5.3.60.0080.04212.06
5.3.50.0040.03812.00
5.3.40.0070.03612.00
5.3.30.0070.04311.95
5.3.20.0130.02811.73
5.3.10.0080.03311.69
5.3.00.0080.03411.67
5.2.170.0070.0289.18
5.2.160.0020.0319.18
5.2.150.0080.0349.18
5.2.140.0020.0359.18
5.2.130.0060.0279.13
5.2.120.0050.0279.13
5.2.110.0020.0319.14
5.2.100.0120.0339.14
5.2.90.0020.0359.14
5.2.80.0090.0329.14
5.2.70.0060.0389.14
5.2.60.0090.0289.08
5.2.50.0060.0289.05
5.2.40.0020.0389.03
5.2.30.0060.0279.01
5.2.20.0040.0309.00
5.2.10.0040.0328.94
5.2.00.0030.0378.80
5.1.60.0050.0248.08
5.1.50.0010.0278.07
5.1.40.0030.0288.06
5.1.30.0010.0298.41
5.1.20.0020.0348.43
5.1.10.0040.0278.15
5.1.00.0050.0248.15
5.0.50.0030.0226.63
5.0.40.0050.0226.49
5.0.30.0030.0316.30
5.0.20.0040.0186.27
5.0.10.0030.0256.25
5.0.00.0030.0316.24
4.4.90.0010.0184.78
4.4.80.0030.0144.75
4.4.70.0020.0154.76
4.4.60.0020.0204.75
4.4.50.0010.0174.77
4.4.40.0020.0264.71
4.4.30.0030.0154.76
4.4.20.0030.0154.84
4.4.10.0020.0164.85
4.4.00.0030.0254.76
4.3.110.0020.0164.67
4.3.100.0010.0174.66
4.3.90.0010.0244.64
4.3.80.0030.0244.58
4.3.70.0040.0164.63
4.3.60.0050.0124.63
4.3.50.0020.0154.63
4.3.40.0020.0244.54
4.3.30.0010.0173.29
4.3.20.0030.0153.27
4.3.10.0010.0163.23
4.3.00.0130.0176.68

preferences:
56.15 ms | 400 KiB | 5 Q