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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user