Hi, On Mon, May 29, 2017 at 12:28 PM, Stephen Reay <php-li...@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. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php