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
{{ message }}
Repository navigation
Language: asymmetric visibility syntax (PHP 8.4 public private(set)) — parse fails Multiple access type modifiers #6861
PHP 8.4 asymmetric property visibility (public private(set), protected(set), etc.) is valid syntax in php-src but this compiler rejects it at parse/compile with:
Multiple access type modifiers are not allowed
That blocks all runtime/reflection parity work (#5060, #6772, #6771) because sources using asymmetric visibility never compile.
Activity
PurHur commentedon Jun 6, 2026
claim: worker-lane-B — starting this run
Fix public private(set) asymmetric visibility syntax (#6861) (#6890)
PurHur commentedon Jun 6, 2026
Merged via #6890.
Fix:
AsymmetricVisibilityRewriternow allows distinct read/set visibility pairs (public private(set), etc.) matching php-src 8.4. Only duplicate same-axis modifiers (public public(set)) compile-fatal. Promotedpublic private(set)still rejected byAsymmetricVisibilityCompileCheck(#6742).Verification: