3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace N; class C { static function f($f) { $rf = new \ReflectionFunction($f); $rf->getAttributes()[0]->getArguments(); } } $f = eval(' return #[A(D::U)] function () {}; '); C::f($f);

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.0040.01118.55
8.3.50.0130.00320.34
8.3.40.0030.01019.93
8.3.30.0060.00918.58
8.3.20.0040.00424.18
8.3.10.0040.01424.66
8.3.00.0000.00826.16
8.2.180.0120.00625.92
8.2.170.0070.01319.09
8.2.160.0140.00022.96
8.2.150.0040.00425.66
8.2.140.0070.00024.66
8.2.130.0090.00026.16
8.2.120.0030.01219.48
8.2.110.0060.00321.18
8.2.100.0080.00417.88
8.2.90.0040.00417.75
8.2.80.0040.00417.97
8.2.70.0030.00517.63
8.2.60.0050.00317.75
8.2.50.0040.00418.04
8.2.40.0060.00318.15
8.2.30.0030.00518.04
8.2.20.0000.00720.44
8.2.10.0000.00717.84
8.2.00.0030.00519.42
8.1.280.0000.01525.92
8.1.270.0110.00423.99
8.1.260.0070.01026.35
8.1.250.0080.00028.09
8.1.240.0090.01219.61
8.1.230.0110.00017.70
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0090.00017.13
8.1.190.0030.00617.00
8.1.180.0050.00518.10
8.1.170.0050.00317.66
8.1.160.0000.00718.81
8.1.150.0040.00418.69
8.1.140.0000.00717.38
8.1.130.0000.00818.89
8.1.120.0070.00017.46
8.1.110.0040.00417.46
8.1.100.0000.00817.39
8.1.90.0040.00417.45
8.1.80.0040.00417.44
8.1.70.0000.00717.46
8.1.60.0040.00417.47
8.1.50.0030.00517.53
8.1.40.0040.00417.55
8.1.30.0000.00917.72
8.1.20.0210.00617.64
8.1.10.0230.00417.53
8.1.00.0170.00817.41
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0070.00018.43
8.0.270.0000.00716.88
8.0.260.0030.00318.44
8.0.250.0040.00417.01
8.0.240.0030.00316.99
8.0.230.0040.00416.97
8.0.220.0000.00716.98
8.0.210.0040.00416.84
8.0.200.0030.00316.98
8.0.190.0090.00017.05
8.0.180.0070.00016.91
8.0.170.0040.00416.84
8.0.160.0040.00516.90
8.0.150.0000.00716.95
8.0.140.0080.01416.80
8.0.130.0230.00016.88
8.0.120.0180.00416.62
8.0.110.0170.00316.94
8.0.100.0150.00616.91
8.0.90.0120.00916.98
8.0.80.0130.00916.99
8.0.70.0120.00916.73
8.0.60.0120.00916.88
8.0.50.0140.00916.88
8.0.30.0130.00716.86
8.0.20.0130.00517.02
8.0.10.0130.00917.13
7.4.330.0050.00015.55
7.4.320.0040.00416.50
7.4.300.0070.00016.55
7.4.290.0050.00216.44
7.4.280.0000.00816.54
7.4.270.0200.00316.51
7.4.260.0190.00416.61
7.4.250.0140.00316.63
7.4.240.0000.00916.31
7.4.230.0170.00316.39
7.4.220.0170.00016.46
7.4.210.0170.00016.48
7.4.200.0120.00416.38
7.4.190.0110.00816.56
7.4.180.0130.00316.37
7.4.160.0150.00416.60
7.4.150.0130.00616.54
7.4.140.0110.00516.29
7.4.130.0150.00416.45
7.4.120.0180.00316.35
7.4.110.0090.00916.37
7.4.100.0090.00316.53
7.4.90.0160.00316.57
7.4.80.0170.00316.31
7.4.70.0200.00016.39
7.4.60.0160.00416.43
7.4.50.0160.00316.38
7.4.40.0190.00316.44
7.4.30.0120.00616.43
7.4.20.0090.00916.42
7.4.10.0100.01016.35
7.4.00.0110.00716.36

preferences:
28.36 ms | 400 KiB | 5 Q