Into functions

$array = [1, 2];
function foo(int $a, int $b) {
    echo $a; # => 1
      echo $b; # => 2
}
foo(...$array);
Comments