diff options
author | Dmitry Stogov <dmitry@zend.com> | 2018-01-19 17:47:26 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2018-01-19 17:47:26 +0300 |
commit | 742d5a01ed5bd39a18929c04a5f5c5596a4b005b (patch) | |
tree | c55c4fa3011823683ba58698d6bff121cdc5c864 /UPGRADING.INTERNALS | |
parent | 465a8cfbadf267c65725e4c8a31c67b98f2f3697 (diff) | |
download | php-git-742d5a01ed5bd39a18929c04a5f5c5596a4b005b.tar.gz |
Get rid of IS_TYPE_COPYABLE.
Diffstat (limited to 'UPGRADING.INTERNALS')
-rw-r--r-- | UPGRADING.INTERNALS | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index 19eeacc57e..69e073a4d3 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -103,10 +103,12 @@ PHP 7.3 INTERNALS UPGRADE NOTES m. zend_cpu_supports() determines if a feature is supported by current cpu. - n. IS_STRING zvals don't set IS_TYPE_COPYALE anymore. This prevents string + n. IS_TYPE_COPYABLE flag is removed. IS_STRING zvals didn't need to be duplication by zval_copy_ctor(), ZVAL_DUP() and SEPARATE_ZVAL*() macros. Interned strings didn't set IS_TYPE_COPYALE, so they aren't affected at - all. + all. Now instead of checking for IS_TYPE_COPYABLE, engine checks for + IS_ARRAY type (it may be IS_TYPE_REFCOUNTED or not). All the related + macros: Z_COPYABLE..., Z_IMMUTABLE... are kept for compatibility. ======================== 2. Build system changes |