Authors should go over their code and change it to use var_reset() instead of manually
setting it to string(""), in case they're interested in the false value.
/* and empty strings must be evaluated as FALSE */
ZEND_API inline void var_reset(zval *var)
{
+#if 0
var->type = IS_STRING;
var->value.str.val = empty_string;
var->value.str.len = 0;
+#else
+ var->type = IS_BOOL;
+ var->value.lval = 0;
+#endif
}
ZEND_API inline void var_uninit(zval *var)