3 ms·
There's a counterpart unpacking syntax which will likely also get merged in, meaning you can have: function query($query, ...$params) {} and $params = [3
by TazeTSchnitzel 13y ago
There's a counterpart unpacking syntax which will likely also get merged in, meaning you can have:
function query($query, ...$params) {}
and
$params = [3];
query('SELECT * FROM table WHERE a = ?;', ...$params);