Re: Callable type
| From: | David Zülke | Date: | Wed, 08 Jun 2011 00:04:44 +0000 |
| Subject: | Re: Callable type | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-53192@lists.php.net to get a copy of this message | ||
On 08.06.2011, at 00:38, dukeofgaming wrote:
> On Tue, Jun 7, 2011 at 4:41 PM, Matthew Weier O'Phinney <
> weierophinney@php.net> wrote:
>
>> On 2011-06-07, dukeofgaming <dukeofgaming@gmail.com> wrote:
>>
>>> +1 for "callable", it is really more consistent.
>>
>> I was actually agreeing With David and Stas that "callback" was more
>> consistent, and casting my vote for that.
>
> Oh. But then, shouldn't is_callable be deprecated for a more consistently
> named is_callback?
No, because is_callable() also performs visibility checks.
Which of course begs the question... should the type hint do the same?
David
Attachment: [application/pkcs7-signature] smime.p7s
Attachment: [application/pkcs7-signature] smime.p7s