Re: Callable type

From: Date: Tue, 07 Jun 2011 19:28:55 +0000
Subject: Re: Callable type
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On 07.06.2011, at 21:12, Stas Malyshev wrote:

> Hi!
> 
>> https://wiki.php.net/rfc/callable
> 
> Note also that this pseudo-type is called "callback" in all of our documentation,
> which means we have now documentation that says:
> 
> bool array_walk ( array &$array , callback $funcname [, mixed $userdata ] )
> 
> and type check that says "callable".

Oh, good point. It should be "callback" then, too, maybe? Or the documentation should be
adjusted (which might be a good idea, as "$funcname" doesn't reflect the realities
anymore).

David



Attachment: [application/pkcs7-signature] smime.p7s

Thread (63 messages)

« previous php.internals (#53177) next »