com php-src: Update UPGRADING: UPGRADING.INTERNALS
| From: | Xinchen Hui | Date: | Wed, 04 Feb 2015 06:25:06 +0000 |
| Subject: | com php-src: Update UPGRADING: UPGRADING.INTERNALS | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84620@lists.php.net to get a copy of this message | ||
Commit: 118ed493e1806d77e5e625f168653f2c349d3a10
Author: Xinchen Hui <laruence@php.net> Wed, 4 Feb 2015 14:25:06 +0800
Parents: 17286ab869160706b4942a08f1685a1d02bc45ac
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=118ed493e1806d77e5e625f168653f2c349d3a10
Log:
Update UPGRADING
Changed paths:
M UPGRADING.INTERNALS
Diff:
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS
index 41092e3..d8509e7 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.
========================