Hey Tyson,

On Sat, 25 Sep 2021, 17:45 tyson andre, <tysonandre...@hotmail.com> wrote:

> What are your thoughts on allowing the `(object)` cast in initializer
> types where `new` was already allowed, but only when followed by an array
> literal node. (e.g. continue to forbid `(object)SOME_CONSTANT`) (see
> https://wiki.php.net/rfc/new_in_initializers)
>

Right now, there's even an interest in getting rid (or deprecating) dynamic
properties on objects: why push the complete opposite ways?

What is the actual value of using an stdClass instance instead of an
`array<string, mixed>` (already supported)?

>

Reply via email to