3v4l.org

run code in 300+ PHP versions simultaneously
<?php class StaticNaming { public static function whyNot(): ? Aye {} public function whyNot(): ? Aye {} } class ACommandThatCanWerkStatically { public function __construct( public string $template ) {} public function execute(Dictionary $nameToReplacementMap): string {} public static function execute(string $template, Dictionary $nameToReplacementMap): string {} }

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.0310.00816.56
8.3.50.0130.00516.71
8.3.40.0240.00617.17
8.3.30.0200.01017.25
8.3.20.0260.00517.13
8.3.10.0220.01317.17
8.3.00.0270.00817.19
8.2.180.0190.00816.41
8.2.170.0320.00817.44
8.2.160.0370.00817.49
8.2.150.0360.00917.25
8.2.140.0310.00717.24
8.2.130.0330.00517.18
8.2.120.0300.00317.25
8.2.110.0270.00917.25
8.2.100.0360.00517.50
8.2.90.0360.00417.31
8.2.80.0350.00817.19
8.2.70.0310.00717.31
8.2.60.0250.01417.13
8.2.50.0290.00717.47
8.2.40.0250.00717.25
8.2.30.0310.00317.00
8.2.20.0190.00817.13
8.2.10.0290.00417.25
8.2.00.0230.00817.12
8.1.280.0270.00616.32
8.1.270.0270.00916.99
8.1.260.0300.00816.99
8.1.250.0280.00517.11
8.1.240.0230.00717.12
8.1.230.0240.00916.93
8.1.220.0240.01117.00
8.1.210.0260.00716.81
8.1.200.0210.01017.06
8.1.190.0240.00516.98
8.1.180.0220.00816.73
8.1.170.0170.01416.86
8.1.160.0210.01316.87
8.1.150.0280.00616.94
8.1.140.0250.00517.03
8.1.130.0200.01016.81
8.1.120.0270.00217.06
8.1.110.0260.00416.98
8.1.100.0190.01017.06
8.1.90.0220.00717.00
8.1.80.0240.00516.99
8.1.70.0270.00416.94
8.1.60.0240.00817.06
8.1.50.0250.00917.93
8.1.40.0280.00417.00
8.1.30.0330.00517.25
8.1.20.0240.01318.06
8.1.10.0310.00716.93
8.1.00.0310.00316.81

preferences:
140.75 ms | 993 KiB | 7 Q