[php-src] PR #20975: Fix lazy proxy bailing __clone assertion
| From: | iluuu1994 | Date: | Mon, 19 Jan 2026 14:56:06 +0000 |
| Subject: | [php-src] PR #20975: Fix lazy proxy bailing __clone assertion | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34602@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20975
Author: iluuu1994
When __clone of the underlying object fails with a bailout, ZEND_ASSERT(res == SUCCESS) in
zend_lazy_object_del_info() will fail because the info has not been registered yet.
Only copy OBJ_EXTRA_FLAGS once the info has been successfully registered.
Fixes GH-20905