Re: [PHP-DEV] [RFC][Under discussion] Create a global login system for php.net

2022-05-28 Thread Wang Lei
1.2 Type of global login system It would be great if Github could be used for the global login. I started to work on PHP several months ago. For a new developer, I felt the most frustrating thing was I could not login the different systems of PHP with one account. I understand that PHP is a long

Re: [PHP-DEV] NULL Coercion Consistency

2022-05-28 Thread Michael Babker
On Fri, May 27, 2022 at 9:36 PM Craig Francis wrote: > I know I keep going on about this very simply example, but it represents a > fairly typical style of programming PHP, and I just do not understand what > the problem with it is: > > ``` > $search = $request->input('q'); // Laravel, returns NU

[PHP-DEV] Re: NULL Coercion Consistency

2022-05-28 Thread Mark Randall
On 28/05/2022 03:36, Craig Francis wrote: In this case, two of my clients are considering the cost of modifying their code (by adding a load of `?? ''` everywhere), and they would rather avoid that (time consuming, and makes their code more complicated). Alternatively, they may wish to define

[PHP-DEV] Re: [RFC][Under discussion] Create a global login system for php.net

2022-05-28 Thread Mark Randall
On 28/05/2022 10:53, Aaron Junker wrote: When you have feedback to a specific point of the RFC, please use the corresponding number used in the RFC. To point 1, there was a time I was thinking about implementing a system ourselves (I was working on website prototypes at the time). That bein

[PHP-DEV] [RFC][Under discussion] Create a global login system for php.net

2022-05-28 Thread Aaron Junker
Hi all, I would like to start the discussion on my RFC for creating a global login system on php.net: https://wiki.php.net/rfc/global_login. When you have feedback to a specific point of the RFC, please use the corresponding number used in the RFC. Best regards Aaron Junker -- PHP Internals

[PHP-DEV] [RFC][Under discussion] Fetch properties in const expressions

2022-05-28 Thread Ilija Tovilo
Hi everyone I'd like to start a discussion on a simple RFC to allow fetching properties in constant expressions. https://wiki.php.net/rfc/fetch_property_in_const_expressions The RFC proposes adding support for fetching properties in constant expressions using the -> operator. I'm looking forward

Re: [PHP-DEV] [Discussion] Expand deprecation notice scope for partially supported callables

2022-05-28 Thread Juliette Reinders Folmer
On 26-5-2022 20:23, Dan Ackroyd wrote: Hey Julie, On Thu, 26 May 2022 at 12:45, Juliette Reinders Folmer wrote: I propose to open the vote on this RFC tomorrow. Before you open the vote, please could you split the voting into two, one for the is_callable, and one for the callable type check?

Re: [PHP-DEV] NULL Coercion Consistency

2022-05-28 Thread Craig Francis
On 28 May 2022, at 07:25, Aleksander Machniak wrote: > > On 28.05.2022 04:36, Craig Francis wrote: >> On 8 Apr 2022, at 18:34, Craig Francis wrote: >>> I've written a new draft RFC to address the NULL coercion problems: >>> https://wiki.php.net/rfc/null_coercion_consistency >> I give up. > > Do