RE: [PHP-DEV] Introducing "Array Of" RFC

From: Date: Wed, 15 Jan 2014 19:38:01 +0000
Subject: RE: [PHP-DEV] Introducing "Array Of" RFC
References: 1 2  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
> 
> Furthermore, what about type hints like the following ones:
> function foo(int[] $qualities, callable[] $callables){}
> 
> Seems like they are not supported. But might be that I am totally wrong and did not understand
> the code
> 

Please forget about my question about type hint for int[], I forgot for a second that PHP does not
support scalar type
hints.
However, the question about callable[] remains



Thread (46 messages)

« previous php.internals (#71147) next »