You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…n 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.
* PHP-8.3:
FixGH-13177: PHP 8.3.2: final private constructor not allowed when used in trait
FixGH-12107: When running a stored procedure (that returns a result set) twice, PHP crashes
mpyw
added a commit
to mpyw/sharable-value-objects
that referenced
this issue
Jan 22, 2024
Description
The following code:
Resulted in this output:
But I expected this output instead:
Constructors CAN be private AND final, as opposed to normal methods.
This is a wrong side effect of this fix: #12857
Please make sure that the version with trait usage is also allowed:
PHP Version
PHP 8.3.2
Operating System
N/A
The text was updated successfully, but these errors were encountered: