Re: [PHP-DEV] [RFC][Discussion] Consistent callables

This is only part of a thread. view whole thread
May 29, 2017 09:48 (Andrey Andreev)

On Mon, May 29, 2017 at 12:28 PM, Stephen Reay <> wrote:
> > Regarding the big change you suggest, making protected/private methods return false unless a new third parameter is true in is_callable(): > > I think you need to make your intention a *lot* clearer under the "Private and protected functions no longer report as callable for is_callable” section. You make no mention of it being user controlled, simply “this will not work any more”, until the next section. >
I too noticed this, and the RFC content can be improved in general to be more easily understandable. But that being said, I wholeheartedly agree with the entire proposal. Cheers, Andrey.