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); }

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.0000.01518.31
8.3.50.0070.00716.68
8.3.40.0100.01018.67
8.3.30.0090.00618.59
8.3.20.0080.00020.21
8.3.10.0040.00423.53
8.3.00.0080.00017.59
8.2.180.0120.00316.32
8.2.170.0090.00622.96
8.2.160.0100.00720.39
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0000.00822.25
8.2.120.0040.00426.35
8.2.110.0030.00722.14
8.2.100.0040.00818.03
8.2.90.0040.00419.17
8.2.80.0090.00017.97
8.2.70.0040.00417.50
8.2.60.0000.00717.80
8.2.50.0040.00418.10
8.2.40.0060.00320.55
8.2.30.0040.00420.99
8.2.20.0000.00718.01
8.2.10.0050.00317.93
8.2.00.0020.00517.93
8.1.280.0110.00725.92
8.1.270.0050.00323.80
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0030.00622.20
8.1.230.0110.00017.52
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0030.00617.36
8.1.190.0030.00617.22
8.1.180.0040.00418.10
8.1.170.0050.00318.48
8.1.160.0000.00718.96
8.1.150.0000.00820.55
8.1.140.0000.00719.45
8.1.130.0030.00318.89
8.1.120.0070.00017.48
8.1.110.0040.00417.46
8.1.100.0040.00417.31
8.1.90.0110.00017.27
8.1.80.0000.00717.36
8.1.70.0040.00417.47
8.1.60.0060.00317.55
8.1.50.0030.00617.43
8.1.40.0000.00817.42
8.1.30.0030.00517.67
8.1.20.0000.00717.59
8.1.10.0040.00417.52
8.1.00.0060.00317.46
8.0.300.0000.00918.77
8.0.290.0000.00716.63
8.0.280.0080.00018.34
8.0.270.0050.00317.25
8.0.260.0050.00216.89
8.0.250.0040.00416.97
8.0.240.0000.00716.95
8.0.230.0030.00616.82
8.0.220.0030.00316.79
8.0.210.0000.00716.78
8.0.200.0060.00016.95
8.0.190.0000.00816.94
8.0.180.0090.00016.91
8.0.170.0040.00416.87
8.0.160.0040.00416.94
8.0.150.0030.00516.87
8.0.140.0080.00016.88
8.0.130.0050.00013.36
8.0.120.0070.00016.74
8.0.110.0070.00016.93
8.0.100.0070.00016.90
8.0.90.0070.00016.94
8.0.80.0090.00616.92
8.0.70.0040.00416.76
8.0.60.0000.00816.90
8.0.50.0000.00716.84
8.0.30.0070.01117.03
8.0.20.0090.01017.40
8.0.10.0000.00816.90
8.0.00.0120.00616.75
7.4.330.0030.00315.55
7.4.320.0070.00016.61
7.4.300.0030.00316.59
7.4.290.0030.00316.43
7.4.280.0000.00816.50
7.4.270.0030.00316.50
7.4.260.0050.00013.27
7.4.250.0050.00216.48
7.4.240.0040.00416.45
7.4.230.0030.00316.68
7.4.220.0130.00916.47
7.4.210.0100.01016.53
7.4.200.0080.00016.41
7.4.160.0080.00916.52
7.4.150.0090.00917.40
7.4.140.0120.00917.86
7.4.130.0110.01516.60
7.4.120.0090.01116.45
7.4.110.0130.00416.50
7.4.100.0060.01216.52
7.4.90.0110.00616.45
7.4.80.0060.01619.39
7.4.70.0170.00316.35
7.4.60.0090.00916.33
7.4.50.0070.01016.43
7.4.40.0130.00316.55
7.4.30.0040.01816.60
7.4.00.0060.00914.74
7.3.330.0020.00213.27
7.3.320.0000.00513.02
7.3.310.0030.00316.29
7.3.300.0070.00016.11
7.3.290.0080.00816.23
7.3.280.0070.00816.24
7.3.270.0070.01317.40
7.3.260.0090.00816.32
7.3.250.0120.00716.19
7.3.240.0100.00616.32
7.3.230.0090.00916.36
7.3.210.0030.01316.46
7.3.200.0060.01216.46
7.3.190.0030.01316.40
7.3.180.0120.00416.37
7.3.170.0130.00316.14
7.3.160.0070.01016.49
7.2.330.0120.00816.48
7.2.320.0160.01816.76
7.2.310.0140.00416.66
7.2.300.0100.01316.61
7.2.290.0110.00816.70
7.2.60.0040.01116.39
7.2.00.0030.00919.21
7.1.200.0050.00815.62
7.1.100.0030.00918.20
7.1.70.1800.01315.13
7.1.60.1330.01732.94
7.1.50.1200.01332.97
7.1.40.1330.01032.65
7.1.30.1570.01032.47
7.1.20.1330.01032.56
7.1.10.1070.01014.67
7.1.00.1030.01014.90
7.0.200.1870.00714.95
7.0.190.1630.01314.96
7.0.180.1270.01314.35
7.0.170.1570.00714.34
7.0.160.1800.01714.49
7.0.150.1100.00714.15
7.0.140.1070.01014.43
7.0.130.1430.01014.77
7.0.120.1370.01014.54
7.0.110.1230.01014.43
7.0.100.1300.00714.52
7.0.90.1130.01014.55
7.0.80.1530.01314.50
7.0.70.1470.01314.40
7.0.60.1430.01014.36
7.0.50.1300.01014.56
7.0.40.1730.00714.72
7.0.30.1470.01014.59
7.0.20.1330.01014.64
7.0.10.1200.01314.71
7.0.00.1330.00714.43

preferences:
53.09 ms | 401 KiB | 5 Q