3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Profiler { static private $_excludeRequest; public static function excludeRequest() { self::$_excludeRequest = true; } public static function create() { if(self::$_excludeRequest){ echo 'excluded'; return false; } die('Profiler'); } } //Profiler::excludeRequest(); Profiler::create();

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.0070.01418.43
8.3.50.0200.00221.13
8.3.40.0100.01018.69
8.3.30.0070.00719.05
8.3.20.0040.00420.04
8.3.10.0040.00423.48
8.3.00.0080.00019.38
8.2.180.0090.00618.37
8.2.170.0070.00722.96
8.2.160.0100.00320.39
8.2.150.0070.00024.18
8.2.140.0030.00624.66
8.2.130.0050.00326.16
8.2.120.0040.00422.13
8.2.110.0060.00319.30
8.2.100.0040.00817.72
8.2.90.0050.00317.90
8.2.80.0080.00017.97
8.2.70.0050.00317.63
8.2.60.0050.00317.93
8.2.50.0000.00818.07
8.2.40.0000.00819.88
8.2.30.0050.00217.94
8.2.20.0040.00417.59
8.2.10.0040.00418.06
8.2.00.0060.00317.82
8.1.280.0120.00325.92
8.1.270.0060.00322.19
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0090.00021.98
8.1.230.0100.00020.96
8.1.220.0060.00317.74
8.1.210.0060.00318.85
8.1.200.0040.00717.23
8.1.190.0040.00417.22
8.1.180.0120.00218.10
8.1.170.0070.00318.57
8.1.160.0050.00221.87
8.1.150.0040.00418.77
8.1.140.0040.00417.24
8.1.130.0000.00717.76
8.1.120.0030.00317.24
8.1.110.0040.00417.23
8.1.100.0040.00417.39
8.1.90.0000.00717.39
8.1.80.0000.00717.23
8.1.70.0000.00717.31
8.1.60.0030.00517.43
8.1.50.0020.00517.43
8.1.40.0000.00717.44
8.1.30.0000.00817.43
8.1.20.0050.00317.58
8.1.10.0040.00417.51
8.1.00.0080.00017.34
8.0.300.0050.00319.87
8.0.290.0030.00616.75
8.0.280.0030.00318.43
8.0.270.0030.00317.21
8.0.260.0000.00717.16
8.0.250.0040.00416.86
8.0.240.0030.00316.95
8.0.230.0000.00716.93
8.0.220.0000.00716.91
8.0.210.0040.00416.78
8.0.200.0000.00716.89
8.0.190.0000.00916.86
8.0.180.0040.00416.81
8.0.170.0040.00416.83
8.0.160.0070.00016.88
8.0.150.0000.00816.80
8.0.140.0030.00516.70
8.0.130.0060.00013.33
8.0.120.0040.00416.68
8.0.110.0050.00316.90
8.0.100.0040.00416.65
8.0.90.0050.00316.80
8.0.80.0090.01216.71
8.0.70.0070.00016.86
8.0.60.0030.00316.88
8.0.50.0000.00716.84
8.0.30.0080.01117.05
8.0.20.0090.01117.40
8.0.10.0060.00316.92
8.0.00.0140.00516.65
7.4.330.0070.00015.02
7.4.320.0000.00616.31
7.4.300.0030.00316.46
7.4.290.0000.00716.45
7.4.280.0070.00016.49
7.4.270.0040.00416.52
7.4.260.0000.00816.45
7.4.250.0000.00716.35
7.4.240.0000.00716.43
7.4.230.0040.00416.32
7.4.220.0100.01416.56
7.4.210.0070.00716.45
7.4.200.0030.00316.52
7.4.160.0130.00316.31
7.4.150.0120.00617.40
7.4.140.0100.00917.86
7.4.130.0080.01016.44
7.4.120.0070.01016.56
7.4.110.0100.00716.55
7.4.100.0100.00616.55
7.4.90.0070.01016.62
7.4.80.0030.01419.39
7.4.70.0060.01716.42
7.4.60.0130.00416.37
7.4.50.0040.00416.34
7.4.40.0080.00816.71
7.4.30.0030.01316.54
7.4.00.0130.00314.63
7.3.330.0000.00513.27
7.3.320.0000.00513.43
7.3.310.0040.00416.22
7.3.300.0030.00316.30
7.3.290.0100.00616.33
7.3.280.0090.00816.32
7.3.270.0100.00717.40
7.3.260.0120.00916.54
7.3.250.0090.01016.56
7.3.240.0100.01016.43
7.3.230.0170.00616.39
7.3.210.0080.00816.36
7.3.200.0000.01719.39
7.3.190.0050.01116.41
7.3.180.0110.01116.16
7.3.170.0060.01016.52
7.3.160.0120.00616.33
7.3.120.0100.00614.73
7.3.110.0060.01014.77
7.3.100.0040.00814.60
7.3.90.0070.00714.78
7.3.80.0000.01414.77
7.3.70.0070.00714.75
7.3.60.0040.00814.80
7.3.50.0080.00414.67
7.3.40.0040.00714.53
7.3.30.0110.00414.79
7.3.20.0000.01016.27
7.3.10.0070.01016.66
7.3.00.0000.01316.64
7.2.330.0000.01716.36
7.2.320.0120.00616.76
7.2.310.0060.01416.67
7.2.300.0110.00916.57
7.2.290.0100.00716.62
7.2.250.0040.01215.15
7.2.240.0100.01015.29
7.2.230.0070.01014.96
7.2.220.0090.00415.07
7.2.210.0030.00614.62
7.2.200.0070.00714.90
7.2.190.0110.00415.10
7.2.180.0000.01115.02
7.2.170.0040.00814.98
7.2.160.0070.00714.98
7.2.150.0070.00716.68
7.2.140.0120.00016.65
7.2.130.0000.00917.01
7.2.120.0030.00516.71
7.2.110.0060.01216.64
7.2.100.0060.01216.68
7.2.90.0090.00616.96
7.2.80.0030.01216.94
7.2.70.0150.00016.88
7.2.60.0040.00816.86
7.2.50.0040.00417.08
7.2.40.0000.00916.64
7.2.30.0040.01116.94
7.2.20.0030.01017.04
7.2.10.0070.00716.84
7.2.00.0060.00618.27
7.1.330.0060.00815.68
7.1.320.0100.00315.89
7.1.310.0040.00715.68
7.1.300.0070.00715.64
7.1.290.0040.00415.49
7.1.280.0040.00715.46
7.1.270.0000.00815.63
7.1.260.0120.00315.64
7.1.250.0030.00615.73
7.1.200.0030.00915.56
7.1.100.0070.00717.95
7.1.70.0000.00717.20
7.1.60.0140.01019.11
7.1.50.0060.01616.80
7.1.00.0100.06722.54
7.0.200.0000.00916.70
7.0.140.0000.07722.15
7.0.60.0100.07719.95
7.0.50.0030.04317.88
7.0.40.0030.04320.11
7.0.30.0330.07020.16
7.0.20.0300.04020.17
7.0.10.0100.07720.30
7.0.00.0100.06720.06
5.6.280.0070.07021.13
5.6.210.0070.03720.52
5.6.200.0070.08318.18
5.6.190.0100.04020.62
5.6.180.0130.04320.64
5.6.170.0330.07320.62
5.6.160.0100.08320.57
5.6.150.0030.05718.13
5.6.140.0000.04018.18
5.6.130.0030.08718.17
5.6.120.0030.04321.00
5.6.110.0100.04320.86
5.6.100.0170.06721.01
5.6.90.0100.08720.97
5.6.80.0170.07320.39
5.6.70.3000.04020.53
5.5.350.0200.07720.39
5.5.340.0170.07017.95
5.5.330.0070.04020.27
5.5.320.0230.04020.24
5.5.310.0230.08020.24
5.5.300.0030.06018.01
5.5.290.0030.05717.97
5.5.280.0070.03720.89
5.5.270.0230.06320.84
5.5.260.0170.06720.86
5.5.250.0130.06720.70
5.5.240.0330.07020.16
5.4.450.0930.05719.45
5.4.440.0800.05319.63
5.4.430.0770.06019.45
5.4.420.1000.07019.57
5.4.410.0700.04719.45
5.4.400.0130.05019.28
5.4.390.0800.05319.06
5.4.380.0770.05318.87
5.4.370.0070.06019.26
5.4.360.0730.05019.21
5.4.350.0200.06718.87
5.4.340.0070.03312.02
5.4.320.0010.04112.51
5.4.310.0060.03812.50
5.4.300.0040.03712.51
5.4.290.0090.04012.50
5.4.280.0060.03512.40
5.4.270.0060.03612.40
5.4.260.0090.03612.40
5.4.250.0060.04512.40
5.4.240.0040.03812.40
5.4.230.0120.03112.39
5.4.220.0070.03412.39
5.4.210.0080.03312.39
5.4.200.0060.03712.39
5.4.190.0070.03812.39
5.4.180.0090.03212.39
5.4.170.0040.03712.40
5.4.160.0090.04112.39
5.4.150.0030.03812.39
5.4.140.0080.03512.07
5.4.130.0040.03712.06
5.4.120.0030.03712.02
5.4.110.0080.03212.02
5.4.100.0050.03512.02
5.4.90.0050.03712.02
5.4.80.0100.03212.02
5.4.70.0070.04012.00
5.4.60.0030.03712.01
5.4.50.0070.03412.02
5.4.40.0040.03612.00
5.4.30.0060.03612.00
5.4.20.0020.03912.00
5.4.10.0050.03512.00
5.4.00.0060.03411.49
5.3.290.0060.03812.80
5.3.280.0060.03712.70
5.3.270.0050.03912.73
5.3.260.0060.03812.72
5.3.250.0050.03812.72
5.3.240.0080.03412.72
5.3.230.0080.03512.71
5.3.220.0060.03712.68
5.3.210.0040.04212.68
5.3.200.0030.03912.68
5.3.190.0060.03712.68
5.3.180.0060.03612.68
5.3.170.0070.03812.67
5.3.160.0060.03912.67
5.3.150.0080.03512.67
5.3.140.0070.03612.66
5.3.130.0030.04212.66
5.3.120.0070.03712.66
5.3.110.0070.03712.66
5.3.100.0040.03712.12
5.3.90.0040.03712.11
5.3.80.0070.03312.09
5.3.70.0020.04012.10
5.3.60.0060.03712.08
5.3.50.0080.03512.03
5.3.40.0070.03812.03
5.3.30.0050.03611.99
5.3.20.0060.03511.77
5.3.10.0070.03311.73
5.3.00.0070.03611.72
5.2.170.0030.0339.23
5.2.160.0040.0319.23
5.2.150.0060.0299.22
5.2.140.0030.0339.22
5.2.130.0070.0279.18
5.2.120.0070.0269.18
5.2.110.0080.0309.19
5.2.100.0050.0289.18
5.2.90.0050.0289.19
5.2.80.0060.0329.18
5.2.70.0060.0359.18
5.2.60.0080.0279.13
5.2.50.0020.0329.10
5.2.40.0080.0279.07
5.2.30.0050.0299.06
5.2.20.0080.0259.04
5.2.10.0040.0328.94
5.2.00.0030.0318.82
5.1.60.0040.0258.09
5.1.50.0040.0278.08
5.1.40.0090.0228.08
5.1.30.0020.0288.43
5.1.20.0050.0278.44
5.1.10.0040.0258.16
5.1.00.0040.0258.16
5.0.50.0030.0216.64
5.0.40.0040.0196.50
5.0.30.0020.0336.32
5.0.20.0020.0206.28
5.0.10.0030.0206.26
5.0.00.0030.0336.25
4.4.90.0020.0164.78
4.4.80.0020.0154.76
4.4.70.0020.0164.75
4.4.60.0020.0174.76
4.4.50.0050.0134.77
4.4.40.0030.0254.71
4.4.30.0020.0164.75
4.4.20.0030.0164.84
4.4.10.0020.0164.85
4.4.00.0030.0244.75
4.3.110.0020.0154.67
4.3.100.0040.0134.67
4.3.90.0040.0144.64
4.3.80.0030.0264.58
4.3.70.0040.0134.63
4.3.60.0040.0214.63
4.3.50.0010.0214.63
4.3.40.0030.0234.54
4.3.30.0000.0183.30
4.3.20.0020.0163.28
4.3.10.0030.0143.24
4.3.00.0130.0237.11

preferences:
36.05 ms | 401 KiB | 5 Q