com php-src: Add notes about get_class_entry/get_class_ name to UPGRADING: UPGRADING.INTERNALS
| From: | Nikita Popov | Date: | Fri, 10 Oct 2014 10:28:55 +0000 |
| Subject: | com php-src: Add notes about get_class_entry/get_class_ name to UPGRADING: UPGRADING.INTERNALS | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-82241@lists.php.net to get a copy of this message | ||
Commit: 3efc331701786d7ffd2587013d71a4dba0070759
Author: Nikita Popov <nikic@php.net> Fri, 10 Oct 2014 12:28:55 +0200
Parents: 7c5da4607c30637566e54d45bebc8918dc66f83b
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3efc331701786d7ffd2587013d71a4dba0070759
Log:
Add notes about get_class_entry/get_class_name to UPGRADING
Changed paths:
M UPGRADING.INTERNALS
Diff:
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS
index aa6ee9b..92cebc8 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
========================