Home
last modified time | relevance | path

Searched refs:rc (Results 51 – 75 of 209) sorted by last modified time

123456789

/PHP-5.5/ext/reflection/tests/
H A DReflectionProperty_getDocComment_error.phpt10 $rc = new ReflectionProperty('C', 'a');
11 var_dump($rc->getDocComment(null));
12 var_dump($rc->getDocComment('X'));
13 var_dump($rc->getDocComment(true));
14 var_dump($rc->getDocComment(array(1, 2, 3)));
H A Dbug42976.phpt16 $rc = new ReflectionClass('C');
18 $rc->newInstance($x); // causes crash
21 $rc->newInstanceArgs(array($x)); // causes crash
H A Dbug39067.phpt18 $rc = new ReflectionClass('C');
19 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
21 $rc = new ReflectionClass('B');
22 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
24 $rc = new ReflectionClass('A');
25 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
35 $rc = new ReflectionClass('Test2');
36 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
H A DReflectionObject_FileInfo_basic.phpt5 $rc = new ReflectionObject(new C);
6 var_dump($rc->getFileName());
7 var_dump($rc->getStartLine());
8 var_dump($rc->getEndLine());
10 $rc = new ReflectionObject(new stdclass);
11 var_dump($rc->getFileName());
12 var_dump($rc->getStartLine());
13 var_dump($rc->getEndLine());
H A DReflectionObject_getConstant_basic.phpt21 $rc = new ReflectionObject(new $class);
22 var_dump($rc->getConstant('a'));
23 var_dump($rc->getConstant('doesntexist'));
H A DReflectionObject_getConstant_error.phpt9 $rc = new ReflectionObject(new C);
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));
H A DReflectionObject_getConstants_error.phpt8 $rc = new ReflectionObject(new X);
10 $rc->getConstants('X');
11 $rc->getConstants(true);
H A DReflectionObject_getConstructor_basic.phpt55 $rc = new ReflectionObject(new $class);
56 $rm = $rc->getConstructor();
H A DReflectionObject_getConstructor_error.phpt6 $rc = new ReflectionObject(new C);
7 var_dump($rc->getConstructor(null));
8 var_dump($rc->getConstructor('X'));
9 var_dump($rc->getConstructor(true));
10 var_dump($rc->getConstructor(array(1,2,3)));
H A DReflectionObject_FileInfo_error.phpt7 $rc = new ReflectionObject(new C);
11 var_dump($rc->$method());
12 var_dump($rc->$method(null));
13 var_dump($rc->$method('X', 0));
H A DReflectionObject_getConstants_basic.phpt21 $rc = new ReflectionObject(new $class);
22 var_dump($rc->getConstants());
H A DReflectionClass_toString_003.phpt22 $rc = new ReflectionClass($class);
23 echo $rc;
H A DReflectionFunction_isDisabled_basic.phpt14 $rc = new ReflectionFunction('is_file');
15 var_dump($rc->isDisabled());
H A DReflectionFunction_isGenerator_basic.phpt41 $rc = new ReflectionClass('Foo');
42 foreach($rc->getMethods() as $m) {
H A DReflectionClass_isSubclassOf_error.phpt6 $rc = new ReflectionClass('A');
8 var_dump($rc->isSubclassOf());
9 var_dump($rc->isSubclassOf('A',5));
H A DReflectionClass_isSubclassOf_error1.phpt6 $rc = new ReflectionClass('A');
8 var_dump($rc->isSubclassOf('X'));
H A DReflectionClass_modifiers_001.phpt17 $rc = new ReflectionClass($class);
18 var_dump($rc->isFinal());
19 var_dump($rc->isInterface());
20 var_dump($rc->isAbstract());
21 var_dump($rc->getModifiers());
H A DReflectionClass_modifiers_002.phpt9 $rc = new ReflectionClass("C");
10 var_dump($rc->isFinal('X'));
11 var_dump($rc->isInterface(null));
12 var_dump($rc->isAbstract(true));
13 var_dump($rc->getModifiers(array(1,2,3)));
H A DReflectionClass_newInstanceArgs_002.phpt13 $rc = new ReflectionClass('A');
14 $a = $rc->newInstanceArgs('x');
H A DReflectionClass_setStaticPropertyValue_002.phpt12 $rc = new ReflectionClass('C');
14 var_dump($rc->setStaticPropertyValue("x", "default value", 'blah'));
19 var_dump($rc->setStaticPropertyValue());
24 var_dump($rc->setStaticPropertyValue(null));
29 var_dump($rc->setStaticPropertyValue(null,null));
34 var_dump($rc->setStaticPropertyValue(1.5, 'def'));
39 var_dump($rc->setStaticPropertyValue(array(1,2,3), 'blah'));
H A DReflectionClass_toString_001.phpt8 $rc = new ReflectionClass("ReflectionClass");
9 echo $rc;
H A DReflectionClass_toString_002.phpt22 $rc = new ReflectionClass($class);
23 echo $rc;
H A DReflectionFunction_isClosure_basic.phpt15 $rc = new ReflectionFunction($closure);
16 var_dump($rc->isClosure());
H A DReflectionFunction_isDeprecated_basic.phpt12 $rc = new ReflectionFunction('ereg');
13 var_dump($rc->isDeprecated());
H A DReflectionMethod_getDocComment_basic.phpt59 $rc = new ReflectionClass($class);
60 $rms = $rc->getMethods();

Completed in 45 milliseconds

123456789