3v4l.org

run code in 300+ PHP versions simultaneously
<?php #[A] enum B { #[C] case A; } $reflection = new ReflectionObject(B::A); $attributes = $reflection->getAttributes(); print $attributes[0];

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.5.00.0130.01119.91
8.4.150.0020.00114.05
8.4.140.0120.00917.60
8.4.130.0110.01117.71
8.4.120.0140.00520.55
8.4.110.0080.00322.38
8.4.100.0160.00517.70
8.4.90.0110.01018.90
8.4.80.0110.00818.09
8.4.70.0070.01417.50
8.4.60.0070.00318.76
8.4.50.0100.01019.78
8.4.40.0070.00317.50
8.4.30.0110.00722.53
8.4.20.0060.00322.11
8.4.10.0130.00623.77
8.3.280.0130.00918.57
8.3.270.0160.00516.75
8.3.260.0110.00816.28
8.3.250.0150.00419.02
8.3.240.0100.00916.33
8.3.230.0120.00616.52
8.3.220.0040.00417.04
8.3.210.0030.00616.60
8.3.200.0030.00616.55
8.3.190.0120.00617.25
8.3.180.0100.00616.50
8.3.170.0090.00918.69
8.3.160.0040.00416.55
8.3.150.0060.01220.56
8.3.140.0030.00716.63
8.3.130.0030.00716.81
8.3.120.0090.00020.73
8.3.110.0060.00320.94
8.3.100.0030.00616.54
8.3.90.0030.00616.72
8.3.50.0030.00616.50
8.2.290.0100.01020.27
8.2.280.0030.00618.30
8.2.270.0040.00417.21
8.2.260.0100.00718.86
8.2.250.0030.00618.23
8.2.240.0030.00617.18
8.2.230.0040.00722.58
8.2.220.0000.00816.37
8.2.210.0040.00416.40
8.2.70.0140.00417.25
8.2.60.0140.00417.25
8.2.50.0150.00317.60
8.2.40.0160.00017.50
8.2.30.0090.00617.13
8.2.20.0120.00417.50
8.2.10.0190.00017.47
8.2.00.0080.00817.37
8.1.330.0080.01021.89
8.1.320.0090.00716.16
8.1.310.0090.00016.59
8.1.300.0060.00316.12
8.1.200.0120.00417.13
8.1.190.0050.01117.00
8.1.180.0120.00617.10
8.1.170.0110.00517.13
8.1.160.0160.00017.13
8.1.150.0130.00717.00
8.1.140.0170.00017.38
8.1.130.0110.00516.97
8.1.120.0140.00317.38
8.1.110.0170.00017.13
8.1.100.0120.00417.38
8.1.90.0150.00017.25
8.1.80.0090.00617.13
8.1.70.0130.00217.13
8.1.60.0140.00317.13
8.1.50.0040.01316.88
8.1.40.0060.01217.47
8.1.30.0140.00717.13
8.1.20.0140.00317.25
8.1.10.0140.00517.23
8.1.00.0110.00617.25
8.0.290.0080.00816.58
8.0.280.0120.00316.63
8.0.270.0130.00316.58
8.0.260.0090.00616.61
8.0.250.0130.00316.63
8.0.240.0040.01216.63
8.0.230.0110.00516.58
8.0.220.0170.00016.63
8.0.210.0060.01116.58
8.0.200.0160.00016.58
8.0.190.0090.00616.58
8.0.180.0110.00516.63
8.0.170.0120.00316.75
8.0.160.0080.00816.75
8.0.150.0120.00616.58
8.0.140.0130.00316.58
8.0.130.0160.00016.58
8.0.120.0120.00416.58
8.0.110.0070.00716.58
8.0.100.0120.00416.58
8.0.90.0150.00016.58
8.0.80.0000.01516.58
8.0.70.0120.00416.58
8.0.60.0120.00616.58
8.0.50.0110.00616.58
8.0.30.0120.00416.58
8.0.20.0130.00316.58
8.0.10.0080.00816.58

preferences:
31.33 ms | 403 KiB | 5 Q