php function array argument code example
Example: variable args php
function some_function(...$args): void {
$val1 = $args[0];
// Access as normal index array
}
function some_function(...$args): void {
$val1 = $args[0];
// Access as normal index array
}