PHP 8.4 Property Hooks throw `Indirect modification of Post::$tags is not allowed` on `$obj->arr[] = $x` when a `set` hook exists
Language: PHP · Versions: PHP 8.4.1 (Property Hooks) The problem PHP 8.4 introduced property hooks (get / set). I added a get hook on an array property (public array $tags) to…
2 posts ·