3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function xx(int $a, float $b) { print_r(func_get_args()); } } class B extends A { public function xx(int $rename, float $b) { parent::xx(...func_get_args()); } } $a = new A(); $a->xx(1, 2); $a->xx(a: 1, b: 2); $b = new B(); $b->xx(1, 2); $b->xx(a: 1, b: 2);

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.0180.00416.63
8.3.50.0070.01416.30
8.3.40.0100.01021.67
8.3.30.0090.00618.84
8.3.20.0040.00424.18
8.3.10.0070.00024.66
8.3.00.0030.00626.16
8.2.180.0160.00325.92
8.2.170.0130.00719.03
8.2.160.0100.00722.96
8.2.150.0050.00325.66
8.2.140.0060.00324.66
8.2.130.0070.00026.16
8.2.120.0120.00319.36
8.2.110.0040.00720.53
8.2.100.0090.00019.00
8.1.280.0070.01025.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0090.00018.63
8.1.230.0060.00318.58
7.4.110.0090.01516.22
7.4.100.0100.00716.07
7.4.90.0130.00316.23
7.4.80.0060.01816.23
7.4.70.0120.00916.56
7.4.60.0030.01316.27
7.4.50.0070.01016.34
7.4.40.0090.00916.32
7.4.30.0090.00916.54
7.4.20.0070.01416.19
7.4.10.0090.00616.32
7.4.00.0100.01016.46
7.3.230.0130.00316.13
7.3.220.0060.01016.38
7.3.210.0090.01116.10
7.3.200.0090.00916.27
7.3.190.0130.01016.08
7.3.180.0150.00316.07
7.3.170.0130.00316.26
7.3.160.0030.01416.30
7.3.150.0070.01016.28
7.3.140.0120.00416.16
7.3.130.0090.00916.18
7.3.120.0060.01016.35
7.3.110.0110.00516.11
7.3.100.0080.01116.24
7.3.90.0130.00316.16
7.3.80.0110.00516.31
7.3.70.0060.01216.11
7.3.60.0120.01216.11
7.3.50.0100.01016.28
7.3.40.0140.00316.24
7.3.30.0150.00816.04
7.3.20.0120.00416.23
7.3.10.0110.00716.19
7.3.00.0040.01216.18
7.2.340.0090.00916.60
7.2.330.0130.00616.05
7.2.320.0140.00416.43
7.2.310.0070.01016.30
7.2.300.0070.01116.37
7.2.290.0060.01216.15
7.2.280.0140.00516.07
7.2.270.0070.01016.15
7.2.260.0120.00616.24
7.2.250.0210.00616.49
7.2.240.0030.01616.39
7.2.230.0070.01016.29
7.2.220.0130.00316.29
7.2.210.0170.00016.45
7.2.200.0060.01216.29
7.2.190.0110.00816.38
7.2.180.0080.01116.17
7.2.170.0120.00616.10
7.2.160.0130.00716.48
7.2.150.0070.01016.35
7.2.140.0120.00616.31
7.2.130.0030.01416.42
7.2.120.0090.00916.36
7.2.110.0060.01316.32
7.2.100.0070.01116.43
7.2.90.0170.00316.24
7.2.80.0160.00516.31
7.2.70.0090.00916.46
7.2.60.0080.01116.27
7.2.50.0120.01216.40
7.2.40.0140.00416.13
7.2.30.0120.00616.35
7.2.20.0190.00616.36
7.2.10.0190.00016.42
7.2.00.0090.00916.41

preferences:
42.36 ms | 401 KiB | 5 Q