Re: Alias for `int|float`
| From: | Olle Härstedt | Date: | Tue, 27 Sep 2022 11:59:01 +0000 |
| Subject: | Re: Alias for `int|float` | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-118693@lists.php.net to get a copy of this message | ||
>Hello, internals!
>
>What do you think about creating shorthand
number for
>int|float?
This is also related to allow all types of type-hints in the use-statement, like
use int|float as numeric;
Anyone interested in creating an RFC for this?
Olle
PS. Original thread here: https://externals.io/message/112209#112209
(dunno how to respond to an old thread when I don't have the original
message)