Make falseToObject test pass on PHP 5.2