Re: [PHP-DEV] Re: Alias for `int|float`

2022-09-30 Thread Hamza Ahmad
After reading through all of the suggestions above, I have come to this conclusion that all suggestion can be incorporated in the following ways: Types can exist in name spaces, Either in the global namespace or in the user defined name spaces. If one wants to import a type from a name space, it

Re: [PHP-DEV] Re: Alias for `int|float`

2022-09-30 Thread Olle Härstedt
2022-09-30 17:16 GMT+02:00, Larry Garfield : > On Fri, Sep 30, 2022, at 4:04 AM, Olle Härstedt wrote: >> 2022-09-29 5:08 GMT+02:00, Hamza Ahmad : >>> Hi Olle, >>> >>> I appreciate your idea of introducing a similar concept of typedef. >>> What if you write an RFC explaining that concept. I can

Re: [PHP-DEV] Re: Alias for `int|float`

2022-09-30 Thread Larry Garfield
On Fri, Sep 30, 2022, at 4:04 AM, Olle Härstedt wrote: > 2022-09-29 5:08 GMT+02:00, Hamza Ahmad : >> Hi Olle, >> >> I appreciate your idea of introducing a similar concept of typedef. >> What if you write an RFC explaining that concept. I can join you >> however in co-authoring this request. >> >>

Re: [PHP-DEV] Re: Alias for `int|float`

2022-09-30 Thread Olle Härstedt
2022-09-30 12:15 GMT+02:00, Lynn : > On Fri, Sep 30, 2022 at 11:04 AM Olle Härstedt > wrote: > >> 2022-09-29 5:08 GMT+02:00, Hamza Ahmad : >> > Hi Olle, >> > >> > I appreciate your idea of introducing a similar concept of typedef. >> > What if you write an RFC explaining that concept. I can join

Re: [PHP-DEV] RFC: StreamWrapper Support for glob()

2022-09-30 Thread Jakub Zelenka
Hi, On Sun, Sep 18, 2022 at 11:02 PM Timmy Almroth wrote: > Hi @Dan, hi @Sara. Thanks for giving us your feedback on this. > > > I think that although the RFC discussion can go ahead without a patch, > > it would be better to have a patch before it went to vote, as there > > seem to be quite a

Re: [PHP-DEV] Re: Alias for `int|float`

2022-09-30 Thread Lynn
On Fri, Sep 30, 2022 at 11:04 AM Olle Härstedt wrote: > 2022-09-29 5:08 GMT+02:00, Hamza Ahmad : > > Hi Olle, > > > > I appreciate your idea of introducing a similar concept of typedef. > > What if you write an RFC explaining that concept. I can join you > > however in co-authoring this request.

Re: [PHP-DEV] Re: Alias for `int|float`

2022-09-30 Thread Olle Härstedt
2022-09-29 5:08 GMT+02:00, Hamza Ahmad : > Hi Olle, > > I appreciate your idea of introducing a similar concept of typedef. > What if you write an RFC explaining that concept. I can join you > however in co-authoring this request. > > Seriously, I have had issues with writing such type again and

Re: [PHP-DEV] Re: Alias for `int|float`

2022-09-30 Thread Hamza Ahmad
Sadly, I am disappointed with the way this suggestion has been looked down on. On 9/29/22, Olle Härstedt wrote: > 2022-09-29 12:33 GMT+02:00, Ryan Jentzsch : >> `number` type But frankly this seems a bit silly and reminds me too much >> of >> JavaScript. > > That's just an example. You can also