Re: Proposal for a RFC
| From: | Steven Wade | Date: | Tue, 07 May 2019 12:28:14 +0000 |
| Subject: | Re: Proposal for a RFC | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-105617@lists.php.net to get a copy of this message | ||
> 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