/PHP-7.4/ext/reflection/tests/ |
H A D | ReflectionClass_isIterateable_001.phpt | 33 $rc = new ReflectionClass($class); 35 var_dump($rc->isIterateable()); 39 $rc = new ReflectionClass('IteratorImpl'); 40 var_dump($rc->isIterateable(null)); 41 var_dump($rc->isIterateable(null, null)); 42 var_dump($rc->isIterateable(1)); 43 var_dump($rc->isIterateable(1.5)); 44 var_dump($rc->isIterateable(true)); 45 var_dump($rc->isIterateable('X')); 46 var_dump($rc->isIterateable(null));
|
H A D | ReflectionClass_getStaticPropertyValue_002.phpt | 12 $rc = new ReflectionClass('C'); 14 var_dump($rc->getStaticPropertyValue("x", "default value", 'blah')); 19 var_dump($rc->getStaticPropertyValue()); 24 var_dump($rc->getStaticPropertyValue(null)); 29 var_dump($rc->getStaticPropertyValue(1.5, 'def')); 34 var_dump($rc->getStaticPropertyValue(array(1,2,3)));
|
H A D | bug79487.phpt | 10 $rc = new ReflectionClass('Foo'); 11 var_dump($rc->getStaticProperties()); 20 $rc = new ReflectionClass(B::class); 22 var_dump($rc->getStaticProperties());
|
H A D | ReflectionClass_isSubclassOf_002.phpt | 9 $rc = new ReflectionClass('A'); 13 var_dump($rc->isSubclassOf()); 18 var_dump($rc->isSubclassOf('C', 'C')); 23 var_dump($rc->isSubclassOf(null)); 28 var_dump($rc->isSubclassOf('ThisClassDoesNotExist')); 33 var_dump($rc->isSubclassOf(2));
|
H A D | bug77772.phpt | 11 $rc = new ReflectionClass(Test::class); 12 foreach ($rc->getMethods(null) as $method) { 15 foreach ($rc->getProperties(null) as $prop) {
|
H A D | ReflectionClass_hasConstant_001.phpt | 16 $rc = new ReflectionClass("C"); 18 var_dump($rc->hasConstant("myConst")); 20 var_dump($rc->hasConstant("MyCoNsT")); 22 var_dump($rc->hasConstant("doesntExist"));
|
H A D | ReflectionClass_hasConstant_basic.phpt | 9 $rc = new ReflectionClass("C"); 12 var_dump($rc->hasConstant('foo')); 15 var_dump($rc->hasConstant('bar'));
|
H A D | ReflectionFunction_isDisabled_basic.phpt | 10 $rc = new ReflectionFunction('is_file'); 11 var_dump($rc->isDisabled());
|
H A D | ReflectionFunction_isClosure_basic.phpt | 9 $rc = new ReflectionFunction($closure); 10 var_dump($rc->isClosure());
|
H A D | ReflectionFunction_isDeprecated_basic.phpt | 9 $rc = new ReflectionFunction('var_dump'); 10 var_dump($rc->isDeprecated());
|
H A D | ReflectionClass_getExtension_variation.phpt | 14 $rc=new reflectionClass('myClass'); 15 var_dump( $rc->getExtension()) ;
|
H A D | ReflectionClass_getExtensionName_variation.phpt | 14 $rc=new reflectionClass('myClass'); 15 var_dump( $rc->getExtensionName()) ;
|
H A D | bug42976.phpt | 16 $rc = new ReflectionClass('C'); 18 $rc->newInstance($x); // causes crash 21 $rc->newInstanceArgs(array($x)); // causes crash
|
H A D | ReflectionClass_getMethods_003.phpt | 19 $rc = new ReflectionClass("C"); 25 var_dump($rc->getMethods(0)); 28 var_dump($rc->getMethods($pubFlag)); 31 var_dump($rc->getMethods($privFlag)); 34 var_dump($rc->getMethods($StaticFlag | $pubFlag)); 37 var_dump($rc->getMethods($StaticFlag | $privFlag));
|
H A D | ReflectionClass_getProperties_003.phpt | 19 $rc = new ReflectionClass("C"); 25 var_dump($rc->getProperties(0)); 28 var_dump($rc->getProperties($pubFlag)); 31 var_dump($rc->getProperties($privFlag)); 34 var_dump($rc->getProperties($StaticFlag | $pubFlag)); 37 var_dump($rc->getProperties($StaticFlag | $privFlag));
|
H A D | ReflectionClass_getExtensionName_basic.phpt | 10 $rc=new reflectionClass('domDocument'); 11 var_dump( $rc->getExtensionName()) ;
|
/PHP-7.4/ext/ldap/ |
H A D | ldap.c | 177 rc = -1; in _php_ldap_control_to_array() 239 rc = -1; in _php_ldap_control_to_array() 260 rc = -1; in _php_ldap_control_to_array() 318 rc = -1; in _php_ldap_control_from_array() 349 rc = -1; in _php_ldap_control_from_array() 372 rc = -1; in _php_ldap_control_from_array() 570 rc = -1; in _php_ldap_control_from_array() 1131 int rc; in PHP_FUNCTION() local 1188 int rc; in PHP_FUNCTION() local 4372 int rc; in PHP_FUNCTION() local [all …]
|
/PHP-7.4/tests/classes/ |
H A D | constants_comments_001.phpt | 22 foreach ($r->getReflectionConstants() as $rc) { 23 echo $rc->getName() . " : " . $rc->getDocComment() . "\n";
|
H A D | autoload_016.phpt | 10 $rc = new ReflectionClass("stdClass"); 13 $rc->getProperty("UndefC::p");
|
/PHP-7.4/sapi/cli/ |
H A D | ps_title.c | 302 const char* ps_title_errno(int rc) in ps_title_errno() argument 304 switch(rc) in ps_title_errno() 337 int rc = is_ps_title_available(); in set_ps_title() local 338 if (rc != PS_TITLE_SUCCESS) in set_ps_title() 339 return rc; in set_ps_title() 395 int rc = is_ps_title_available(); in get_ps_title() local 396 if (rc != PS_TITLE_SUCCESS) in get_ps_title() 397 return rc; in get_ps_title()
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | 009.phpt | 25 $rc = mysqli_query($link,"CREATE TABLE test_bind_fetch(c1 bigint default 5, 33 if (!$rc) 36 $rc = mysqli_query($link, "INSERT INTO test_bind_fetch (c2,c3,c4,c5,c6,c7,c8) ". 38 if (!$rc) 44 $rc = mysqli_stmt_fetch($stmt); 61 …$rc = mysqli_query($link, "CREATE TABLE test_bind_fetch_uint(c1 integer unsigned, c2 integer unsig… 62 if (!$rc) 71 $rc = mysqli_stmt_fetch($stmt);
|
H A D | 003.phpt | 19 $rc = @mysqli_query($link,"CREATE TABLE test_bind_result( 38 if (!$rc) 39 $rc = @mysqli_query($link,"CREATE TABLE test_bind_result( 48 if (!$rc) 51 $rc = mysqli_query($link, "INSERT INTO test_bind_result VALUES( 58 if (!$rc)
|
/PHP-7.4/sapi/phpdbg/ |
H A D | phpdbg_io.c | 258 int sock = -1, rc; local 275 rc = inet_pton(AF_INET, addr, &serveraddr); 276 if (1 == rc) { 282 rc = inet_pton(AF_INET6, addr, &serveraddr); 283 if (1 == rc) { 295 rc = getaddrinfo(addr, port_buf, &hints, &res); 297 rc = getaddrinfo(NULL, port_buf, &hints, &res); 300 if (0 != rc) { 302 if (rc == EAI_SYSTEM) { 314 snprintf(buf, sizeof(buf), "Host '%s' not found. %s", addr, estrdup(gai_strerror(rc)));
|
/PHP-7.4/ext/odbc/ |
H A D | php_odbc_includes.h | 51 #define SQL_SUCCEEDED(rc) (((rc)&(~1))==0) argument 68 #define SQL_SUCCEEDED(rc) (((rc)&(~1))==0) argument 79 #define SQL_SUCCEEDED(rc) (((rc)&(~1))==0) argument
|
/PHP-7.4/ext/pcre/pcre2lib/ |
H A D | pcre2_substring.c | 124 int rc; in pcre2_substring_copy_bynumber() local 126 rc = pcre2_substring_length_bynumber(match_data, stringnumber, &size); in pcre2_substring_copy_bynumber() 127 if (rc < 0) return rc; in pcre2_substring_copy_bynumber() 212 int rc; in pcre2_substring_get_bynumber() local 215 rc = pcre2_substring_length_bynumber(match_data, stringnumber, &size); in pcre2_substring_get_bynumber() 216 if (rc < 0) return rc; in pcre2_substring_get_bynumber() 319 int count = match_data->rc; in pcre2_substring_length_bynumber() 383 if ((count = match_data->rc) < 0) return count; /* Match failed */ in pcre2_substring_list_get()
|