3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { private static $bar; } var_dump(array_merge( [], ...array_map( function ($symbol) { return array_map( function (\ReflectionProperty $property) { return ($property->getDeclaringClass()->getName()) . '::$' . $property->getName(); }, array_filter( (new \ReflectionClass($symbol))->getMethods(), function (\ReflectionProperty $property) { return $property->isStatic(); } ) ); }, array_merge(get_declared_classes(), get_declared_traits()) ) ));

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.0120.00316.63
8.3.50.0110.00921.11
8.3.40.0080.00818.54
8.3.30.0130.00918.71
8.3.20.0040.00420.05
8.3.10.0000.00821.80
8.3.00.0040.00421.69
8.2.180.0060.00918.29
8.2.170.0120.00922.96
8.2.160.0110.00420.35
8.2.150.0050.00324.18
8.2.140.0070.00024.66
8.2.130.0050.00321.12
8.2.120.0080.00026.35
8.2.110.0060.00619.21
8.2.100.0080.00417.93
8.2.90.0040.00419.05
8.2.80.0080.00017.97
8.2.70.0080.00017.63
8.2.60.0040.00418.04
8.2.50.0000.01118.09
8.2.40.0040.00420.48
8.2.30.0000.00719.35
8.2.20.0000.00817.69
8.2.10.0050.00318.15
8.2.00.0000.00718.16
8.1.280.0120.00925.92
8.1.270.0040.00422.07
8.1.260.0000.00728.09
8.1.250.0050.00328.09
8.1.240.0070.00322.67
8.1.230.0080.00417.70
8.1.220.0000.00917.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0040.00417.13
8.1.180.0050.00318.10
8.1.170.0040.00418.57
8.1.160.0000.00720.74
8.1.150.0040.00418.98
8.1.140.0000.00919.60
8.1.130.0030.00317.72
8.1.120.0070.00017.40
8.1.110.0040.00417.40
8.1.100.0080.00017.48
8.1.90.0030.00517.32
8.1.80.0080.00017.33
8.1.70.0000.00817.45
8.1.60.0030.00517.45
8.1.50.0060.00317.45
8.1.40.0040.00717.51
8.1.30.0000.00817.55
8.1.20.0000.00917.70
8.1.10.0050.00217.54
8.1.00.0030.00617.52
8.0.300.0000.00818.77
8.0.290.0060.00316.63
8.0.280.0030.00318.46
8.0.270.0070.00017.23
8.0.260.0000.00717.28
8.0.250.0000.00817.03
8.0.240.0050.00216.93
8.0.230.0030.00316.98
8.0.220.0030.00316.95
8.0.210.0050.00216.92
8.0.200.0030.00317.00
8.0.190.0000.00717.05
8.0.180.0040.00417.02
8.0.170.0040.00416.99
8.0.160.0070.00017.06
8.0.150.0070.00016.84
8.0.140.0040.00416.84
8.0.130.0000.00613.46
8.0.120.0040.00417.01
8.0.110.0040.00416.97
8.0.100.0000.00716.78
8.0.90.0080.00017.01
8.0.80.0060.00817.05
8.0.70.0060.00316.87
8.0.60.0040.00416.95
8.0.50.0000.00716.84
8.0.30.0120.00717.18
8.0.20.0090.01117.41
8.0.10.0030.00617.03
8.0.00.0080.01016.72
7.4.330.0000.00516.89
7.4.320.0060.00016.56
7.4.300.0040.00416.56
7.4.290.0000.00716.48
7.4.280.0000.00716.36
7.4.270.0030.00316.42
7.4.260.0030.00316.47
7.4.250.0000.00716.36
7.4.240.0030.00316.38
7.4.230.0070.00016.45
7.4.220.0090.00916.52
7.4.210.0110.00516.48
7.4.200.0030.00316.49
7.4.160.0070.01016.44
7.4.150.0060.01317.40
7.4.140.0120.01017.86
7.4.130.0090.01016.41
7.4.120.0100.00716.63
7.4.110.0140.00416.75
7.4.100.0070.01116.73
7.4.90.0090.00916.64
7.4.80.0060.01219.39
7.4.70.0060.01016.61
7.4.60.0140.00316.66
7.4.50.0090.00616.50
7.4.40.0100.01016.61
7.4.30.0040.01316.44
7.4.00.0090.01014.95
7.3.330.0000.00513.38
7.3.320.0000.00513.20
7.3.310.0070.00016.36
7.3.300.0070.00016.34
7.3.290.0000.00716.35
7.3.280.0120.00816.34
7.3.270.0100.00717.40
7.3.260.0110.00516.45
7.3.250.0110.00816.44
7.3.240.0140.00316.40
7.3.230.0100.00716.46
7.3.210.0130.00316.39
7.3.200.0070.01019.39
7.3.190.0100.00616.32
7.3.180.0080.00816.49
7.3.170.0100.00716.64
7.3.160.0070.01016.23
7.3.120.0100.00914.66
7.3.110.0010.01014.96
7.3.100.0080.00815.00
7.3.90.0050.01014.80
7.3.80.0040.00914.69
7.3.70.0020.01114.71
7.3.60.0090.00514.76
7.3.50.0050.00914.65
7.3.40.0070.00514.72
7.3.30.0020.01514.83
7.3.20.0110.00416.59
7.3.10.0070.00516.63
7.3.00.0080.00716.64
7.2.330.0100.00716.55
7.2.320.0090.01516.47
7.2.310.0030.01316.55
7.2.300.0130.00316.67
7.2.290.0090.00916.69
7.2.250.0080.01014.91
7.2.240.0120.00715.05
7.2.230.0060.01215.00
7.2.220.0020.01014.87
7.2.210.0090.00314.70
7.2.200.0040.00815.09
7.2.190.0070.01114.84
7.2.180.0050.01114.87
7.2.170.0080.00714.92
7.2.130.0070.00816.77
7.2.120.0080.00916.80
7.2.110.0040.00916.67
7.2.100.0080.00516.75
7.2.90.0080.00716.74
7.2.80.0090.00616.74
7.2.70.0100.01016.66
7.2.60.0080.00816.89
7.2.50.0050.01016.63
7.2.40.0080.00816.80
7.2.30.0060.00816.81
7.2.20.0050.00916.65
7.2.10.0070.00816.82
7.2.00.0150.00317.58
7.1.330.0030.01215.66
7.1.320.0020.00915.82
7.1.310.0040.01115.72
7.1.300.0090.00515.75
7.1.290.0030.01015.63
7.1.280.0070.00715.86
7.1.270.0080.00515.63
7.1.260.0050.00915.63
7.1.250.0080.00515.49
7.1.240.0070.01115.52
7.1.230.0090.00915.39
7.1.220.0110.00015.62
7.1.210.0040.01215.56
7.1.200.0050.00915.49
7.1.190.0150.00015.45
7.1.180.0130.00315.34
7.1.170.0060.00615.74
7.1.160.0060.00615.69
7.1.150.0060.00615.52
7.1.140.0040.01115.33
7.1.130.0100.00315.39
7.1.120.0110.00615.56
7.1.110.0130.00615.25
7.1.100.0070.00516.82
7.1.90.0110.00415.79
7.1.80.0110.00615.61
7.1.70.0070.00416.49
7.1.60.0060.01117.48
7.1.50.0110.00715.96
7.1.40.0060.00915.55
7.1.30.0120.00315.39
7.1.20.0060.00615.57
7.1.10.0070.01015.66
7.1.00.0080.03718.99
7.0.330.0050.00515.10
7.0.320.0110.00415.35
7.0.310.0090.00915.39
7.0.300.0090.00615.06
7.0.290.0130.00315.38
7.0.280.0070.00715.20
7.0.270.0120.00315.19
7.0.260.0090.00615.01
7.0.250.0100.00315.36
7.0.240.0090.00615.16
7.0.230.0100.00715.41
7.0.220.0090.00315.30
7.0.210.0030.01015.13
7.0.200.0360.00314.96
7.0.190.0080.00315.12
7.0.180.0130.00315.09
7.0.170.0100.00315.21
7.0.160.0090.00915.06
7.0.150.0170.00315.00
7.0.140.0080.01115.20
7.0.130.0160.00315.21
7.0.120.0110.00815.09
7.0.110.0130.00315.07
7.0.100.0090.00615.16
7.0.90.0080.00414.93
7.0.80.0080.00814.94
7.0.70.0060.00715.32
7.0.60.0080.02218.28
7.0.50.0080.02516.68
7.0.40.0110.04316.88
7.0.30.0150.02716.63
7.0.20.0220.04116.74
7.0.10.0050.02516.64
7.0.00.0110.04016.78
5.6.380.0060.00714.24
5.6.370.0140.00013.89
5.6.360.0080.00614.13
5.6.350.0090.00314.13
5.6.340.0070.00714.18
5.6.330.0050.00514.16
5.6.320.0100.00314.43
5.6.310.0100.00314.11
5.6.300.0030.01414.10
5.6.290.0040.00713.96
5.6.280.0050.02517.36
5.6.270.0040.01114.23
5.6.260.0070.00714.06
5.6.250.0030.00514.13
5.6.240.0030.01313.96
5.6.230.0090.00613.67
5.6.220.0020.01014.03
5.6.210.0070.02817.22
5.6.200.0030.03616.14
5.6.190.0120.02717.22
5.6.180.0120.02317.44
5.6.170.0220.04117.40
5.6.160.0050.04817.33
5.6.150.0050.04516.09
5.6.140.0080.03716.15
5.6.130.0050.04116.04
5.6.120.0070.02217.65
5.6.110.0050.04017.55
5.6.100.0070.02717.63
5.6.90.0110.03417.39
5.6.80.0140.03817.40
5.6.70.0080.00514.00
5.6.60.0100.01014.13
5.6.50.0080.00713.93
5.6.40.0050.00814.03
5.6.30.0100.00614.06
5.6.20.0090.00314.00
5.6.10.0070.01413.99
5.6.00.0200.00714.13
5.5.380.0040.00411.00
5.5.370.0000.00810.93
5.5.360.0000.00910.90
5.5.350.0090.03915.74
5.5.340.0060.02814.44
5.5.330.0060.03615.63
5.5.320.0320.02815.55
5.5.310.0070.02615.59
5.5.300.0050.02214.41
5.5.290.0100.04214.41
5.5.280.0070.03315.83
5.5.270.0070.04315.86
5.5.260.0100.03315.79
5.5.250.0100.04315.74
5.5.240.0060.01915.54
5.5.230.0060.00610.90
5.5.220.0070.00010.90
5.5.210.0000.00810.90
5.5.200.0000.00610.90
5.5.190.0040.00410.90
5.5.180.0080.00010.90
5.5.170.0000.01010.90
5.5.160.0210.00610.90
5.5.150.0000.00710.90
5.5.140.0080.01110.90
5.5.130.0110.00710.98
5.5.120.0070.00710.90
5.5.110.0120.00610.90
5.5.100.0110.00710.90
5.5.90.0030.00910.90
5.5.80.0130.00310.90
5.5.70.0070.00710.90
5.5.60.0030.00610.90
5.5.50.0120.00310.90
5.5.40.0310.00010.90
5.5.30.0160.00810.90
5.5.20.0210.00710.90
5.5.10.0250.00610.90
5.5.00.0230.00310.90

preferences:
54.9 ms | 401 KiB | 5 Q