diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-04-03 15:26:23 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-04-03 15:26:23 +0400 |
commit | 76cc99fe60d1e446a0250b4d778f02bcdbd7fc09 (patch) | |
tree | 51b80d5b6c401bebee6c01d28423018a10edb232 /Zend/zend_string.c | |
parent | d8099d0468426dbee59f540048376653535270ce (diff) | |
download | php-git-76cc99fe60d1e446a0250b4d778f02bcdbd7fc09.tar.gz |
Refactored ZVAL flags usage to simplify various checks (e.g. Z_REFCOUNTED(), candidate for GC, etc)
Diffstat (limited to 'Zend/zend_string.c')
-rw-r--r-- | Zend/zend_string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_string.c b/Zend/zend_string.c index c6a1f0183f..ee4fe02a82 100644 --- a/Zend/zend_string.c +++ b/Zend/zend_string.c @@ -152,7 +152,7 @@ static zend_string *zend_new_interned_string_int(zend_string *str TSRMLS_DC) p->h = h; p->key = str; Z_STR(p->val) = str; - Z_TYPE(p->val) = IS_STRING; + Z_TYPE_INFO(p->val) = IS_INTERNED_STRING_EX; nIndex = h & CG(interned_strings).nTableMask; Z_NEXT(p->val) = CG(interned_strings).arHash[nIndex]; CG(interned_strings).arHash[nIndex] = idx; |