Re: Alias stdClass to DynamicObject?

From: Date: Tue, 07 Sep 2021 01:05:23 +0000
Subject: Re: Alias stdClass to DynamicObject?
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-115979@lists.php.net to get a copy of this message
On Tue, 7 Sept 2021 at 01:12, Aran Reeks <cdtreeks@gmail.com> wrote: > ... Too much code depends on an expected type of stdClass > presently which would likely make future upgrades more difficult for no > functional gain, beyond some added clarify. What if we had the DynamicObject as a subclass of stdClass? It would reduce the impact. I don't know if aliasing works the same as with subclassing (regarding type checking).

« previous php.internals (#115979) next »