Re: [RFC][Discussion] Consistent callables
| From: | Andrey Andreev | Date: | Mon, 29 May 2017 09:48:17 +0000 |
| Subject: | Re: [RFC][Discussion] Consistent callables | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-99224@lists.php.net to get a copy of this message | ||
Hi,
On Mon, May 29, 2017 at 12:28 PM, Stephen Reay <php-lists@koalephant.com> 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.