This is technically a bug. The code should say [string is false $foo]
However, this worked with some versions of Aolserver, and not others, so it is a fairly common error. I would both file it as a bug. If you're able to fix it, then you can submit a patch, and it will be quickly applied.