Re: [RFC] Mixed type
| From: | Markus Fischer | Date: | Mon, 20 Apr 2020 15:58:26 +0000 |
| Subject: | Re: [RFC] Mixed type | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-109724@lists.php.net to get a copy of this message | ||
Hi,
just picking on one of the examples:
On 20.04.20 17:45, Benjamin Eberlei wrote:
- json_encode, serialize, and more generally serialization and encoding functions, as return value as well for the inverse operationsBut how would this work for serializing resources, which is part of mixed? Seems to me exactly this case would benefit from a, albeit long though more accurate, actual union type. Hope that makes sense, - Markus