Agree with what has been said.

We probably should leave this "alias" discussion to a near future where
people would be able to create their own types like so:

```php
type Number = Foo|Bar;
```

- Nuno

On Mon, 9 Nov 2020 at 16:25, Sara Golemon <poll...@php.net> wrote:

> On Sun, Nov 8, 2020 at 11:09 AM Eugene Sidelnyk <zsidel...@gmail.com>
> wrote:
>
> > What do you think about creating shorthand `number` for `int|float`?
> >
>
> Others have pointed at a few reasons why not, but I'd like to add that if
> we allow type aliasing, then projects can choose to define this or not.
> I'd rather see the power (and tradeoffs) placed in the hands of script
> developers.
>
> -Sara
>

Reply via email to