Lines Matching refs:getConstant
2 ReflectionClass::getConstant() - bad params
11 var_dump($rc->getConstant());
12 var_dump($rc->getConstant("myConst", "myConst"));
13 var_dump($rc->getConstant(null));
14 var_dump($rc->getConstant(1));
15 var_dump($rc->getConstant(1.5));
16 var_dump($rc->getConstant(true));
17 var_dump($rc->getConstant(array(1,2,3)));
18 var_dump($rc->getConstant(new C));
23 Warning: ReflectionClass::getConstant() expects exactly 1 parameter, 0 given in %s on line 8
26 Warning: ReflectionClass::getConstant() expects exactly 1 parameter, 2 given in %s on line 9
33 Warning: ReflectionClass::getConstant() expects parameter 1 to be string, array given in %s on line…
36 Warning: ReflectionClass::getConstant() expects parameter 1 to be string, object given in %s on lin…