Home
last modified time | relevance | path

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

1234567

/PHP-8.2/ext/reflection/tests/
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 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_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));
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_getExtensionName_basic.phpt10 $rc=new reflectionClass('domDocument');
11 var_dump( $rc->getExtensionName()) ;
H A DReflectionFunction_isClosure_basic.phpt9 $rc = new ReflectionFunction($closure);
10 var_dump($rc->isClosure());
H A DReflectionFunction_isDeprecated_basic.phpt9 $rc = new ReflectionFunction('var_dump');
10 var_dump($rc->isDeprecated());
/PHP-8.2/ext/ldap/
H A Dldap.c281 rc = -1; in _php_ldap_control_to_array()
343 rc = -1; in _php_ldap_control_to_array()
364 rc = -1; in _php_ldap_control_to_array()
422 rc = -1; in _php_ldap_control_from_array()
453 rc = -1; in _php_ldap_control_from_array()
476 rc = -1; in _php_ldap_control_from_array()
674 rc = -1; in _php_ldap_control_from_array()
1048 int rc; in PHP_FUNCTION() local
1104 int rc; in PHP_FUNCTION() local
4037 int rc; in PHP_FUNCTION() local
[all …]
/PHP-8.2/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 Dinterface_with_tostring.phpt10 $rc = new ReflectionClass(MyStringable::class);
11 var_dump($rc->getInterfaceNames());
/PHP-8.2/tests/classes/
H A Dconstants_comments_001.phpt22 foreach ($r->getReflectionConstants() as $rc) {
23 echo $rc->getName() . " : " . $rc->getDocComment() . "\n";
/PHP-8.2/ext/mysqli/tests/
H A D009.phpt26 $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 D003.phpt20 $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.2/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-8.2/ext/fileinfo/libmagic/
H A Dcompress.c564 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.2/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-8.2/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()
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()

Completed in 41 milliseconds

1234567