3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace N; class C { static function f() { $f = eval(' return #[A(D::U)] function () {}; '); $rf = new \ReflectionFunction($f); $rf->getAttributes()[0]->getArguments(); } } C::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.0090.00618.31
8.3.50.0160.00620.18
8.3.40.0080.00620.00
8.3.30.0030.01318.67
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0000.00726.16
8.2.180.0110.00725.92
8.2.170.0150.00018.85
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0070.00026.16
8.2.110.0090.00019.20
8.2.100.0080.00417.88
8.2.90.0030.00717.88
8.2.80.0000.00918.76
8.2.70.0030.00517.63
8.2.60.0040.00417.75
8.2.50.0040.00417.98
8.2.40.0000.00718.22
8.2.30.0040.00418.12
8.2.20.0000.00720.38
8.2.10.0000.00717.83
8.2.00.0000.00719.36
8.1.280.0030.01225.92
8.1.270.0080.00023.99
8.1.260.0050.00326.35
8.1.250.0030.00528.09
8.1.240.0070.00320.69
8.1.230.0000.01120.95
8.1.220.0040.00418.74
8.1.210.0070.00419.08
8.1.200.0000.00817.35
8.1.190.0000.00817.35
8.1.180.0060.00618.10
8.1.170.0040.00417.62
8.1.160.0000.00818.96
8.1.150.0040.00418.57
8.1.140.0000.00717.40
8.1.130.0000.00718.86
8.1.120.0030.00417.38
8.1.110.0000.00717.51
8.1.100.0040.00417.36
8.1.90.0030.00617.53
8.1.80.0050.00217.45
8.1.70.0030.00317.45
8.1.60.0040.00417.48
8.1.50.0050.00317.51
8.1.40.0040.00417.41
8.1.30.0060.00317.62
8.1.20.0180.00717.66
8.1.10.0110.01517.48
8.1.00.0120.01117.53
8.0.300.0040.00419.98
8.0.290.0070.00016.75
8.0.280.0000.00818.56
8.0.270.0030.00316.93
8.0.260.0030.00318.45
8.0.250.0030.00316.90
8.0.240.0030.00316.89
8.0.230.0000.00716.98
8.0.220.0050.00316.92
8.0.210.0030.00316.85
8.0.200.0000.00817.02
8.0.190.0070.00016.92
8.0.180.0000.00816.98
8.0.170.0060.00316.88
8.0.160.0030.00616.83
8.0.150.0080.00016.78
8.0.140.0200.00016.91
8.0.130.0160.00516.83
8.0.120.0130.00716.93
8.0.110.0160.00316.84
8.0.100.0080.01216.79
8.0.90.0200.00016.99
8.0.80.0140.00716.95
8.0.70.0170.00716.95
8.0.60.0180.00416.94
8.0.50.0180.00316.98
8.0.30.0170.00416.77
8.0.20.0230.00016.95
8.0.10.0160.00617.08
7.4.330.0000.00515.55
7.4.320.0040.00416.51
7.4.300.0060.00016.50
7.4.290.0030.00516.53
7.4.280.0040.00416.64
7.4.270.0200.00616.59
7.4.260.0200.00316.48
7.4.250.0190.00816.59
7.4.240.0170.00616.36
7.4.230.0170.00616.50
7.4.220.0130.00716.61
7.4.210.0160.00416.39
7.4.200.0200.00316.54
7.4.190.0220.00016.53
7.4.180.0170.00716.52
7.4.160.0160.00316.60
7.4.150.0000.01716.47
7.4.140.0130.00516.57
7.4.130.0160.00416.46
7.4.120.0160.00416.56
7.4.110.0180.00316.42
7.4.100.0120.00616.37
7.4.90.0110.01116.35
7.4.80.0140.00616.48
7.4.70.0140.00716.47
7.4.60.0190.00016.43
7.4.50.0150.00616.40
7.4.40.0200.00316.36
7.4.30.0190.00316.45
7.4.20.0080.01216.43
7.4.10.0080.01316.53
7.4.00.0110.00816.53

preferences:
47.12 ms | 400 KiB | 5 Q