Re: [RFC] [DISCUSSION] Scalar Pseudo-type
| From: | Sebastian Bergmann | Date: | Tue, 02 Jan 2018 16:00:16 +0000 |
| Subject: | Re: [RFC] [DISCUSSION] Scalar Pseudo-type | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-101491@lists.php.net to get a copy of this message | ||
Am 02.01.2018 um 14:37 schrieb Chris Riley:
> How useful is "scalar" as a type hint? I'm not sure it provides any benefit
> over "mixed".
scalar has the benefit of exluding arrays, objects, and resources.