3v4l.org

run code in 500+ PHP versions simultaneously
<?php $nam = function (...$params){ print_r($params); } $update[] = '1st'; $update[] = '2nd'; $nam($update);
Output for 8.2.31 - 8.2.32, 8.3.0 - 8.3.32, 8.4.1 - 8.4.23, 8.5.0 - 8.5.8
Parse error: syntax error, unexpected variable "$update" in /in/n6dn0 on line 7
Process exited with code 255.

preferences:
51.57 ms | 769 KiB | 3 Q