[php-src] PR #21391: Remove dead code from zend_declare_typed_property()
| From: | iluuu1994 | Date: | Mon, 09 Mar 2026 13:02:48 +0000 |
| Subject: | [php-src] PR #21391: Remove dead code from zend_declare_typed_property() | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35142@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21391
Author: iluuu1994
Since GH-15878, trait properties are bound before linking the parent class. Since GH-21358, trait
properties don't redeclare locally declared properties. With these two changes, declared
properties are never redeclared, and as such we can remove this case from
zend_declare_typed_property().