3v4l.org

run code in 500+ PHP versions simultaneously
<?php class foo { public function barbar(\class $a) {} // alright, not hing to see public function bar (\self $a) {} //Fatal error: '\self' is an invalid class name } ?>

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.40.0410.00717.36
8.4.30.0420.00917.34
8.4.20.0400.01117.34
8.4.10.0370.01117.28
8.3.170.0340.01116.41
8.3.160.0390.00916.37
8.3.150.0410.01016.25
8.3.140.0390.01018.01
8.3.130.0330.00716.55
8.3.120.0340.00916.44
8.3.110.0300.01016.24
8.3.100.0380.00616.43
8.3.90.0400.00716.34
8.3.80.0360.00916.47
8.3.70.0320.00916.14
8.3.60.0360.01016.41
8.3.50.0390.00616.47
8.3.40.0340.01017.32
8.3.30.0340.00717.27
8.3.20.0300.00817.35
8.3.10.0270.00917.43
8.3.00.0140.01119.25
8.2.270.0300.00816.68
8.2.260.0280.01016.30
8.2.250.0290.00916.31
8.2.240.0300.01016.18
8.2.230.0340.00616.22
8.2.220.0320.00716.64
8.2.210.0240.01516.50
8.2.200.0290.01116.19
8.2.190.0340.00516.32
8.2.180.0330.01016.49
8.2.170.0410.00717.39
8.2.160.0320.00917.50
8.2.150.0340.00817.43
8.2.140.0310.01017.34
8.2.130.0330.00917.13
8.2.120.0290.01217.54
8.2.110.0280.00917.52
8.2.100.0340.00617.32
8.2.90.0350.00617.46
8.2.80.0330.01217.24
8.2.70.0290.00617.39
8.2.60.0150.00517.09
8.2.50.0250.00117.44
8.2.40.0300.00717.44
8.2.30.0300.00717.47
8.2.20.0330.01017.10
8.2.10.0350.00717.22
8.2.00.0260.01117.04

preferences:
31.25 ms | 692 KiB | 4 Q