php args[0] 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
}