[php-src] PR #20976: Zend: Add zend_class_use_traits() for internal classes
| From: | khaledalam | Date: | Mon, 19 Jan 2026 17:18:20 +0000 |
| Subject: | [php-src] PR #20976: Zend: Add zend_class_use_traits() for internal classes | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34603@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20976
Author: khaledalam
# Description
Extensions can register internal classes, but currently there is no supported ZendAPI to apply
Traits to those classes.
This PR introduces
zend_class_use_traits() to allow internal classes to use Traits.
Fix #20974