3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace N; class C { static function f() { $f = eval(' return #[A(self::U)] static 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.0040.01118.68
8.3.50.0090.01220.32
8.3.40.0100.00319.71
8.3.30.0130.00318.82
8.3.20.0080.00024.18
8.3.10.0090.00924.66
8.3.00.0040.00426.16
8.2.180.0090.00925.92
8.2.170.0100.01018.96
8.2.160.0060.00922.96
8.2.150.0080.00025.66
8.2.140.0070.00024.66
8.2.130.0030.00626.16
8.2.120.0050.00226.16
8.2.110.0000.00920.43
8.2.100.0090.00317.97
8.2.90.0030.00517.75
8.2.80.0030.00517.97
8.2.70.0030.00617.75
8.2.60.0030.00617.75
8.2.50.0040.00418.05
8.2.40.0070.00018.28
8.2.30.0000.00818.14
8.2.20.0000.00820.45
8.2.10.0070.00017.68
8.2.00.0040.00419.23
8.1.280.0140.00325.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0090.00023.97
8.1.230.0040.00719.14
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0060.00317.35
8.1.190.0000.00817.35
8.1.180.0080.00318.10
8.1.170.0040.00417.62
8.1.160.0020.00518.83
8.1.150.0050.00218.59
8.1.140.0000.00717.46
8.1.130.0070.00018.89
8.1.120.0020.00517.37
8.1.110.0000.00917.50
8.1.100.0050.00317.35
8.1.90.0040.00417.43
8.1.80.0000.01017.39
8.1.70.0030.00317.47
8.1.60.0050.00217.49
8.1.50.0030.00517.43
8.1.40.0040.00417.51
8.1.30.0060.00317.61
8.1.20.0240.00217.64
8.1.10.0260.00317.55
8.1.00.0220.00417.47
8.0.300.0040.00419.77
8.0.290.0030.00516.75
8.0.280.0000.00718.49
8.0.270.0040.00417.01
8.0.260.0000.00618.49
8.0.250.0030.00317.03
8.0.240.0040.00416.98
8.0.230.0000.00717.00
8.0.220.0000.00716.85
8.0.210.0000.00717.00
8.0.200.0030.00316.88
8.0.190.0000.00717.00
8.0.180.0040.00416.88
8.0.170.0030.00916.97
8.0.160.0040.00416.96
8.0.150.0040.00416.95
8.0.140.0130.00816.77
8.0.130.0150.00616.98
8.0.120.0210.00416.93
8.0.110.0130.01016.68
8.0.100.0230.00316.80
8.0.90.0170.00416.84
8.0.80.0220.00016.95
8.0.70.0210.00316.99
8.0.60.0150.00516.83
8.0.50.0150.00716.74
8.0.30.0190.00316.91
8.0.20.0140.01017.03
8.0.10.0180.00417.07
7.4.330.0050.00015.55
7.4.320.0050.00316.49
7.4.300.0070.00016.58
7.4.290.0040.00416.48
7.4.280.0040.00416.51
7.4.270.0220.00016.55
7.4.260.0140.01116.44
7.4.250.0220.00016.50
7.4.240.0100.00716.58
7.4.230.0200.00016.50
7.4.220.0190.00416.40
7.4.210.0180.00416.41
7.4.200.0140.00916.38
7.4.190.0130.00916.42
7.4.180.0110.00816.54
7.4.160.0130.00316.46
7.4.150.0100.00616.38
7.4.140.0100.00516.39
7.4.130.0040.01116.47
7.4.120.0110.00416.34
7.4.110.0110.00516.45
7.4.100.0080.00816.54
7.4.90.0110.00416.45
7.4.80.0090.00416.41
7.4.70.0100.00016.37
7.4.60.0100.00016.35
7.4.50.0130.00016.46
7.4.40.0150.00316.49
7.4.30.0130.00616.41
7.4.20.0150.00316.34
7.4.10.0090.00916.41
7.4.00.0100.01016.48

preferences:
58.55 ms | 400 KiB | 5 Q