3v4l.org

run code in 500+ PHP versions simultaneously
<?php function my_func(string $first, int $second) { var_dump(func_get_args()); } call_user_func_array('myfunc', ['first' => '1', 'second' => 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.5.100.0040.00416.88
8.5.90.0120.00216.80
8.5.80.0090.00116.80
8.5.70.0050.00316.95
8.5.60.0100.00616.79
8.5.50.0080.00516.54
8.5.40.0060.01116.77
8.5.30.0060.00516.36
8.5.20.0090.00416.48
8.5.10.0030.00416.70
8.5.00.0090.00616.66
8.4.250.0050.00519.50
8.4.240.0040.00819.73
8.4.230.0060.00319.65
8.4.220.0080.00919.72
8.4.210.0050.00519.62
8.4.200.0070.00619.45
8.4.190.0060.00619.80
8.4.180.0100.01219.82
8.4.170.0080.00419.82
8.4.160.0070.00319.87
8.4.150.0150.00619.85
8.4.140.0060.00417.63
8.4.130.0060.00217.63
8.4.120.0040.00517.95
8.4.110.0080.01017.90
8.4.100.0050.00717.85
8.4.90.0070.00217.85
8.4.80.0040.00417.89
8.4.70.0080.00317.78
8.4.60.0100.00617.82
8.4.50.0130.00617.89
8.4.40.0140.00617.80
8.4.30.0100.00617.62
8.4.20.0080.00817.77
8.4.10.0050.00417.90
8.3.330.0050.00418.36
8.3.320.0070.00718.43
8.3.310.0050.00418.51
8.3.300.0110.00818.52
8.3.290.0110.00818.36
8.3.280.0070.00218.40
8.3.270.0130.00516.79
8.3.260.0080.00716.69
8.3.250.0100.00716.79
8.3.240.0060.00616.69
8.3.230.0110.00716.80
8.3.220.0100.00816.68
8.3.210.0020.00816.69
8.3.200.0030.00416.81
8.3.190.0080.01016.65
8.3.180.0060.00316.66
8.3.170.0100.00816.74
8.3.160.0100.00916.74
8.3.150.0060.00516.75
8.3.140.0040.00416.77
8.3.130.0100.00716.74
8.3.120.0080.00416.75
8.3.110.0090.00916.67
8.3.100.0080.01016.67
8.3.90.0120.00616.65
8.3.80.0080.00316.68
8.3.70.0120.00517.00
8.3.60.0060.00316.66
8.3.50.0040.00416.78
8.3.40.0090.01018.10
8.3.30.0080.01017.98
8.3.20.0050.00518.04
8.3.10.0060.00317.98
8.3.00.0080.00518.05
8.2.330.0050.00418.11
8.2.320.0040.00718.11
8.2.310.0050.00418.19

preferences:
57.53 ms | 790 KiB | 4 Q