Now THAT's an annoying bug.

This commit is contained in:
Zeev Suraski 1999-06-10 23:03:35 +00:00
parent 83de88e90c
commit c1f75b6fda

View File

@ -326,7 +326,7 @@ ZEND_API void convert_to_string(zval *op)
case IS_STRING:
break;
case IS_BOOL:
op->value.str.val = (op->value.lval?estrndup("1",1):estrndup("0",0));
op->value.str.val = (op->value.lval?estrndup("1",1):estrndup("0",1));
op->value.str.len = 1;
break;
case IS_LONG: