I have a function
function foo($a, $b) {
$b = ‘somethingNew’
#do some stuff
return $b
}
if i run
foo ‘thing1’ ‘thing2’ all things work fine
if i run
$ret = $foo ‘thing1’ ‘thing2’
the function doesn’t work the same and the stuff inside doesn’t work
what am i missing