Skip to content

Commit 45ece5b

Browse files
committed
Add UPGRADING.INTERNALS notes for zend_object* changes
Closes GH-5953.
1 parent 8b77c58 commit 45ece5b

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

UPGRADING.INTERNALS

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ PHP 8.0 INTERNALS UPGRADE NOTES
3434
1. Internal API changes
3535
========================
3636

37-
a. Object Handlers API and some related functions, e.g. zend_call_method() and
38-
zend_objects_clone_obj() were changed to receive zend_object* instead of
39-
zval* and zend_string* instead of zval* for property names.
37+
a. The Object Handlers API was changed to receive zend_object* instead of
38+
zval* and zend_string* instead of zval* for property names. See also
39+
section t for other similar changes.
4040

4141
b. ZEND_OVERLOADED_FUNCTION and corresponding call_method() object handler
4242
were removed. ZEND_INTERNAL_FUNCTION with ZEND_ACC_CALL_VIA_HANDLER and
@@ -173,9 +173,15 @@ PHP 8.0 INTERNALS UPGRADE NOTES
173173
4. Argument int to size_t in Zend Engine 4.0:
174174
- zend_set_hash_symbol()
175175
5. Argument zval* to zend_object* in Zend Engine 4.0:
176+
- zend_read_property()
177+
- zend_update_property()
178+
- zend_unset_property()
179+
- zend_call_method()
180+
- zend_objects_clone_obj()
176181
- zend_get_closure_method_def()
177182
- zend_throw_exception_hook()
178183
- zend_throw_exception_internal()
184+
- zend_get_exception_base()
179185
6. Argument zval* to zend_long in Zend Engine 4.0:
180186
- _php_math_longtobase()
181187

0 commit comments

Comments
 (0)