1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 10:43:30 +02:00

Revert "Port all internally used classes to use default_object_handlers"

This reverts commit 94ee4f9834.

The commit was a bit too late to be included in PHP 8.2 RC1. Given it's a massive ABI break, we decide to postpone the change to PHP 8.3.
This commit is contained in:
Bob Weinand
2022-09-14 11:12:19 +02:00
parent d228651a71
commit a01dd9feda
57 changed files with 115 additions and 108 deletions
+2 -1
View File
@@ -200,6 +200,8 @@ static zend_object *IntlIterator_object_create(zend_class_entry *ce)
intern->iterator = NULL;
intern->zo.handlers = &IntlIterator_handlers;
return &intern->zo;
}
@@ -285,7 +287,6 @@ U_CFUNC void intl_register_common_symbols(int module_number)
/* Create and register 'IntlIterator' class. */
IntlIterator_ce_ptr = register_class_IntlIterator(zend_ce_iterator);
IntlIterator_ce_ptr->create_object = IntlIterator_object_create;
IntlIterator_ce_ptr->default_object_handlers = &IntlIterator_handlers;
IntlIterator_ce_ptr->get_iterator = IntlIterator_get_iterator;
memcpy(&IntlIterator_handlers, &std_object_handlers,