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