I have used and tested the following:
$x = myFunction($som eValue)? "true":"fal se";
When myFunction() returns an empty array, it results in false, and when
it returns a non-empty array it results in true. This is what I want
and expect, but I can't find any documentation on it. Being naturally
cautious (spelled paranoid) I don't want to rely on this until I'm
certain. Can anyone point me to the documentation that supports what
I'm seeing?
$x = myFunction($som eValue)? "true":"fal se";
When myFunction() returns an empty array, it results in false, and when
it returns a non-empty array it results in true. This is what I want
and expect, but I can't find any documentation on it. Being naturally
cautious (spelled paranoid) I don't want to rely on this until I'm
certain. Can anyone point me to the documentation that supports what
I'm seeing?
Comment