Improved named arguments

But then again, I don't care about PHP functions, only Twig ones. And the error message for `array_slice` is just wrong. You don't need to give a `length` argument as there is a default value.