function return object how add params to thet in php?? 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
}