/PHP-7.4/ext/reflection/tests/ |
H A D | closures_001.phpt | 30 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 D | bug45139.phpt | 23 $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 D | ReflectionProperty_typed_static.phpt | 12 $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 D | ReflectionProperty_isInitialized.phpt | 40 $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)); 56 $rp = new ReflectionProperty('B', 'i'); 57 var_dump($rp->isInitialized($a)); 84 var_dump($rp->isInitialized($obj)); [all …]
|
H A D | ReflectionProperty_error.phpt | 28 $rp = new ReflectionProperty('C', 'p'); 29 var_dump($rp->getName(1)); 30 var_dump($rp->isPrivate(1)); 31 var_dump($rp->isProtected(1)); 32 var_dump($rp->isPublic(1)); 33 var_dump($rp->isStatic(1)); 34 var_dump($rp->getModifiers(1)); 35 var_dump($rp->isDefault(1));
|
H A D | bug79820.phpt | 10 $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 D | closures_002.phpt | 15 $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 D | internal_static_property.phpt | 10 $rp = new ReflectionProperty('_ZendTestClass', '_StaticProp'); 11 $rp->setValue(42); 12 var_dump($rp->getValue());
|
H A D | ReflectionProperty_constructor_variation1.phpt | 11 $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 D | ReflectionType_002.phpt | 8 $rp = $rm->getParameters()[0]; 9 $rt = $rp->getType(); 11 unset($rm, $rp);
|
H A D | ReflectionProperty_getModifiers_basic.phpt | 25 $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 D | bug78774.phpt | 11 $rp = $rc->getProperty('prop'); 12 $rt = $rp->getType();
|
H A D | bug48336.phpt | 30 $rp = new ReflectionProperty($class, 'prop'); 31 print($rp->getDeclaringClass()->getName());
|
H A D | ReflectionProperty_getDocComment_basic.phpt | 37 foreach($rps as $rp) { 38 echo "\n\n---> Doc comment for $class::$" . $rp->getName() . ":\n"; 39 var_dump($rp->getDocComment());
|
H A D | ReflectionType_001.phpt | 24 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 D | ReflectionClass_getProperty_004.phpt | 47 $rp = $rc->getProperty($name); 53 var_dump($rp); 54 var_dump($rp->getValue($myC));
|
H A D | ReflectionClass_getProperty_003.phpt | 47 $rp = $rc->getProperty($name); 53 var_dump($rp); 54 var_dump($rp->getValue($myC));
|
/PHP-7.4/Zend/tests/ |
H A D | bug50174.phpt | 25 $rp = new ReflectionProperty('TestClass2', 'x'); 26 var_dump($rp->getDocComment());
|
/PHP-7.4/ext/sockets/ |
H A D | sockets.c | 2573 struct addrinfo hints, *result, *rp, *res; local 2612 for (rp = result; rp != NULL; rp = rp->ai_next) { 2613 if (rp->ai_family != AF_UNSPEC) { 2615 memcpy(res, rp, sizeof(struct addrinfo)); 2617 res->ai_addr = emalloc(rp->ai_addrlen); 2618 memcpy(res->ai_addr, rp->ai_addr, rp->ai_addrlen); 2620 if (rp->ai_canonname != NULL) { 2621 res->ai_canonname = estrdup(rp->ai_canonname);
|
/PHP-7.4/build/ |
H A D | shtool | 1696 rp='.' 1698 rp='' 1700 rp="../$rp" 1703 echo $rp | sed -e 's:/$::'
|
/PHP-7.4/ext/pgsql/ |
H A D | pgsql.c | 818 *rp++ = '\''; in php_pgsql_PQescapeInternal() 846 *rp++ = ' '; in php_pgsql_PQescapeInternal() 847 *rp++ = 'E'; in php_pgsql_PQescapeInternal() 849 *rp++ = '\''; in php_pgsql_PQescapeInternal() 852 *rp++ = *s; in php_pgsql_PQescapeInternal() 853 *rp++ = *s; in php_pgsql_PQescapeInternal() 859 *rp++ = '\''; in php_pgsql_PQescapeInternal() 862 *rp++ = '"'; in php_pgsql_PQescapeInternal() 868 *rp++ = *s; in php_pgsql_PQescapeInternal() 871 *rp++ = '"'; in php_pgsql_PQescapeInternal() [all …]
|
/PHP-7.4/docs/ |
H A D | self-contained-extensions.md | 38 cp -rp php-src/ext/mysqli/* .
|
/PHP-7.4/ext/standard/ |
H A D | string.c | 5171 char *tbuf, *tp, *rp, c, lc; local 5183 rp = rbuf; 5219 *(rp++) = c; 5244 *(rp++) = c; 5247 *(rp++) = c; 5293 memcpy(rp, tbuf, tp-tbuf); 5294 rp += tp-tbuf; 5489 if (rp < rbuf + len) { 5490 *rp = '\0'; 5502 return (size_t)(rp - rbuf);
|