3v4l.org

run code in 300+ PHP versions simultaneously
<?php use foo\bar; #[bar] function foo() { } print (new ReflectionFunction('foo'))->getAttributes()[0]->getName();

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.4.120.0090.00320.55
8.4.110.0110.00918.42
8.4.100.0160.00517.54
8.4.90.0130.00717.55
8.4.80.0100.01022.66
8.4.70.0120.00817.80
8.4.60.0080.01019.03
8.4.50.0070.01320.17
8.4.40.0100.00317.55
8.4.30.0070.01120.43
8.4.20.0030.00619.23
8.4.10.0080.00019.57
8.3.250.0070.00218.90
8.3.240.0070.00216.54
8.3.230.0110.01016.54
8.3.220.0100.00817.21
8.3.210.0130.00716.62
8.3.200.0130.00716.47
8.3.190.0070.00817.11
8.3.180.0110.00716.57
8.3.170.0070.01117.18
8.3.160.0120.00617.23
8.3.150.0070.01117.30
8.3.140.0050.00316.73
8.3.130.0090.00916.53
8.3.120.0220.00716.40
8.3.110.0140.01416.25
8.3.100.0320.00016.33
8.3.90.0320.01016.51
8.3.80.0240.00616.38
8.3.70.0300.00616.34
8.3.60.0280.00916.46
8.3.50.0200.00616.71
8.3.40.0180.00717.18
8.3.30.0190.00017.32
8.3.20.0160.00817.20
8.3.10.0140.00317.29
8.3.00.0070.00417.38
8.2.290.0090.00920.65
8.2.280.0140.00322.19
8.2.270.0110.00717.22
8.2.260.0110.00717.02
8.2.250.0110.00716.70
8.2.240.0170.00316.31
8.2.230.0160.00316.28
8.2.220.0140.00516.14
8.2.210.0150.00316.66
8.2.200.0150.00316.24
8.2.190.0140.00516.61
8.2.180.0210.00016.28
8.2.170.0160.00617.49
8.2.160.0230.00017.18
8.2.150.0150.00517.46
8.2.140.0110.01117.13
8.2.130.0210.00017.41
8.2.120.0150.00817.36
8.2.110.0170.00817.36
8.2.100.0130.00817.24
8.2.90.0160.00317.32
8.2.80.0110.00817.54
8.2.70.0150.00517.46
8.2.60.0120.00917.41
8.2.50.0140.00817.29
8.2.40.0080.01217.20
8.2.30.0180.00017.37
8.2.20.0160.00417.57
8.2.10.0120.00617.13
8.2.00.0160.00517.14
8.1.330.0100.00916.81
8.1.320.0110.00716.13
8.1.310.0130.01016.87
8.1.300.0170.00316.05
8.1.290.0180.00316.05
8.1.280.0150.00416.05
8.1.270.0160.00717.13
8.1.260.0170.00316.91
8.1.250.0170.00217.14
8.1.240.0180.00017.12
8.1.230.0190.00017.01
8.1.220.0140.00916.84
8.1.210.0190.00017.15
8.1.200.0140.00316.85
8.1.190.0170.00016.95
8.1.180.0190.00017.09
8.1.170.0120.00617.04
8.1.160.0150.00416.84
8.1.150.0210.00016.87
8.1.140.0170.00317.01
8.1.130.0170.00017.05
8.1.120.0140.00316.95
8.1.110.0140.00316.75
8.1.100.0120.00616.98
8.1.90.0120.00617.01
8.1.80.0110.00617.01
8.1.70.0110.00816.83
8.1.60.0170.00317.25
8.1.50.0170.00316.91
8.1.40.0190.00316.99
8.1.30.0160.00319.26
8.1.20.0160.00417.15
8.1.10.0170.00316.98
8.1.00.0170.00217.07

preferences:
28.44 ms | 403 KiB | 5 Q