3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Config { private static $config = array(); private function Get($name) { return static::$config[$name]; } public function __call($a, $params) {} public static function __callStatic($a, $b) {} } Config::xxx();

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.0130.00718.43
8.3.50.0070.01121.97
8.3.40.0140.00718.84
8.3.30.0110.00318.91
8.3.20.0000.00720.21
8.3.10.0080.00020.27
8.3.00.0040.00419.25
8.2.180.0060.01216.32
8.2.170.0120.00322.96
8.2.160.0030.01020.33
8.2.150.0000.00724.18
8.2.140.0050.00324.66
8.2.130.0050.00226.16
8.2.120.0000.00721.09
8.2.110.0030.00620.21
8.2.100.0040.00717.97
8.2.90.0090.00019.14
8.2.80.0080.00017.97
8.2.70.0050.00417.50
8.2.60.0030.00617.80
8.2.50.0040.00418.07
8.2.40.0000.00718.03
8.2.30.0030.00319.35
8.2.20.0030.00517.61
8.2.10.0030.00517.84
8.2.00.0030.00517.61
8.1.280.0070.01425.92
8.1.270.0030.00523.96
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0090.00023.75
8.1.230.0110.00019.01
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0060.00317.23
8.1.190.0080.00017.10
8.1.180.0050.00318.10
8.1.170.0000.00818.40
8.1.160.0040.00421.88
8.1.150.0000.00818.74
8.1.140.0090.00017.28
8.1.130.0030.00317.75
8.1.120.0030.00317.39
8.1.110.0040.00417.32
8.1.100.0040.00417.29
8.1.90.0040.00417.25
8.1.80.0040.00417.28
8.1.70.0000.00717.20
8.1.60.0000.00917.52
8.1.50.0060.00317.41
8.1.40.0030.00617.34
8.1.30.0080.00017.48
8.1.20.0000.00717.52
8.1.10.0020.00517.37
8.1.00.0030.00517.38
8.0.300.0040.00418.77
8.0.290.0090.00016.75
8.0.280.0030.00318.37
8.0.270.0040.00417.15
8.0.260.0000.00617.22
8.0.250.0030.00316.89
8.0.240.0070.00016.89
8.0.230.0000.00716.89
8.0.220.0030.00416.81
8.0.210.0000.00716.71
8.0.200.0060.00016.79
8.0.190.0030.00616.75
8.0.180.0040.00416.73
8.0.170.0000.00816.89
8.0.160.0040.00416.75
8.0.150.0040.00416.63
8.0.140.0040.00416.75
8.0.130.0030.00313.14
8.0.120.0050.00316.71
8.0.110.0040.00416.60
8.0.100.0080.00016.82
8.0.90.0000.00716.80
8.0.80.0030.01216.66
8.0.70.0040.00416.59
8.0.60.0000.00716.66
8.0.50.0000.00816.63
8.0.30.0150.00916.98
8.0.20.0150.00917.40
8.0.10.0040.00416.73
8.0.00.0050.01216.57
7.4.330.0050.00015.00
7.4.320.0030.00316.52
7.4.300.0060.00016.59
7.4.290.0090.00016.63
7.4.280.0000.00716.58
7.4.270.0000.00716.52
7.4.260.0000.00716.57
7.4.250.0070.00016.53
7.4.240.0040.00416.64
7.4.230.0000.00716.39
7.4.220.0060.01216.61
7.4.210.0070.00716.45
7.4.200.0000.01016.61
7.4.160.0150.00616.74
7.4.150.0100.00717.40
7.4.140.0120.00917.86
7.4.130.0060.01116.35
7.4.120.0050.01216.45
7.4.110.0110.00616.45
7.4.100.0030.01416.68
7.4.90.0070.01116.35
7.4.80.0130.01019.39
7.4.70.0130.00616.45
7.4.60.0060.01016.27
7.4.50.0030.00516.34
7.4.40.0150.00616.50
7.4.30.0130.00816.61
7.4.00.0080.01014.88
7.3.330.0030.00313.10
7.3.320.0030.00313.17
7.3.310.0050.00316.16
7.3.300.0000.00716.10
7.3.290.0130.00016.18
7.3.280.0110.01016.21
7.3.270.0070.01417.40
7.3.260.0160.00316.42
7.3.250.0110.01316.45
7.3.240.0110.00716.37
7.3.230.0070.01116.39
7.3.210.0030.01716.11
7.3.200.0170.01519.39
7.3.190.0070.01016.43
7.3.180.0120.00916.20
7.3.170.0100.00616.51
7.3.160.0090.00916.36
7.3.120.0090.00314.75
7.3.110.0040.01514.70
7.3.100.0130.00314.74
7.3.90.0000.00914.59
7.3.80.0000.01214.56
7.3.70.0040.00414.54
7.3.60.0070.00714.86
7.3.50.0030.01014.57
7.3.40.0090.00314.89
7.3.30.0030.00714.66
7.3.20.0000.01316.74
7.3.10.0030.01116.41
7.3.00.0050.00816.57
7.2.330.0150.00316.48
7.2.320.0080.01116.16
7.2.310.0110.00616.30
7.2.300.0060.00916.36
7.2.290.0100.00716.32
7.2.250.0070.01014.98
7.2.240.0100.01014.91
7.2.230.0070.01014.70
7.2.220.0030.00914.99
7.2.210.0030.01015.04
7.2.200.0100.00714.77
7.2.190.0030.01314.83
7.2.180.0030.01214.86
7.2.170.0100.00014.73
7.2.130.0070.01116.92
7.2.120.0000.00816.92
7.2.110.0040.00816.64
7.2.100.0080.00816.66
7.2.90.0060.00616.63
7.2.80.0060.00616.67
7.2.70.0150.00616.61
7.2.60.0070.01016.74
7.2.50.0030.00616.35
7.2.40.0000.00916.63
7.2.30.0040.01416.52
7.2.20.0030.00716.48
7.2.10.0070.01016.59
7.2.00.0120.00818.11
7.1.330.0080.00615.75
7.1.320.0040.00415.51
7.1.310.0060.00615.67
7.1.300.0000.00915.76
7.1.290.0090.00615.58
7.1.280.0090.00015.42
7.1.270.0090.00615.75
7.1.260.0150.00015.61
7.1.250.0060.00915.60
7.1.100.0040.00718.23
7.1.70.0030.00316.89
7.1.60.0090.01519.61
7.1.50.0040.01616.98
7.1.00.0030.07722.51
7.0.200.0260.01114.60
7.0.140.0030.07321.95
7.0.60.0130.07020.04
7.0.50.0030.05017.97
7.0.40.0030.04720.18
7.0.30.0270.05720.08
7.0.20.0370.04020.34
7.0.10.0230.08320.09
7.0.00.0030.05720.05
5.6.280.0030.07321.05
5.6.210.0130.06720.53
5.6.200.0100.07018.22
5.6.190.0130.08320.68
5.6.180.0270.07320.52
5.6.170.0300.07720.53
5.6.160.0070.08020.48
5.6.150.0070.07718.21
5.6.140.0000.06718.16
5.6.130.0100.07018.28
5.6.120.0100.07320.98
5.6.110.0130.07721.01
5.6.100.0170.06321.02
5.6.90.0100.08021.13
5.6.80.0030.06020.44
5.6.70.4370.03720.43
5.5.350.0100.04020.47
5.5.340.0100.07717.98
5.5.330.0070.05020.27
5.5.320.0100.04720.17
5.5.310.0270.06320.32
5.5.300.0100.03317.92
5.5.290.0070.03717.95
5.5.280.0100.08020.99
5.5.270.0100.08020.73
5.5.260.0100.06720.68
5.5.250.0100.04720.50
5.5.240.0100.05720.07
5.4.450.0430.04019.49
5.4.440.0100.05319.13
5.4.430.0370.04019.46
5.4.420.0700.03719.16
5.4.410.0400.04719.41
5.4.400.0530.03319.32
5.4.390.0200.05019.07
5.4.380.0400.04318.77
5.4.370.0270.06318.49
5.4.360.0270.07018.51
5.4.350.0400.04718.79
5.4.340.0330.07018.76
5.4.320.0090.03712.51
5.4.310.0100.04512.50
5.4.300.0060.04212.50
5.4.290.0120.03812.50
5.4.280.0090.03612.40
5.4.270.0100.04112.39
5.4.260.0030.04212.40
5.4.250.0070.03912.40
5.4.240.0080.03712.40
5.4.230.0070.03812.39
5.4.220.0060.04112.39
5.4.210.0050.03812.39
5.4.200.0080.03612.39
5.4.190.0080.03412.38
5.4.180.0090.03612.39
5.4.170.0150.02812.40
5.4.160.0080.03812.39
5.4.150.0090.03412.39
5.4.140.0150.04112.07
5.4.130.0110.03312.06
5.4.120.0080.03312.02
5.4.110.0070.03512.02
5.4.100.0040.03812.02
5.4.90.0050.03812.01
5.4.80.0050.03812.02
5.4.70.0090.03212.01
5.4.60.0060.03412.01
5.4.50.0060.04212.01
5.4.40.0080.04012.00
5.4.30.0070.03612.00
5.4.20.0090.03312.00
5.4.10.0050.03612.00
5.4.00.0040.03811.48
5.3.290.0070.03912.80
5.3.280.0070.03712.71
5.3.270.0080.03812.73
5.3.260.0060.03912.72
5.3.250.0050.03812.72
5.3.240.0070.03812.72
5.3.230.0060.03912.71
5.3.220.0070.03612.68
5.3.210.0050.03912.68
5.3.200.0040.03812.68
5.3.190.0060.03712.68
5.3.180.0070.03512.68
5.3.170.0050.03712.66
5.3.160.0040.04012.67
5.3.150.0080.03512.67
5.3.140.0060.03612.66
5.3.130.0080.03612.66
5.3.120.0100.03512.66
5.3.110.0110.03412.66
5.3.100.0050.03712.12
5.3.90.0080.03512.11
5.3.80.0040.03912.09
5.3.70.0110.03212.09
5.3.60.0090.03312.08
5.3.50.0060.03612.03
5.3.40.0060.03812.02
5.3.30.0050.03611.98
5.3.20.0060.03511.76
5.3.10.0060.03611.73
5.3.00.0040.03911.73
5.2.170.0040.0329.22
5.2.160.0040.0319.22
5.2.150.0040.0329.22
5.2.140.0040.0319.22
5.2.130.0070.0289.18
5.2.120.0050.0299.18
5.2.110.0070.0269.19
5.2.100.0070.0279.18
5.2.90.0050.0289.18
5.2.80.0040.0319.17
5.2.70.0050.0309.18
5.2.60.0060.0299.13
5.2.50.0080.0289.09
5.2.40.0030.0309.07
5.2.30.0060.0299.05
5.2.20.0050.0299.04
5.2.10.0040.0298.95
5.2.00.0050.0288.80
5.1.60.0060.0228.09
5.1.50.0030.0268.09
5.1.40.0070.0228.07
5.1.30.0030.0288.42
5.1.20.0050.0278.45
5.1.10.0050.0258.17
5.1.00.0020.0298.16
5.0.50.0040.0206.64
5.0.40.0050.0176.50
5.0.30.0070.0356.32
5.0.20.0020.0236.28
5.0.10.0040.0186.26
5.0.00.0040.0306.25
4.4.90.0010.0164.78
4.4.80.0020.0164.76
4.4.70.0040.0144.75
4.4.60.0010.0174.75
4.4.50.0030.0144.77
4.4.40.0040.0244.71
4.4.30.0060.0124.76
4.4.20.0040.0144.85
4.4.10.0040.0144.85
4.4.00.0020.0254.76
4.3.110.0060.0124.67
4.3.100.0020.0164.66
4.3.90.0050.0124.63
4.3.80.0030.0244.58
4.3.70.0010.0164.63
4.3.60.0040.0134.63
4.3.50.0030.0144.63
4.3.40.0010.0254.54
4.3.30.0040.0143.30
4.3.20.0040.0133.28
4.3.10.0030.0143.23
4.3.00.0130.01316.31

preferences:
36.77 ms | 401 KiB | 5 Q