/PHP-7.4/tests/classes/ |
H A D | autoload_017.phpt | 10 $rc = new ReflectionClass("stdClass"); 13 $rc->implementsInterface("UndefI");
|
/PHP-7.4/ext/reflection/tests/ |
H A D | ReflectionClass_getConstant_basic.phpt | 21 $rc = new ReflectionClass($class); 22 var_dump($rc->getConstant('a')); 23 var_dump($rc->getConstant('doesntexist'));
|
H A D | ReflectionClass_isSubclassOf_error1.phpt | 6 $rc = new ReflectionClass('A'); 8 var_dump($rc->isSubclassOf('X'));
|
H A D | ReflectionClass_getExtension_basic.phpt | 10 $rc=new reflectionClass('domDocument'); 11 var_dump($rc->getExtension()) ;
|
H A D | bug75186.phpt | 6 $rc = new ReflectionClass(Closure::class); 7 foreach ($rc->getMethods() as $method) {
|
H A D | bug78774.phpt | 10 $rc = new ReflectionClass(Test::class); 11 $rp = $rc->getProperty('prop');
|
H A D | ReflectionClass_hasMethod_001.phpt | 33 $rc = new ReflectionClass($class); 35 var_dump($rc->hasMethod("f")); 37 var_dump($rc->hasMethod("s")); 39 var_dump($rc->hasMethod("F")); 41 var_dump($rc->hasMethod("doesntExist"));
|
H A D | ReflectionClass_hasProperty_001.phpt | 33 $rc = new ReflectionClass($class); 35 var_dump($rc->hasProperty("s")); 37 var_dump($rc->hasProperty("a")); 39 var_dump($rc->hasProperty("A")); 41 var_dump($rc->hasProperty("doesntExist"));
|
H A D | ReflectionClass_CannotClone_basic.phpt | 8 $rc = new ReflectionClass("stdClass"); 9 $rc2 = clone($rc);
|
H A D | ReflectionObject_getConstant_basic.phpt | 21 $rc = new ReflectionObject(new $class); 22 var_dump($rc->getConstant('a')); 23 var_dump($rc->getConstant('doesntexist'));
|
H A D | bug43926.phpt | 18 $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 D | ReflectionClass_newInstanceArgs_002.phpt | 13 $rc = new ReflectionClass('A'); 14 $a = $rc->newInstanceArgs('x');
|
H A D | ReflectionClass_getInterfaces_002.phpt | 16 $rc = new ReflectionClass('I7'); 17 $interfaces = $rc->getInterfaces();
|
H A D | ReflectionFunction_isGenerator_basic.phpt | 41 $rc = new ReflectionClass('Foo'); 42 foreach($rc->getMethods() as $m) {
|
H A D | ReflectionClass_isSubclassOf_error2.phpt | 19 $rc = new ReflectionClass($class); 20 var_export($rc->isSubclassOf($base));
|
/PHP-7.4/ext/odbc/tests/ |
H A D | bug73725.phpt | 17 $rc = odbc_do($conn, "SELECT i, txt, k FROM bug73725"); 19 $r = odbc_fetch_array($rc); 22 $r = odbc_fetch_array($rc);
|
/PHP-7.4/ext/phar/tests/ |
H A D | bug74383.phpt | 7 $rc = new ReflectionClass(Phar::class); 8 $rm = $rc->getMethod("running");
|
/PHP-7.4/Zend/tests/traits/ |
H A D | bug60173.phpt | 8 $rc = new ReflectionClass('foo'); 9 $rc->newInstance();
|
/PHP-7.4/Zend/tests/type_declarations/ |
H A D | callable_002.phpt | 19 $rc = new ReflectionFunction($closure); 20 var_dump($rc->getParameters()[0]->isCallable());
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | 011.phpt | 20 $rc = mysqli_query($link, "CREATE TABLE test_bind_result(c1 tinyint, c2 smallint, 25 if (!$rc) 28 $rc = mysqli_query($link,"INSERT INTO test_bind_result VALUES(19,2999,3999,4999999, 31 if (!$rc)
|
H A D | 002.phpt | 19 $rc = mysqli_query($link,"CREATE TABLE test_fetch_null(col1 tinyint, col2 smallint, 27 if (!$rc) 30 …$rc = mysqli_query($link, "INSERT INTO test_fetch_null(col1,col10, col11) VALUES(1,'foo1', 1000),(… 31 if (!$rc)
|
/PHP-7.4/ext/pcre/pcre2lib/ |
H A D | pcre2_dfa_match.c | 2700 if (rc != 0) return rc; in internal_dfa_match() 2724 if (rc < 0 && rc != PCRE2_ERROR_NOMATCH) return rc; in internal_dfa_match() 2799 if (rc != 0) return rc; in internal_dfa_match() 2823 if (rc < 0 && rc != PCRE2_ERROR_NOMATCH) return rc; in internal_dfa_match() 2848 if (rc != 0) return rc; in internal_dfa_match() 2897 for (rc = rc*2 - 2; rc >= 0; rc -= 2) in internal_dfa_match() 2941 if (rc != 0) return rc; in internal_dfa_match() 3040 if (rc != 0) return rc; in internal_dfa_match() 3244 int rc; in pcre2_dfa_match() local 3922 match_data->rc = rc; in pcre2_dfa_match() [all …]
|
H A D | pcre2_pattern_info.c | 299 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-7.4/ext/mysqli/ |
H A D | mysqli_prop.c | 161 my_ulonglong rc; in link_affected_rows_read() local 172 rc = mysql_affected_rows(mysql->mysql); in link_affected_rows_read() 174 if (rc == (my_ulonglong) -1) { in link_affected_rows_read() 179 if (rc < ZEND_LONG_MAX) { in link_affected_rows_read() 180 ZVAL_LONG(retval, (zend_long) rc); in link_affected_rows_read() 182 ZVAL_NEW_STR(retval, strpprintf(0, MYSQLI_LLU_SPEC, rc)); in link_affected_rows_read() 328 my_ulonglong rc; in stmt_affected_rows_read() local 337 rc = mysql_stmt_affected_rows(p->stmt); in stmt_affected_rows_read() 339 if (rc == (my_ulonglong) -1) { in stmt_affected_rows_read() 344 if (rc < ZEND_LONG_MAX) { in stmt_affected_rows_read() [all …]
|
/PHP-7.4/ext/intl/tests/ |
H A D | collator_get_error_code.phpt | 16 function check_rc( $rc, $expected ) 18 return ( $rc === $expected ? "ok" : "failed" ) . "\n";
|