History log of /PHP-8.2/Zend/tests/traits/bugs/gh13177.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# c2c1710e 17-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-13177: PHP 8.3.2: final private constructor not allowed when used in trait

zend_compile has an exception to this rule for constructors using
`zend_is_constructor`, which compares

Fix GH-13177: PHP 8.3.2: final private constructor not allowed when used in trait

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.

Closes GH-13179.

show more ...