/PHP-8.1/ext/reflection/tests/ |
H A D | ReflectionClass_setStaticPropertyValue_003.phpt | 11 $rc = new ReflectionClass('Test'); 14 $rc->setStaticPropertyValue("y", "foo"); 18 $rc->setStaticPropertyValue("y", "21"); 25 $rc->setStaticPropertyValue("x", "foo"); 29 $rc->setStaticPropertyValue("x", "42");
|
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 | ReflectionClassConstant_unset_name.phpt | 12 $rc = new ReflectionClassConstant(Test::class, 'C'); 13 unset($rc->name); 15 var_dump($rc->getName()); 20 echo $rc, "\n";
|
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("doesNotExist"));
|
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 | bug78774.phpt | 11 $rc = new ReflectionClass(Test::class); 12 $rp = $rc->getProperty('prop'); 14 $rp2 = $rc->getProperty('prop2');
|
H A D | new_in_attributes.phpt | 15 $rc = new ReflectionClass(Test1::class); 16 $ra = $rc->getAttributes()[0]; 32 $rc = new ReflectionClass(Test2::class); 33 $ra = $rc->getAttributes()[0];
|
H A D | constructor_promotion.phpt | 16 $rc = new ReflectionClass(Test::class); 17 echo $rc, "\n"; 19 $y = $rc->getProperty('y'); 22 $z = $rc->getProperty('z');
|
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()) ;
|
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());
|
/PHP-8.1/Zend/tests/ |
H A D | stringable_trait.phpt | 26 $rc = new ReflectionClass(T::class); 27 var_dump($rc->getInterfaceNames()); 28 $rc = new ReflectionClass(T2::class); 29 var_dump($rc->getInterfaceNames());
|
H A D | interface_with_tostring.phpt | 10 $rc = new ReflectionClass(MyStringable::class); 11 var_dump($rc->getInterfaceNames());
|
/PHP-8.1/ext/ldap/ |
H A D | ldap.c | 279 rc = -1; in _php_ldap_control_to_array() 341 rc = -1; in _php_ldap_control_to_array() 362 rc = -1; in _php_ldap_control_to_array() 420 rc = -1; in _php_ldap_control_from_array() 451 rc = -1; in _php_ldap_control_from_array() 474 rc = -1; in _php_ldap_control_from_array() 672 rc = -1; in _php_ldap_control_from_array() 1249 int rc; in PHP_FUNCTION() local 1305 int rc; in PHP_FUNCTION() local 4224 int rc; in PHP_FUNCTION() local [all …]
|
/PHP-8.1/tests/classes/ |
H A D | constants_comments_001.phpt | 22 foreach ($r->getReflectionConstants() as $rc) { 23 echo $rc->getName() . " : " . $rc->getDocComment() . "\n";
|
/PHP-8.1/ext/mysqli/tests/ |
H A D | 009.phpt | 26 $rc = mysqli_query($link,"CREATE TABLE test_bind_fetch(c1 bigint default 5, 34 if (!$rc) 37 $rc = mysqli_query($link, "INSERT INTO test_bind_fetch (c2,c3,c4,c5,c6,c7,c8) ". 39 if (!$rc) 45 $rc = mysqli_stmt_fetch($stmt); 62 …$rc = mysqli_query($link, "CREATE TABLE test_bind_fetch_uint(c1 integer unsigned, c2 integer unsig… 63 if (!$rc) 72 $rc = mysqli_stmt_fetch($stmt);
|
H A D | 003.phpt | 20 $rc = @mysqli_query($link,"CREATE TABLE test_bind_result( 39 if (!$rc) 40 $rc = @mysqli_query($link,"CREATE TABLE test_bind_result( 49 if (!$rc) 52 $rc = mysqli_query($link, "INSERT INTO test_bind_result VALUES( 59 if (!$rc)
|
/PHP-8.1/sapi/cli/ |
H A D | ps_title.c | 303 const char* ps_title_errno(int rc) in ps_title_errno() argument 305 switch(rc) in ps_title_errno() 338 int rc = is_ps_title_available(); in set_ps_title() local 339 if (rc != PS_TITLE_SUCCESS) in set_ps_title() 340 return rc; in set_ps_title() 396 int rc = is_ps_title_available(); in get_ps_title() local 397 if (rc != PS_TITLE_SUCCESS) in get_ps_title() 398 return rc; in get_ps_title()
|
/PHP-8.1/ext/fileinfo/libmagic/ |
H A D | compress.c | 564 int rc; in uncompresszlib() local 580 if (rc != Z_OK) in uncompresszlib() 584 if (rc != Z_OK && rc != Z_STREAM_END) in uncompresszlib() 589 if (rc != Z_OK) in uncompresszlib() 608 int rc; in uncompressbzlib() local 613 if (rc != BZ_OK) in uncompressbzlib() 625 if (rc != BZ_OK && rc != BZ_STREAM_END) in uncompressbzlib() 632 if (rc != BZ_OK) in uncompressbzlib() 651 int rc; in uncompressxzlib() local 656 if (rc != LZMA_OK) in uncompressxzlib() [all …]
|
/PHP-8.1/ext/odbc/ |
H A D | php_odbc_includes.h | 49 #define SQL_SUCCEEDED(rc) (((rc)&(~1))==0) argument 66 #define SQL_SUCCEEDED(rc) (((rc)&(~1))==0) argument 77 #define SQL_SUCCEEDED(rc) (((rc)&(~1))==0) argument
|
/PHP-8.1/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()
|