To be honest: everybody knows what you mean when you say callback.
Callable sounds more like the name of an interface.

On Tue, 2011-06-07 at 22:32 +0200, David Zülke wrote:
> On 07.06.2011, at 22:31, Stas Malyshev wrote:
> 
> > Hi!
> > 
> >> callback is callable, the opposite could not be true.
> >> a string --or a closure-- is callable, but the string is not a callback
> > 
> > According to our docs, which were out there for years, it is. One of the 
> > main and widespread complaints about PHP is the lack of any system in 
> > naming, design and documentation, it is sad to see how many people want to 
> > make it worse instead of making it better
> 
> +1. I'm thinking it should be "callback", or the docs should be adjusted. 
> "callable" arguably does make more sense, but either way, it needs to be 
> consistent, that's what matters most.
> 
> David


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to