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_ini_scanner.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_ini_scanner.c')
-rw-r--r-- | Zend/zend_ini_scanner.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_ini_scanner.c b/Zend/zend_ini_scanner.c index d956243963..311788fbbf 100644 --- a/Zend/zend_ini_scanner.c +++ b/Zend/zend_ini_scanner.c @@ -134,7 +134,7 @@ ZEND_API zend_ini_scanner_globals ini_scanner_globals; #define EAT_TRAILING_WHITESPACE() EAT_TRAILING_WHITESPACE_EX('X') #define zend_ini_copy_value(retval, str, len) \ - ZVAL_STR(retval, STR_INIT(str, len, 1)) + ZVAL_NEW_STR(retval, STR_INIT(str, len, 1)) #define RETURN_TOKEN(type, str, len) { \ |