3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Muffins { public function cacheGet(...$arguments) { var_export($arguments); } } class Fooey extends Muffins { public function cacheGet($id) { parent::cacheGet($id); } } $fooey = new Fooey(); $fooey->cacheGet('I burned');

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.0.80.0070.00716.86
8.0.70.0130.00716.85
8.0.60.0060.00816.73
8.0.50.0040.01116.73
8.0.30.0040.01116.86
8.0.20.0050.00916.88
8.0.10.0120.00316.89
8.0.00.0060.01216.81
7.4.210.0100.00316.51
7.4.200.0100.00316.59
7.4.190.0060.00616.66
7.4.180.0060.00616.49
7.4.160.0080.00516.46
7.4.150.0030.01016.55
7.4.140.0030.01016.38
7.4.130.0000.01416.32
7.4.120.0130.00616.42
7.4.110.0100.00316.43
7.4.100.0060.01216.63
7.4.90.0060.01216.36
7.4.80.0100.00316.31
7.4.70.0100.00316.34
7.4.60.0030.01016.45
7.4.50.0100.00316.20
7.4.40.0070.00716.32
7.4.30.0060.00616.34
7.4.20.0030.01016.46
7.4.10.0030.00916.32
7.4.00.0000.01416.39
7.3.290.0040.00816.22
7.3.280.0070.00716.27
7.3.270.0090.00616.30
7.3.260.0030.01016.33
7.3.250.0100.00316.33
7.3.240.0110.00416.27
7.3.230.0070.00716.24
7.3.220.0100.00316.20
7.3.210.0000.01316.23
7.3.200.0030.01016.13
7.3.190.0000.01216.19
7.3.180.0040.00816.22
7.3.170.0100.00316.14
7.3.160.0080.00516.23
7.3.150.0070.00716.16
7.3.140.0130.00016.13
7.3.130.0000.01516.21
7.3.120.0030.00916.25
7.3.110.0100.00316.18
7.3.100.0090.00616.16
7.3.90.0070.01116.48
7.3.80.0070.00716.17
7.3.70.0000.01816.13
7.3.60.0070.01116.24
7.3.50.0030.01016.25
7.3.40.0070.01116.32
7.3.30.0040.01416.22
7.3.20.0000.01318.09
7.3.10.0070.00718.09
7.3.00.0040.01118.00

preferences:
156.85 ms | 1331 KiB | 7 Q