3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __construct(...$args) { var_dump($args); } } $foo = new Foo(a: 'a', b: 'b');

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.130.0080.01217.56
8.4.120.0130.00820.56
8.4.110.0090.00722.70
8.4.100.0050.00517.86
8.4.90.0100.01020.29
8.4.80.0030.00618.71
8.4.70.0130.00717.89
8.4.60.0120.00818.71
8.4.50.0140.00718.93
8.4.40.0040.00420.43
8.4.30.0040.00420.42
8.4.20.0060.00317.82
8.4.10.0080.01219.21
8.3.260.0120.00516.41
8.3.250.0100.00719.04
8.3.240.0110.00816.57
8.3.230.0090.00716.64
8.3.220.0060.00218.88
8.3.210.0140.00616.31
8.3.200.0050.00416.54
8.3.190.0120.00716.99
8.3.180.0090.01016.69
8.3.170.0110.00720.71
8.3.160.0140.00317.24
8.3.150.0070.01117.17
8.3.140.0110.00416.73
8.3.130.0050.00516.62
8.3.120.0030.00618.78
8.3.110.0040.00416.64
8.3.100.0080.00024.06
8.3.90.0040.01126.77
8.3.80.0030.00619.36
8.3.70.0060.01216.58
8.3.60.0090.00618.24
8.3.50.0170.00524.34
8.3.40.0070.00722.03
8.3.30.0040.01118.71
8.3.20.0050.00224.18
8.3.10.0000.00724.66
8.3.00.0050.00326.16
8.2.290.0150.00420.44
8.2.280.0120.00618.26
8.2.270.0150.00317.23
8.2.260.0110.00716.81
8.2.250.0040.00416.50
8.2.240.0100.01017.13
8.2.230.0080.00020.94
8.2.220.0080.00037.54
8.2.210.0060.00826.77
8.2.200.0070.00318.88
8.2.190.0040.01116.58
8.2.180.0060.01225.92
8.2.170.0170.00318.89
8.2.160.0070.00722.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0050.00226.35
8.2.110.0070.00420.35
8.2.100.0000.01018.98
8.1.330.0060.00222.02
8.1.320.0120.00716.25
8.1.310.0110.00716.59
8.1.300.0130.00718.37
8.1.290.0090.00330.84
8.1.280.0070.00725.92
8.1.270.0040.00423.99
8.1.260.0060.00328.09
8.1.250.0040.00428.09
8.1.240.0110.00020.20
8.1.230.0030.00618.89
7.4.120.0120.00916.35
7.4.110.0080.01016.17
7.4.100.0080.01516.17
7.4.90.0070.01316.15
7.4.80.0120.00616.30
7.4.70.0100.01016.41
7.4.60.0120.00616.46
7.4.50.0190.00316.41
7.4.40.0140.00416.03
7.4.30.0090.00916.34
7.4.20.0060.01216.15
7.4.10.0100.00716.37
7.4.00.0090.01216.46
7.3.240.0110.00816.07
7.3.230.0140.00816.35
7.3.220.0070.01316.18
7.3.210.0000.01916.26
7.3.200.0130.00916.32
7.3.190.0180.00016.13
7.3.180.0100.00716.14
7.3.170.0060.01216.13
7.3.160.0160.00316.27
7.3.150.0070.01016.16
7.3.140.0090.00916.18
7.3.130.0050.01416.43
7.3.120.0060.01416.36
7.3.110.0110.00916.40
7.3.100.0070.01116.11
7.3.90.0140.00516.36
7.3.80.0100.00616.11
7.3.70.0190.00016.12
7.3.60.0140.00716.14
7.3.50.0100.01016.09
7.3.40.0110.01416.18
7.3.30.0060.01216.30
7.3.20.0160.00716.37
7.3.10.0130.00516.15
7.3.00.0130.01016.24
7.2.340.0170.00716.22
7.2.330.0110.00716.26
7.2.320.0050.01516.41
7.2.310.0110.00716.39
7.2.300.0090.00916.46
7.2.290.0030.01316.32
7.2.280.0060.01116.47
7.2.270.0120.00616.54
7.2.260.0120.00916.22
7.2.250.0100.01016.54
7.2.240.0100.00716.34
7.2.230.0140.00316.29
7.2.220.0110.00616.34
7.2.210.0140.00416.13
7.2.200.0140.00416.45
7.2.190.0140.00416.38
7.2.180.0110.01116.36
7.2.170.0120.00616.41
7.2.160.0150.00316.32
7.2.150.0140.00716.42
7.2.140.0040.01516.32
7.2.130.0200.00316.33
7.2.120.0060.01816.43
7.2.110.0150.00916.38
7.2.100.0170.00716.24
7.2.90.0140.01116.40
7.2.80.0150.01016.39
7.2.70.0030.02016.26
7.2.60.0100.01216.27
7.2.50.0120.01316.28
7.2.40.0190.01116.42
7.2.30.0130.00916.35
7.2.20.0070.01416.54
7.2.10.0160.00816.46
7.2.00.0190.00716.35

preferences:
65.29 ms | 403 KiB | 5 Q