Home
last modified time | relevance | path

Searched refs:rp (Results 1 – 25 of 26) sorted by relevance

12

/PHP-8.0/ext/reflection/tests/
H A Dclosures_001.phpt30 var_dump($rp->isOptional());
32 var_dump($rp->isOptional());
34 var_dump($rp->isOptional());
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());
[all …]
H A Dbug45139.phpt23 $rp = $rc->getProperty('foo');
24 var_dump($rp->getDeclaringClass()->getName()); // c
27 $rp = $rc->getProperty('foo');
28 var_dump($rp->getDeclaringClass()->getName()); // A
31 $rp = $rc->getProperty('bar');
32 var_dump($rp->getDeclaringClass()->getName()); // B
35 $rp = $rc->getProperty('bar');
36 var_dump($rp->getDeclaringClass()->getName()); // B
39 $rp = $rc->getProperty('baz');
43 $rp = $rc->getProperty('baz');
[all …]
H A DReflectionProperty_typed_static.phpt12 $rp = new ReflectionProperty('Test', 'x');
13 var_dump($rp->getValue());
15 $rp = new ReflectionProperty('Test', 'y');
17 var_dump($rp->getValue());
22 $rp->setValue("24");
23 var_dump($rp->getValue());
26 $rp->setValue("foo");
30 var_dump($rp->getValue());
34 $rp = new ReflectionProperty('Test', 'z');
36 $rp->setValue("foo");
[all …]
H A DReflectionProperty_isInitialized.phpt40 $rp = new ReflectionProperty($a, 'd');
41 var_dump($rp->isInitialized($a));
43 var_dump($rp->isInitialized($a));
46 $rp = new ReflectionProperty('A', 'p');
48 var_dump($rp->isInitialized($a));
52 $rp->setAccessible(true);
53 var_dump($rp->isInitialized($a));
57 var_dump($rp->isInitialized($a));
66 var_dump($rp->isInitialized());
90 var_dump($rp->isInitialized($obj));
[all …]
H A Ddefault_value_leak.phpt10 $rp = new ReflectionParameter(['Test', 'method'], 'param');
11 var_dump($rp->isDefaultValueAvailable());
12 var_dump($rp->isDefaultValueConstant());
13 var_dump($rp->getDefaultValue());
H A Dbug79820.phpt10 $rp = new ReflectionProperty(Test::class, 'prop');
13 var_dump($rp->getType()->getName());
16 $rp = new ReflectionProperty($test, 'dynProp');
17 var_dump($rp->getType());
H A Dclosures_002.phpt15 $rp = new ReflectionParameter(array(new Test, '__invoke'), 0);
16 var_dump($rp->isOptional());
18 $rp = new ReflectionParameter(array(new Test, '__invoke'), 1);
19 var_dump($rp->isOptional());
H A Dinternal_static_property.phpt10 $rp = new ReflectionProperty('_ZendTestClass', '_StaticProp');
11 $rp->setValue(42);
12 var_dump($rp->getValue());
H A DReflectionProperty_constructor_variation1.phpt11 $rp = new ReflectionProperty("D", "p");
12 var_dump($rp);
22 $rp = new ReflectionProperty("D", "p");
23 var_dump($rp);
32 $rp = new ReflectionProperty("D", "p");
33 var_dump($rp);
H A DReflectionType_002.phpt8 $rp = $rm->getParameters()[0];
9 $rt = $rp->getType();
11 unset($rm, $rp);
H A DReflectionProperty_getModifiers_basic.phpt25 $rp = new ReflectionProperty("C", "a$i");
27 var_dump($rp->getModifiers());
28 $rp = new ReflectionProperty("D", "a$i");
30 var_dump($rp->getModifiers());
H A Ddefault_value_internal_userland_arginfo.phpt10 $rp = $rm->getParameters()[0];
11 var_dump($rp->isDefaultValueAvailable());
13 var_dump($rp->getDefaultValue());
H A Dconstructor_promotion.phpt27 $rp = new ReflectionParameter([Test::class, '__construct'], 'y');
28 var_dump($rp->isPromoted());
29 $rp = new ReflectionParameter([Test::class, '__construct'], 'z');
30 var_dump($rp->isPromoted());
H A Dunion_types.phpt29 $rp = $rc->getProperty('prop');
30 dumpType($rp->getType());
38 $rp = $rc->getProperty('prop');
39 dumpType($rp->getType());
44 $rp = $rc->getProperty('prop');
45 dumpType($rp->getType());
H A Dbug78774.phpt12 $rp = $rc->getProperty('prop');
13 $rt = $rp->getType();
H A Dbug48336.phpt30 $rp = new ReflectionProperty($class, 'prop');
31 print($rp->getDeclaringClass()->getName());
H A DReflectionProperty_getDocComment_basic.phpt37 foreach($rps as $rp) {
38 echo "\n\n---> Doc comment for $class::$" . $rp->getName() . ":\n";
39 var_dump($rp->getDocComment());
H A DReflectionType_001.phpt24 foreach ($rf->getParameters() as $idx2 => $rp) {
26 var_dump($rp->hasType());
27 $ra = $rp->getType();
44 foreach ($rm->getParameters() as $idx2 => $rp) {
46 var_dump($rp->hasType());
47 $ra = $rp->getType();
H A DReflectionClass_getProperty_004.phpt47 $rp = $rc->getProperty($name);
53 var_dump($rp);
54 var_dump($rp->getValue($myC));
H A DReflectionClass_getProperty_003.phpt47 $rp = $rc->getProperty($name);
53 var_dump($rp);
54 var_dump($rp->getValue($myC));
/PHP-8.0/Zend/tests/
H A Dbug50174.phpt25 $rp = new ReflectionProperty('TestClass2', 'x');
26 var_dump($rp->getDocComment());
/PHP-8.0/Zend/tests/attributes/
H A D029_reflect_internal_symbols.phpt18 $rp = new ReflectionProperty('Exception', 'message');
19 var_dump($rp->getAttributes());
/PHP-8.0/ext/sockets/
H A Dsockets.c2302 struct addrinfo hints, *result, *rp; local
2337 for (rp = result; rp != NULL; rp = rp->ai_next) {
2338 if (rp->ai_family != AF_UNSPEC) {
2344 memcpy(&res->addrinfo, rp, sizeof(struct addrinfo));
2346 res->addrinfo.ai_addr = emalloc(rp->ai_addrlen);
2347 memcpy(res->addrinfo.ai_addr, rp->ai_addr, rp->ai_addrlen);
2349 if (rp->ai_canonname != NULL) {
2350 res->addrinfo.ai_canonname = estrdup(rp->ai_canonname);
/PHP-8.0/build/
H A Dshtool1696 rp='.'
1698 rp=''
1700 rp="../$rp"
1703 echo $rp | sed -e 's:/$::'
/PHP-8.0/docs/
H A Dself-contained-extensions.md38 cp -rp php-src/ext/mysqli/* .

Completed in 65 milliseconds

12