Re: [PHP-DEV] Proposal for a RFC

This is only part of a thread. view whole thread
May 7, 2019 12:28 (Steven Wade)
> We can add a separate function to provide this functionality. We should do that anyway because it's both clearer and because (array) already requires some special handling for ArrayObject that could be avoided.
Are you talking about adding a separate function to replace my proposed __toArray() and casting functionality? Or did you mean adding a separate function to add functionality and insight into objects that packages like VarDumper have been using casting to access? -- Steven Wade