1
0
mirror of https://github.com/php/php-src.git synced 2026-04-08 16:43:44 +02:00

- IS_NULL should be 0 when converted to a long although I don't think it

really should be documented.
This commit is contained in:
Andi Gutmans
2000-01-01 18:47:03 +00:00
parent 8edf2b88dc
commit 4a4fe0974f

View File

@@ -86,6 +86,7 @@ ZEND_API void convert_scalar_to_number(zval *op)
(holder).type = IS_LONG; \
(op) = &(holder); \
} else if ((op)->type==IS_UNSET) { \
(holder).value.lval = 0; \
(holder).type = IS_LONG; \
(op) = &(holder); \
}