/php-src/ext/reflection/tests/ |
H A D | ReflectionClass_isSubclassOf_002.phpt | 9 $rc = new ReflectionClass('A'); 13 $rc->isSubclassOf(); 18 $rc->isSubclassOf('C', 'C'); 23 $rc->isSubclassOf(null); 28 $rc->isSubclassOf('ThisClassDoesNotExist'); 33 $rc->isSubclassOf(2);
|
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 | ReflectionClass_getConstant_typed.phpt | 15 $rc = new ReflectionClass(C::class); 16 var_dump($rc->getConstant("CONST1")); 18 $rc = new ReflectionClass(D::class); 20 $rc->getConstant("CONST1");
|
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_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_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));
|
/php-src/ext/ldap/ |
H A D | ldap.c | 278 rc = -1; in _php_ldap_control_to_array() 340 rc = -1; in _php_ldap_control_to_array() 361 rc = -1; in _php_ldap_control_to_array() 419 rc = -1; in _php_ldap_control_from_array() 450 rc = -1; in _php_ldap_control_from_array() 473 rc = -1; in _php_ldap_control_from_array() 672 rc = -1; in _php_ldap_control_from_array() 1125 int rc; in PHP_FUNCTION() local 1181 int rc; in PHP_FUNCTION() local 4122 int rc; in PHP_FUNCTION() local [all …]
|
/php-src/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 | new_oom.inc | 11 $rc = new ReflectionClass($class); 12 $objects[] = $rc->newInstanceWithoutConstructor();
|
H A D | interface_with_tostring.phpt | 10 $rc = new ReflectionClass(MyStringable::class); 11 var_dump($rc->getInterfaceNames());
|
/php-src/ext/zend_test/tests/ |
H A D | doc_comment_internal_symbols1.phpt | 9 $rc = new ReflectionClass(ZendTestPropertyAttribute::class); 10 var_dump($rc->getDocComment()); 12 $rc = new ReflectionClassConstant(_ZendTestInterface::class, "DUMMY"); 13 var_dump($rc->getDocComment());
|
H A D | doc_comment_internal_symbols2.phpt | 9 $rc = new ReflectionClass(ZendTestPropertyAttribute::class); 10 echo $rc->__toString() . "\n"; 12 $rc = new ReflectionClassConstant(_ZendTestInterface::class, "DUMMY"); 13 echo $rc->__toString() . "\n";
|
/php-src/tests/classes/ |
H A D | constants_comments_001.phpt | 22 foreach ($r->getReflectionConstants() as $rc) { 23 echo $rc->getName() . " : " . $rc->getDocComment() . "\n";
|
/php-src/sapi/cli/ |
H A D | ps_title.c | 306 const char* ps_title_errno(int rc) in ps_title_errno() argument 308 switch(rc) in ps_title_errno() 341 int rc = is_ps_title_available(); in set_ps_title() local 342 if (rc != PS_TITLE_SUCCESS) in set_ps_title() 343 return rc; in set_ps_title() 399 int rc = is_ps_title_available(); in get_ps_title() local 400 if (rc != PS_TITLE_SUCCESS) in get_ps_title() 401 return rc; in get_ps_title()
|
/php-src/ext/fileinfo/libmagic/ |
H A D | compress.c | 612 int rc; in uncompresszlib() local 626 if (rc != Z_OK) in uncompresszlib() 630 if (rc != Z_OK && rc != Z_STREAM_END) { in uncompresszlib() 637 if (rc != Z_OK) in uncompresszlib() 654 int rc; in uncompressbzlib() local 660 if (rc != BZ_OK) in uncompressbzlib() 669 if (rc != BZ_OK && rc != BZ_STREAM_END) { in uncompressbzlib() 678 if (rc != BZ_OK) in uncompressbzlib() 695 int rc; in uncompressxzlib() local 710 if (rc != LZMA_OK && rc != LZMA_STREAM_END) { in uncompressxzlib() [all …]
|
/php-src/ext/odbc/ |
H A D | php_odbc_includes.h | 48 #define SQL_SUCCEEDED(rc) (((rc)&(~1))==0) argument 65 #define SQL_SUCCEEDED(rc) (((rc)&(~1))==0) argument 76 #define SQL_SUCCEEDED(rc) (((rc)&(~1))==0) argument
|
/php-src/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() 320 int count = match_data->rc; in pcre2_substring_length_bynumber() 386 if ((count = match_data->rc) < 0) return count; /* Match failed */ in pcre2_substring_list_get()
|