3v4l.org

run code in 500+ PHP versions simultaneously
<?php function foo($arr) { $arr['x'] = 5; print_r(func_get_args()); } foo([]);

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.5.70.0100.00616.79
8.5.60.0090.00816.91
8.5.50.0100.00718.48
8.5.30.0100.00819.33
8.5.20.0100.01020.37
8.5.10.0140.00520.32
8.5.00.0130.01119.85
8.4.220.0070.00219.55
8.4.210.0130.00819.59
8.4.180.0110.01019.73
8.4.170.0130.00921.88
8.4.160.0120.01022.02
8.4.150.0070.00516.83
8.4.140.0190.00617.56
8.4.130.0100.00819.02
8.4.120.0140.00617.64
8.4.110.0070.00617.70
8.4.100.0110.01017.83
8.4.90.0120.00820.43
8.4.80.0130.00418.66
8.4.70.0030.00518.59
8.4.60.0090.01320.64
8.4.50.0100.00920.39
8.4.40.0150.00320.48
8.4.30.0160.00319.00
8.4.20.0060.01320.48
8.4.10.0040.00422.38
8.3.300.0040.00518.32
8.3.290.0110.01020.82
8.3.280.0160.00620.22
8.3.270.0100.00916.56
8.3.260.0100.00916.54
8.3.250.0080.01116.78
8.3.240.0080.01016.42
8.3.230.0060.00216.59
8.3.220.0050.00218.95
8.3.210.0050.00316.53
8.3.200.0130.00716.52
8.3.190.0050.00417.38
8.3.180.0070.00218.96
8.3.170.0090.00917.20
8.3.160.0040.00418.36
8.3.150.0060.00316.41
8.3.140.0110.00720.51
8.3.130.0000.00918.41
8.3.120.0080.00020.92
8.3.110.0080.00020.94
8.3.100.0030.00616.60
8.3.90.0150.00416.73
8.3.80.0030.00918.30
8.3.70.0070.00716.25
8.3.60.0150.00018.43
8.3.50.0180.00416.79
8.3.40.0090.00620.09
8.3.30.0120.00918.71
8.3.20.0000.00724.18
8.3.10.0040.00424.66
8.3.00.0000.00826.16
8.2.300.0110.00922.29
8.2.290.0050.00516.69
8.2.280.0130.00618.30
8.2.270.0150.00316.63
8.2.260.0100.00717.11
8.2.250.0100.00016.44
8.2.240.0000.00918.17
8.2.230.0060.00322.58
8.2.220.0060.00324.06
8.2.210.0180.00026.77
8.2.200.0080.00018.15
8.2.190.0070.01416.58
8.2.180.0070.00716.48
8.2.170.0160.00018.84
8.2.160.0210.00022.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00821.04
8.2.110.0060.00322.26
8.2.100.0040.00818.98
8.1.340.0090.01119.42
8.1.330.0130.00315.95
8.1.320.0100.00915.92
8.1.310.0180.00018.54
8.1.300.0060.00316.31
8.1.290.0060.00318.88
8.1.280.0070.00725.92
8.1.270.0080.00024.66
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0070.00318.41
8.1.230.0100.00718.73

preferences:
51.64 ms | 866 KiB | 5 Q