Is there a PHP equivalent to the python func(*[array]) feature to use the array as a series of arguments for the function? I can't seem to find one online.
Example usage in Python:
def f(a,b):
print(a, b)
f('abc', 'def')
f(*['abc', 'def'])
Outputs
abc def
abc def
Thanks in advance for any help.
EDIT: This is different to this because that question wants to use an array as a parameter, whereas I want to use an array as a series of parameters.