Home
last modified time | relevance | path

Searched refs:rc (Results 76 – 100 of 172) sorted by relevance

1234567

/php-src/ext/reflection/tests/
H A DReflectionClass_getConstructor_basic.phpt14 $rc = new ReflectionClass($class);
15 $rm = $rc->getConstructor();
H A Dbug43926.phpt18 $rc = new ReflectionClass('C');
23 $cc = $rc->newInstance();
28 print("Is? C ". ($rc->isInstance($ca) ? 'true' : 'false') .", instanceof: ". (($ca instanceof C) ? …
33 print("Is? C ". ($rc->isInstance($cc) ? 'true' : 'false') .", instanceof: ". (($cc instanceof C) ? …
38 print("Is? C ". ($rc->isInstance($cd) ? 'true' : 'false') .", instanceof: ". (($cd instanceof C) ? …
43 print("Is? C ". ($rc->isInstance($ce) ? 'true' : 'false') .", instanceof: ". (($ce instanceof C) ? …
H A DReflectionClass_newInstanceArgs_002.phpt13 $rc = new ReflectionClass('A');
14 $a = $rc->newInstanceArgs('x');
H A DReflectionClass_getInterfaces_002.phpt16 $rc = new ReflectionClass('I7');
17 $interfaces = $rc->getInterfaces();
H A DReflectionFunction_isGenerator_basic.phpt41 $rc = new ReflectionClass('Foo');
42 foreach($rc->getMethods() as $m) {
H A DReflectionClass_getConstants_basic.phpt21 $rc = new ReflectionClass($class);
22 var_dump($rc->getConstants());
H A DReflectionClass_isSubclassOf_error2.phpt23 $rc = new ReflectionClass($class);
24 var_export($rc->isSubclassOf($base));
H A DReflectionClass_getProperty_001.phpt33 $rc = new ReflectionClass($class);
36 var_dump($rc->getProperty("s"));
42 var_dump($rc->getProperty("a"));
48 var_dump($rc->getProperty("A"));
54 var_dump($rc->getProperty("doesNotExist"));
H A DReflectionClass_getMethod_001.phpt33 $rc = new ReflectionClass($class);
35 var_dump($rc->getMethod("f"));
37 var_dump($rc->getMethod("s"));
39 var_dump($rc->getMethod("F"));
42 var_dump($rc->getMethod("doesNotExist"));
H A DReflectionObject_getConstants_basic.phpt21 $rc = new ReflectionObject(new $class);
22 var_dump($rc->getConstants());
H A DReflectionObject_getConstructor_basic.phpt38 $rc = new ReflectionObject(new $class);
39 $rm = $rc->getConstructor();
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_pattern_info.c299 int rc; in pcre2_callout_enumerate() local
407 rc = callback(&cb, callout_data); in pcre2_callout_enumerate()
408 if (rc != 0) return rc; in pcre2_callout_enumerate()
420 rc = callback(&cb, callout_data); in pcre2_callout_enumerate()
421 if (rc != 0) return rc; in pcre2_callout_enumerate()
/php-src/ext/reflection/tests/internal_parameter_default_value/
H A Dcheck_all.phpt24 $rc = new ReflectionClass($class);
25 foreach ($rc->getMethods() as $method) {
/php-src/ext/dom/tests/modern/html/interactions/
H A Dwithout_constructor.phpt10 $rc = new ReflectionClass($class);
11 $rc->newInstanceWithoutConstructor();
/php-src/ext/dom/tests/delayed_freeing/
H A Dwithout_contructor.phpt7 $rc = new ReflectionClass('DOMNode');
8 $node = $rc->newInstanceWithoutConstructor();
/php-src/ext/intl/tests/
H A Dcollator_get_error_code.phpt16 function check_rc( $rc, $expected )
18 return ( $rc === $expected ? "ok" : "failed" ) . "\n";
H A Dcollator_get_locale2.phpt30 $rc = ut_coll_get_locale( $coll, $locale );
35 dump( $rc ) );
H A Dbug62915-2.phpt27 $rc = new ReflectionClass($subclass);
28 $obj = $rc->newInstanceArgs($subclass::$ARGS);
/php-src/Zend/tests/type_declarations/
H A Dcallable_002.phpt19 $rc = new ReflectionFunction($closure);
20 var_dump($rc->getParameters()[0]->isCallable());
/php-src/ext/sqlite3/tests/
H A Dsqlite3_trampoline_setauthorizer_no_leak.phpt25 $rc = new ReflectionClass(SQLite3::class);
26 $obj = $rc->newInstanceWithoutConstructor();
/php-src/ext/reflection/tests/types/
H A Dintersection_types.phpt24 $rc = new ReflectionClass(Test::class);
25 $rp = $rc->getProperty('prop');
37 $rp = $rc->getProperty('prop');
H A Ddnf_types_with_null.phpt28 $rc = new ReflectionClass(Test::class);
29 $rp = $rc->getProperty('prop');
41 $rp = $rc->getProperty('prop');
/php-src/ext/date/lib/
H A Dastro.c225 int rc = 0; /* Return cde from function - usually 0 */ in timelib_astro_rise_set_altitude() local
270 rc = -1; in timelib_astro_rise_set_altitude()
275 rc = +1; in timelib_astro_rise_set_altitude()
296 return rc; in timelib_astro_rise_set_altitude()
/php-src/sapi/cli/tests/
H A D005.phpt12 var_dump(`$php -n --rc unknown`);
13 var_dump(`$php -n --rc stdclass`);
14 var_dump(`$php -n --rc exception`);
/php-src/ext/standard/tests/strings/
H A Dbug72434.phpt12 // Increment the reference counter by 1 -> rc is 0
14 // Increment the reference counter by 1 again -> rc is 1

Completed in 50 milliseconds

1234567