[PHP-DEV] Request for wiki karma

2022-05-05 Thread Juliette Reinders Folmer
L.S., As per the progression of the discussion about the deprecated partially supported callable, a new RFC is needed to expand the scope of the deprecations. See: https://externals.io/message/117342 I'd like to request karma to create this RFC. Username: jrf Kind Regards, Juliette

[PHP-DEV] Possible improvements to the Reflection functionality

2022-05-05 Thread Ollie Read
Hello all, I've been spending a lot of time in the world of PHP reflection lately, which has led me to create PRs for the documentation, a bug for closure attributes, and even a new method on ReflectionMethod. I've also compiled a list of suggestions for various additions and improvements to

Re: [PHP-DEV] NULL Coercion Consistency

2022-05-05 Thread Craig Francis
On 3 May 2022, at 14:55, Rowan Tommins wrote: > > On 03/05/2022 12:37, Craig Francis wrote: >> But what is that benefit? I'm sorry, but I really don't see it. > > > I started drafting a longer reply, but honestly I don't think we're getting > anywhere. Every attempt to explain the benefit

Re: [PHP-DEV] Add ReflectionFunctionAbstract::isAnonymous()

2022-05-05 Thread Nicolas Grekas
Le ven. 22 oct. 2021 à 15:41, Dylan K. Taylor a écrit : > > On Fri, 22 Oct 2021 14:19:23 +0100 Claude Pache < > claude.pa...@gmail.com> wrote > > > > > Le 21 oct. 2021 à 01:12, Dylan K. Taylor a écrit : > > > > Hi all, > > > > Given the addition of Closure::fromCallable() and

Re: [PHP-DEV] Deprecated partially supported callables: should is_callable() throw a deprecation notice ?

2022-05-05 Thread Rowan Tommins
On 05/05/2022 06:37, Juliette Reinders Folmer wrote: I was going to mention the same example as the precedent ;-) Another relevant precedent, since the original RFC talked about keeping things "side-effect free", is that passing "99 red balloons" to an "int" parameter raised an E_NOTICE in