summaryrefslogtreecommitdiff
path: root/UPGRADING.INTERNALS
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2015-02-04 14:25:06 +0800
committerXinchen Hui <laruence@php.net>2015-02-04 14:25:06 +0800
commit118ed493e1806d77e5e625f168653f2c349d3a10 (patch)
tree5e16dfe293399d58e0571822661219cb17104f1c /UPGRADING.INTERNALS
parent17286ab869160706b4942a08f1685a1d02bc45ac (diff)
downloadphp-git-118ed493e1806d77e5e625f168653f2c349d3a10.tar.gz
Update UPGRADING
Diffstat (limited to 'UPGRADING.INTERNALS')
-rw-r--r--UPGRADING.INTERNALS4
1 files changed, 3 insertions, 1 deletions
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS
index 41092e390c..d8509e7b22 100644
--- a/UPGRADING.INTERNALS
+++ b/UPGRADING.INTERNALS
@@ -181,7 +181,9 @@ PHP 7.0 INTERNALS UPGRADE NOTES
functions now use size_t for string length.
s. Removed ZEND_REGISTER/FETCH_RESOURCE, use zend_fetch_resource and
- and zend_register_resource instead.
+ and zend_register_resource instead, zend_fetch_resource accepts a zend_resource *
+ as first argument, if you still need to fetch a resource from zval, use
+ zend_fetch_resource_ex. More details can be found in Zend/zend_list.c.
========================