On 5/17/2016 7:47 PM, Rasmus Schultz wrote:
> You're not annotating the function - this is just a round-about way of
> annotating the argument.
> 
> You would do that directly, like this:
> 
> function foo(
>     << ValidateRange(0, 100) >>
>     int $percentage
> ) { ... }
> 

What is this good for?
When is /ValidateRange/ being evaluated?
On every call? How?

I really do not get it, sorry.

-- 
Richard "Fleshgrinder" Fussenegger

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to