Skip to content

Commit 3efc331

Browse files
committed
Add notes about get_class_entry/get_class_name to UPGRADING
1 parent 7c5da46 commit 3efc331

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

UPGRADING.INTERNALS

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ $Id$
33
PHP 7.0 INTERNALS UPGRADE NOTES
44

55
1. Internal API changes
6-
a. Addition of do_operation and compare object handlers
7-
b. return_value_ptr now always available, RETVAL_ZVAL_FAST macros
8-
c. POST data handling
9-
d. Arginfo changes
106
e. New data types
117
f. zend_parse_parameters() specs
128
g. sprintf() formats
@@ -104,6 +100,16 @@ PHP 7.0 INTERNALS UPGRADE NOTES
104100
- SIZEOF_ZEND_LONG reworked SIZEOF_ZEND_LONG representing the size of zend_long datatype
105101
- ZEND_SIZE_MAX Max value of size_t
106102

103+
k. The get_class_entry object handler is no longer available. Instead
104+
zend_object.ce is always used.
105+
106+
l. The get_class_name object handler is now only used for displaying class
107+
names in debugging functions like var_dump(). It is no longer used in
108+
get_class(), get_parent_class() or similar.
109+
110+
The handler is now obligatory, no longer accepts a `parent` argument and
111+
must return a non-NULL zend_string*, which will be released by the caller.
112+
107113
========================
108114
2. Build system changes
109115
========================

0 commit comments

Comments
 (0)