Lines Matching refs:rp
29 $rp = new ReflectionParameter(array($closure, '__invoke'), 0);
30 var_dump($rp->isOptional());
31 $rp = new ReflectionParameter(array($closure, '__invoke'), 1);
32 var_dump($rp->isOptional());
33 $rp = new ReflectionParameter(array($closure, '__invoke'), 'a');
34 var_dump($rp->isOptional());
35 $rp = new ReflectionParameter(array($closure, '__invoke'), 'b');
36 var_dump($rp->isOptional());
40 $rp = new ReflectionParameter($closure, 0);
41 var_dump($rp->isOptional());
42 $rp = new ReflectionParameter($closure, 1);
43 var_dump($rp->isOptional());
44 $rp = new ReflectionParameter($closure, 'a');
45 var_dump($rp->isOptional());
46 $rp = new ReflectionParameter($closure, 'b');
47 var_dump($rp->isOptional());