Home
last modified time | relevance | path

Searched refs:rc (Results 26 – 50 of 172) sorted by relevance

1234567

/php-src/ext/reflection/tests/
H A DReflectionClass_isSubclassOf_002.phpt9 $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 DReflectionClass_setStaticPropertyValue_003.phpt11 $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 DReflectionClass_getStaticPropertyValue_002.phpt12 $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 Dbug79487.phpt10 $rc = new ReflectionClass('Foo');
11 var_dump($rc->getStaticProperties());
20 $rc = new ReflectionClass(B::class);
22 var_dump($rc->getStaticProperties());
H A DReflectionClass_getConstant_typed.phpt15 $rc = new ReflectionClass(C::class);
16 var_dump($rc->getConstant("CONST1"));
18 $rc = new ReflectionClass(D::class);
20 $rc->getConstant("CONST1");
H A DReflectionClassConstant_unset_name.phpt12 $rc = new ReflectionClassConstant(Test::class, 'C');
13 unset($rc->name);
15 var_dump($rc->getName());
20 echo $rc, "\n";
H A Dbug77772.phpt11 $rc = new ReflectionClass(Test::class);
12 foreach ($rc->getMethods(null) as $method) {
15 foreach ($rc->getProperties(null) as $prop) {
H A DReflectionClass_hasConstant_001.phpt16 $rc = new ReflectionClass("C");
18 var_dump($rc->hasConstant("myConst"));
20 var_dump($rc->hasConstant("MyCoNsT"));
22 var_dump($rc->hasConstant("doesNotExist"));
H A DReflectionClass_hasConstant_basic.phpt9 $rc = new ReflectionClass("C");
12 var_dump($rc->hasConstant('foo'));
15 var_dump($rc->hasConstant('bar'));
H A Dbug78774.phpt11 $rc = new ReflectionClass(Test::class);
12 $rp = $rc->getProperty('prop');
14 $rp2 = $rc->getProperty('prop2');
H A Dnew_in_attributes.phpt15 $rc = new ReflectionClass(Test1::class);
16 $ra = $rc->getAttributes()[0];
32 $rc = new ReflectionClass(Test2::class);
33 $ra = $rc->getAttributes()[0];
H A Dconstructor_promotion.phpt16 $rc = new ReflectionClass(Test::class);
17 echo $rc, "\n";
19 $y = $rc->getProperty('y');
22 $z = $rc->getProperty('z');
H A DReflectionClass_getProperties_003.phpt19 $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 DReflectionClass_getMethods_003.phpt19 $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 Dldap.c278 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 Dstringable_trait.phpt26 $rc = new ReflectionClass(T::class);
27 var_dump($rc->getInterfaceNames());
28 $rc = new ReflectionClass(T2::class);
29 var_dump($rc->getInterfaceNames());
H A Dnew_oom.inc11 $rc = new ReflectionClass($class);
12 $objects[] = $rc->newInstanceWithoutConstructor();
H A Dinterface_with_tostring.phpt10 $rc = new ReflectionClass(MyStringable::class);
11 var_dump($rc->getInterfaceNames());
/php-src/ext/zend_test/tests/
H A Ddoc_comment_internal_symbols1.phpt9 $rc = new ReflectionClass(ZendTestPropertyAttribute::class);
10 var_dump($rc->getDocComment());
12 $rc = new ReflectionClassConstant(_ZendTestInterface::class, "DUMMY");
13 var_dump($rc->getDocComment());
H A Ddoc_comment_internal_symbols2.phpt9 $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 Dconstants_comments_001.phpt22 foreach ($r->getReflectionConstants() as $rc) {
23 echo $rc->getName() . " : " . $rc->getDocComment() . "\n";
/php-src/sapi/cli/
H A Dps_title.c306 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 Dcompress.c612 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 Dphp_odbc_includes.h48 #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 Dpcre2_substring.c124 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()

Completed in 38 milliseconds

1234567