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
Property hooks + asymmetric visibility don't work together #15644
Fatal error: Uncaught Error: Cannot modify private(set) property PhoneClass::$phone from global scope in /php-test/index.php:9 Stack trace: #0 {main} thrown in /php-test/index.php on line 15
Set is not private
When I try it without property hooks, it works fine. Code below works fine and throw error.
Activity
iluuu1994 commentedon Aug 29, 2024
Can't believe I missed the test for this... Thanks for reporting.
iluuu1994 commentedon Aug 29, 2024
Fix is here: #15645
Fix asymmetric visibility with set hook