3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Bar { public function __construct(...$args) { var_dump(func_get_args()); } } $bar = new Bar(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.0110.01017.71
8.4.120.0090.00620.77
8.4.110.0090.00518.63
8.4.100.0140.00618.66
8.4.90.0120.00720.81
8.4.80.0110.00620.45
8.4.70.0060.01020.88
8.4.60.0100.00918.52
8.4.50.0110.00920.21
8.4.40.0050.00320.28
8.4.30.0040.00420.51
8.4.20.0160.00317.95
8.4.10.0100.01019.21
8.3.260.0130.00616.61
8.3.250.0150.00418.71
8.3.240.0110.00516.48
8.3.230.0050.00416.42
8.3.220.0110.00818.93
8.3.210.0080.00718.56
8.3.200.0060.00216.66
8.3.190.0110.00818.82
8.3.180.0090.00918.97
8.3.170.0140.00420.65
8.3.160.0070.01017.15
8.3.150.0170.00317.36
8.3.140.0080.00016.64
8.3.130.0030.00618.40
8.3.120.0080.00020.69
8.3.110.0100.00020.94
8.3.100.0090.00624.06
8.3.90.0030.00526.77
8.3.80.0030.00619.36
8.3.70.0080.00816.58
8.3.60.0070.00718.31
8.3.50.0280.00523.65
8.3.40.0090.00921.90
8.3.30.0070.00718.67
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.290.0120.01017.16
8.2.280.0100.00218.29
8.2.270.0040.00417.27
8.2.260.0070.01016.88
8.2.250.0080.00018.29
8.2.240.0080.00017.32
8.2.230.0060.00322.58
8.2.220.0040.00437.54
8.2.210.0090.00926.77
8.2.200.0030.00618.88
8.2.190.0100.01016.58
8.2.180.0070.01425.92
8.2.170.0090.00618.95
8.2.160.0090.00622.96
8.2.150.0070.00025.66
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0040.00426.35
8.2.110.0030.00720.53
8.2.100.0100.00019.18
8.1.330.0130.00616.25
8.1.320.0070.00816.20
8.1.310.0060.00318.79
8.1.300.0160.00320.20
8.1.290.0040.00830.84
8.1.280.0140.00025.92
8.1.270.0040.00423.99
8.1.260.0070.00728.09
8.1.250.0040.00428.09
8.1.240.0060.00320.23
8.1.230.0060.00318.92
7.4.120.0130.01116.26
7.4.110.0080.01416.37
7.4.100.0180.00716.43
7.4.90.0120.00616.57
7.4.80.0100.01416.56
7.4.70.0150.01516.22
7.4.60.0230.00416.37
7.4.50.0070.02416.56
7.4.40.0160.01016.49
7.4.30.0080.01316.32
7.4.20.0210.00616.37
7.4.10.0180.00416.54
7.4.00.0080.01216.62
7.3.240.0120.01216.11
7.3.230.0170.01016.21
7.3.220.0080.01416.19
7.3.210.0070.01616.13
7.3.200.0100.01516.36
7.3.190.0150.01016.28
7.3.180.0120.01616.20
7.3.170.0060.01216.09
7.3.160.0090.01016.34
7.3.150.0100.01316.32
7.3.140.0040.01516.13
7.3.130.0080.01216.14
7.3.120.0120.00616.20
7.3.110.0090.00916.12
7.3.100.0110.00916.31
7.3.90.0120.00616.37
7.3.80.0100.01016.12
7.3.70.0120.01116.27
7.3.60.0090.01916.21
7.3.50.0160.00816.17
7.3.40.0060.01716.27
7.3.30.0120.01116.29
7.3.20.0120.00616.20
7.3.10.0120.01216.25
7.3.00.0110.01416.29
7.2.340.0110.01316.54
7.2.330.0150.01216.20
7.2.320.0100.01316.49
7.2.310.0140.01116.32
7.2.300.0070.01116.34
7.2.290.0090.01216.35
7.2.280.0110.00716.24
7.2.270.0110.01416.50
7.2.260.0140.00716.08
7.2.250.0180.00916.45
7.2.240.0130.01116.30
7.2.230.0160.00816.39
7.2.220.0100.01316.55
7.2.210.0080.00516.38
7.2.200.0130.01516.27
7.2.190.0030.01816.23
7.2.180.0140.01116.13
7.2.170.0040.02116.34
7.2.160.0110.00716.52
7.2.150.0140.00616.21
7.2.140.0080.01216.32
7.2.130.0130.01316.46
7.2.120.0220.01616.50
7.2.110.0120.01216.48
7.2.100.0180.00716.24
7.2.90.0160.00616.44
7.2.80.0060.02216.13
7.2.70.0150.00616.26
7.2.60.0110.01416.31
7.2.50.0210.00616.26
7.2.40.0180.00816.36
7.2.30.0090.01716.17
7.2.20.0230.00416.20
7.2.10.0190.00316.36
7.2.00.0120.01216.38

preferences:
43.6 ms | 403 KiB | 5 Q