diff options
Diffstat (limited to 'Zend/zend.c')
| -rw-r--r-- | Zend/zend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend.c b/Zend/zend.c index 5297d8ef9a..1e83925874 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -117,7 +117,7 @@ ZEND_API void zend_make_printable_zval(zval *expr, zval *expr_copy, int *use_cop return; } switch (expr->type) { - case IS_UNSET: + case IS_NULL: expr_copy->value.str.len = 0; expr_copy->value.str.val = empty_string; case IS_BOOL: @@ -339,7 +339,7 @@ int zend_startup(zend_utility_functions *utility_functions, char **extensions) /* This zval can be used to initialize allocate zval's to an uninit'ed value */ zval_used_for_init.is_ref = 0; zval_used_for_init.refcount = 1; - zval_used_for_init.type = IS_UNSET; + zval_used_for_init.type = IS_NULL; #ifdef ZTS global_constants_table = NULL; |
