summaryrefslogtreecommitdiff
path: root/Zend/zend_closures.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2014-09-19 15:41:01 +0400
committerDmitry Stogov <dmitry@zend.com>2014-09-19 15:41:01 +0400
commit3bc8a958c5ec647adbe409ee6411ae7ed6a3dc3b (patch)
treefb2c0e55eacad99b2dbd7e8fbe0137a861714ce7 /Zend/zend_closures.c
parent3ec7c2808420ad58145d6c6b5aeb1293e81ae12b (diff)
downloadphp-git-3bc8a958c5ec647adbe409ee6411ae7ed6a3dc3b.tar.gz
Fixed useless or duplicated IS_INTERNED() checks
Diffstat (limited to 'Zend/zend_closures.c')
-rw-r--r--Zend/zend_closures.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_closures.c b/Zend/zend_closures.c
index c8497a4f2d..cab31ce1c0 100644
--- a/Zend/zend_closures.c
+++ b/Zend/zend_closures.c
@@ -376,7 +376,7 @@ static HashTable *zend_closure_get_debug_info(zval *object, int *is_temp TSRMLS_
arg_info->pass_by_reference ? "&" : "",
i + 1);
}
- ZVAL_STR(&info, zend_strpprintf(0, "%s", i >= required ? "<optional>" : "<required>"));
+ ZVAL_NEW_STR(&info, zend_strpprintf(0, "%s", i >= required ? "<optional>" : "<required>"));
zend_hash_update(Z_ARRVAL(val), name, &info);
zend_string_release(name);
arg_info++;