summaryrefslogtreecommitdiff
path: root/UPGRADING.INTERNALS
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2014-10-10 12:28:55 +0200
committerNikita Popov <nikic@php.net>2014-10-10 12:28:55 +0200
commit3efc331701786d7ffd2587013d71a4dba0070759 (patch)
tree3c8d8946c64ac229b4ca5cbb0b25f3fce07aafa8 /UPGRADING.INTERNALS
parent7c5da4607c30637566e54d45bebc8918dc66f83b (diff)
downloadphp-git-3efc331701786d7ffd2587013d71a4dba0070759.tar.gz
Add notes about get_class_entry/get_class_name to UPGRADING
Diffstat (limited to 'UPGRADING.INTERNALS')
-rw-r--r--UPGRADING.INTERNALS14
1 files changed, 10 insertions, 4 deletions
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS
index aa6ee9b152..92cebc8db3 100644
--- a/UPGRADING.INTERNALS
+++ b/UPGRADING.INTERNALS
@@ -3,10 +3,6 @@ $Id$
PHP 7.0 INTERNALS UPGRADE NOTES
1. Internal API changes
- a. Addition of do_operation and compare object handlers
- b. return_value_ptr now always available, RETVAL_ZVAL_FAST macros
- c. POST data handling
- d. Arginfo changes
e. New data types
f. zend_parse_parameters() specs
g. sprintf() formats
@@ -104,6 +100,16 @@ PHP 7.0 INTERNALS UPGRADE NOTES
- SIZEOF_ZEND_LONG reworked SIZEOF_ZEND_LONG representing the size of zend_long datatype
- ZEND_SIZE_MAX Max value of size_t
+ k. The get_class_entry object handler is no longer available. Instead
+ zend_object.ce is always used.
+
+ l. The get_class_name object handler is now only used for displaying class
+ names in debugging functions like var_dump(). It is no longer used in
+ get_class(), get_parent_class() or similar.
+
+ The handler is now obligatory, no longer accepts a `parent` argument and
+ must return a non-NULL zend_string*, which will be released by the caller.
+
========================
2. Build system changes
========================