[php-src] PR #13272: Fix create_object checks
| From: | iluuu1994 | Date: | Mon, 29 Jan 2024 16:47:51 +0000 |
| Subject: | [php-src] PR #13272: Fix create_object checks | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24922@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13272
Author: iluuu1994
Since PHP 8.3, object handlers may be changed by setting ce->default_object_handlers, rather than
in ce->create_object. Some checks need to be extended to check for the default handlers.
@dstogov This fixes all references to
create_object I could find. I'm afraid there
are more cases where even create_object wasn't checked previously, like the one I
mentioned [here](https://github.com/php/php-src/pull/13239#issuecomment-1908568826). It'll take
time to review all of these.