10 ms·
Why not something like? function myfunc($kwargs) { extract($kwargs); } And then just call it with an array. Sure, it's ugly, but that's the pr
by antihero 14y ago
Why not something like?
function myfunc($kwargs) {
extract($kwargs);
}
And then just call it with an array. Sure, it's ugly, but that's the price of using PHP.