Re: [PHP-DEV] Proposal for a RFC

This is only part of a thread. view whole thread
  105617
May 7, 2019 12:28 stevenwadejr@gmail.com (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 stevenwadejr@gmail.com