mirror of
https://github.com/php/php-src.git
synced 2024-11-26 11:23:47 +08:00
Now THAT's an annoying bug.
This commit is contained in:
parent
83de88e90c
commit
c1f75b6fda
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user