summaryrefslogtreecommitdiff
path: root/ext/wddx/wddx.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2016-11-28 22:59:57 +0300
committerDmitry Stogov <dmitry@zend.com>2016-11-28 22:59:57 +0300
commit3e9bb03a62393d7bad1a0261b7a312c2ced8aac0 (patch)
tree9a35aa0f8ac2f155683ae8c87c985079c0f04806 /ext/wddx/wddx.c
parent42407692b65e6752c43d7d1fbf4decd7ce3822ce (diff)
downloadphp-git-3e9bb03a62393d7bad1a0261b7a312c2ced8aac0.tar.gz
Removed IS_TYPE_IMMUTABLE (it's the same as COPYABLE & !REFCOUED)
Diffstat (limited to 'ext/wddx/wddx.c')
-rw-r--r--ext/wddx/wddx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wddx/wddx.c b/ext/wddx/wddx.c
index f3d72ddadf..6b8e621ccf 100644
--- a/ext/wddx/wddx.c
+++ b/ext/wddx/wddx.c
@@ -693,7 +693,7 @@ static void php_wddx_add_var(wddx_packet *packet, zval *name_var)
return;
}
- if (Z_IMMUTABLE_P(name_var)) {
+ if (!Z_REFCOUNTED_P(name_var)) {
ZEND_HASH_FOREACH_VAL(target_hash, val) {
php_wddx_add_var(packet, val);
} ZEND_HASH_FOREACH_END();