3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function load(string $file, array $data) {} } $reflection = new \ReflectionClass('Foo'); $method = $reflection->getMethod('load'); foreach ($method->getParameters() as $param) { var_dump($param['name']); }

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.00718.31
8.3.50.0120.00316.66
8.3.40.0000.01418.80
8.3.30.0070.00718.84
8.3.20.0030.00520.37
8.3.10.0000.00823.65
8.3.00.0040.00417.72
8.2.180.0090.00616.50
8.2.170.0110.00422.96
8.2.160.0160.00320.39
8.2.150.0000.00724.18
8.2.140.0050.00324.66
8.2.130.0000.00722.11
8.2.120.0030.00626.35
8.2.110.0000.00922.05
8.2.100.0070.00418.22
8.2.90.0050.00319.22
8.2.80.0040.00418.05
8.2.70.0050.00317.50
8.2.60.0080.00018.04
8.2.50.0080.00018.10
8.2.40.0000.00820.61
8.2.30.0040.00421.12
8.2.20.0000.00718.04
8.2.10.0000.00918.09
8.2.00.0000.00918.11
8.1.280.0150.00325.92
8.1.270.0020.00523.96
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0060.00322.01
8.1.230.0070.00417.52
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0030.00617.35
8.1.180.0040.00418.10
8.1.170.0030.00518.59
8.1.160.0000.00718.89
8.1.150.0080.00020.54
8.1.140.0000.00919.57
8.1.130.0030.00318.80
8.1.120.0000.00717.51
8.1.110.0040.00417.29
8.1.100.0020.00517.48
8.1.90.0070.00317.38
8.1.80.0040.00417.51
8.1.70.0040.00417.47
8.1.60.0000.00817.62
8.1.50.0040.00417.55
8.1.40.0040.00417.43
8.1.30.0030.00517.63
8.1.20.0030.00517.65
8.1.10.0030.00517.55
8.1.00.0040.00417.52
8.0.300.0000.00818.77
8.0.290.0000.00716.63
8.0.280.0030.00318.45
8.0.270.0000.00717.31
8.0.260.0080.00016.89
8.0.250.0000.00716.99
8.0.240.0100.00016.88
8.0.230.0040.00716.89
8.0.220.0040.00416.97
8.0.210.0000.00716.85
8.0.200.0030.00316.98
8.0.190.0000.01216.92
8.0.180.0060.00316.87
8.0.170.0040.00416.97
8.0.160.0070.00016.96
8.0.150.0000.00716.80
8.0.140.0030.00516.91
8.0.130.0060.00013.37
8.0.120.0030.00516.95
8.0.110.0040.00416.78
8.0.100.0050.00216.99
8.0.90.0030.00316.84
8.0.80.0100.01016.95
8.0.70.0040.00416.90
8.0.60.0040.00417.07
8.0.50.0050.00217.00
8.0.30.0120.00417.08
8.0.20.0080.01017.40
8.0.10.0040.00417.09
8.0.00.0090.01416.63
7.4.330.0020.00215.55
7.4.320.0070.00016.50
7.4.300.0030.00316.64
7.4.290.0030.00316.50
7.4.280.0040.00416.58
7.4.270.0000.00716.62
7.4.260.0050.00013.28
7.4.250.0000.00716.54
7.4.240.0040.00416.50
7.4.230.0040.00416.67
7.4.220.0090.00916.49
7.4.210.0100.01016.69
7.4.200.0000.00716.46
7.4.160.0090.00816.44
7.4.150.0130.01017.40
7.4.140.0120.01217.86
7.4.130.0060.01216.58
7.4.120.0080.01116.53
7.4.110.0070.01416.57
7.4.100.0070.01116.46
7.4.90.0090.00916.57
7.4.80.0070.01119.39
7.4.70.0100.01016.54
7.4.60.0130.00316.44
7.4.50.0090.00616.44
7.4.40.0110.00816.63
7.4.30.0070.01016.74
7.4.00.0030.01114.97
7.3.330.0000.00513.45
7.3.320.0050.00013.39
7.3.310.0030.00316.32
7.3.300.0040.00416.38
7.3.290.0100.00916.33
7.3.280.0090.00716.29
7.3.270.0030.01417.40
7.3.260.0070.00916.49
7.3.250.0100.01116.38
7.3.240.0060.01316.43
7.3.230.0120.01016.45
7.3.210.0030.01316.34
7.3.200.0100.00616.53
7.3.190.0130.00316.30
7.3.180.0040.01716.48
7.3.170.0060.01516.32
7.3.160.0100.00716.34
7.2.330.0100.01016.63
7.2.320.0070.01016.70
7.2.310.0110.00616.75
7.2.300.0120.00916.63
7.2.290.0100.00716.82
7.2.60.0100.00316.91
7.2.00.0040.00419.33
7.1.200.0070.00715.61
7.1.100.0030.01017.90
7.1.70.2770.01315.28
7.1.60.2170.01733.10
7.1.50.2570.01732.84
7.1.40.2730.01732.66
7.1.30.2730.01332.70
7.1.20.2230.02332.70
7.1.10.1700.01014.94
7.1.00.2070.00714.64
7.0.200.3170.01314.89
7.0.190.3370.01314.78
7.0.180.2630.00714.38
7.0.170.2330.00714.58
7.0.160.2800.01014.37
7.0.150.1600.01314.34
7.0.140.1800.01314.39
7.0.130.2370.00714.65
7.0.120.2270.01314.78
7.0.110.1970.01314.43
7.0.100.1930.01014.62
7.0.90.1170.01014.43
7.0.80.1330.00714.78
7.0.70.1370.01314.51
7.0.60.1530.00314.32
7.0.50.1800.01014.56
7.0.40.1270.01014.57
7.0.30.2070.01014.55
7.0.20.1730.00314.64
7.0.10.1200.00714.75
7.0.00.2230.01714.64

preferences:
38.7 ms | 400 KiB | 5 Q