[php-src] PR #13179: Fix GH-13177: PHP 8.3.2: final private constructor not allowed when used in trait
| From: | nielsdos | Date: | Wed, 17 Jan 2024 16:29:20 +0000 |
| Subject: | [php-src] PR #13179: Fix GH-13177: PHP 8.3.2: final private constructor not allowed when used in trait | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24810@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13179
Author: nielsdos
zend_compile has an exception to this rule for constructors using
zend_is_constructor,
which compares the function name to __construct. Sadly,
zend_is_constructor is not a public API, but we can just do the string compare
ourselves.