3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class Abstract1 { public function test1 (array $arr1 = [], array &$arr2 = []) {}; } abstract class Abstract2 extends Abstract1 { public function test1 (array $arr1 = []) {}; }

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)
7.1.70.0090.00416.81
7.1.60.0220.01234.72
7.1.50.0310.00634.73
7.1.40.0230.00634.18
7.1.30.0200.01034.38
7.1.20.0190.01034.52
7.1.10.0070.00716.28
7.1.00.0070.00716.34
7.0.200.0060.01016.48
7.0.190.0030.01516.52
7.0.180.0000.01415.96
7.0.170.0000.01416.07
7.0.160.0030.00916.12
7.0.150.0000.01315.98
7.0.140.0030.01116.18
7.0.130.0090.00916.28
7.0.120.0090.00916.21
7.0.110.0040.01216.02
7.0.100.0040.01216.15
7.0.90.0070.00716.08
7.0.80.0030.00916.06
7.0.70.0100.00715.87
7.0.60.0120.00015.81
7.0.50.0030.01016.23
7.0.40.0060.00616.28
7.0.30.0040.01216.38
7.0.20.0000.01316.14
7.0.10.0090.00316.20
7.0.00.0090.00316.39

preferences:
138.63 ms | 1394 KiB | 7 Q