[PHP-DEV] Re: Alias stdClass to DynamicObject?

2021-09-06 Thread Rowan Tommins
On 06/09/2021 18:36, Björn Larsson wrote: In case of deprecation of stdClass I would like to point out that the benefit of replacing "new stdClass" with "new DynamicObject" in our existing code is absolutely zero. However, using DynamicObject in new code has a benefit since the intent is

[PHP-DEV] Re: Alias stdClass to DynamicObject?

2021-09-06 Thread Björn Larsson via internals
Den 2021-09-06 kl. 17:28, skrev Nikita Popov: Hi internals, In the thread for deprecation of dynamic properties, Rowan suggested that we alias "stdClass" to "DynamicObject" in https://externals.io/message/115800#115802. I wanted to split this discussion off into a separate thread, as this can