Re: Re: [Concept] Magic Casting
| From: | Alex Bowers | Date: | Fri, 02 Dec 2016 16:58:07 +0000 |
| Subject: | Re: Re: [Concept] Magic Casting | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-97268@lists.php.net to get a copy of this message | ||
So I guess the new logic is, that the class being casted to, MUST have zero
or one required parameter.
It must not cast if already the same type.
It must not cast to its own type (infinite loop)