PHP supports the spread syntax for variadic functions. In JavaScript, you can use the spread syntax to do this: However, trying to do this in PHP: Results in this error: Parse error: syntax error, unexpected ‘…’ (T_ELLIPSIS), expecting ‘]’ Is using the spread syntax this way not allowed in PHP? If so, is there an equally-as-elegant way to achieve the