echo vsprintf('%s', 'word');
According to manual, second parameter for vsprintf()
function must be array.
But this works, its normal? this may cause some error sometime?
echo vsprintf('%s', 'word');
According to manual, second parameter for vsprintf()
function must be array.
But this works, its normal? this may cause some error sometime?
The $args
argument is automatically cast to an array:
$args = (array)$args; // = array('word');