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:
@@ -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); \
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user