Home
last modified time | relevance | path

Searched refs:rf (Results 1 – 25 of 33) sorted by relevance

12

/PHP-8.2/ext/reflection/tests/
H A DReflectionFunction_isAnonymous.phpt5 $rf = new ReflectionFunction(function() {});
6 var_dump($rf->isAnonymous());
8 $rf = new ReflectionFunction('strlen');
9 var_dump($rf->isAnonymous());
11 $rf = new ReflectionFunction(strlen(...));
12 var_dump($rf->isAnonymous());
H A DReflectionFunction_getClosureScopeClass.phpt6 $rf = new ReflectionFunction($closure);
7 var_dump($rf->getClosureScopeClass());
16 $rf = new ReflectionFunction($closure);
17 var_dump($rf->getClosureScopeClass());
H A DReflectionFunction_isDisabled_basic.phpt11 $rf = new ReflectionFunction('is_file');
12 var_dump($rf->isDisabled());
17 $rf = new ReflectionFunction('is_string');
18 var_dump($rf->isDisabled());
H A Dnew_in_constexpr.phpt11 $rf = new ReflectionFunction('test1');
12 $s = $rf->getStaticVariables();
19 $rf = new ReflectionFunction('test2');
20 $rp = $rf->getParameters()[0];
H A Dbug70982.phpt17 $rf = new ReflectionClass('Bar');
18 $rf->setStaticPropertyValue('abc', 'hi');
19 $foo = $rf->newInstance();
H A DReflectionMethod_getClosureThis.phpt29 $rf = new ReflectionFunction($closure);
31 var_dump($rf->getClosureThis());
36 $rf = new ReflectionFunction($closure);
38 var_dump($rf->getClosureThis());
H A DReflectionFunction_getClosureThis.phpt6 $rf = new ReflectionFunction($closure);
7 var_dump($rf->getClosureThis());
/PHP-8.2/ext/random/tests/01_functions/
H A Dreflection.phpt5 $rf = new ReflectionFunction('random_bytes');
6 var_dump($rf->getNumberOfParameters());
7 var_dump($rf->getNumberOfRequiredParameters());
9 $rf = new ReflectionFunction('random_int');
10 var_dump($rf->getNumberOfParameters());
11 var_dump($rf->getNumberOfRequiredParameters());
/PHP-8.2/ext/reflection/tests/internal_parameter_default_value/
H A Dcheck_all.phpt6 function checkDefaults(ReflectionFunctionAbstract $rf) {
7 foreach ($rf->getParameters() as $param) {
12 echo "{$rf->getName()}: {$e->getMessage()}\n";
19 $rf = new ReflectionFunction($func);
20 checkDefaults($rf);
/PHP-8.2/ext/mysqli/tests/
H A Dbug74737.phpt8 $rf = new ReflectionFunction('mysqli_get_client_info');
9 echo $rf->getNumberOfParameters();
11 echo $rf->getNumberOfRequiredParameters();
H A Dbug75434.phpt7 $rf = new ReflectionFunction('mysqli_fetch_all');
8 var_dump($rf->getNumberOfParameters());
9 var_dump($rf->getNumberOfRequiredParameters());
/PHP-8.2/ext/standard/tests/file/windows_mb_path/
H A Dtest_cp1250_to_utf8_4.phpt23 $item = "Árvíztűrő tükörfúrógép"; // cp1250 specific chars
46 getting basename of %s\Árvíztűrő tükörfúrógép42\Árvíztűrő tükörfúrógép4
47 string(32) "Árvíztűrő tükörfúrógép4"
49 string(%d) "%s\Árvíztűrő tükörfúrógép42\Árvíztűrő tükörfúrógép4"
H A Dtest_cp1250_to_utf8_5.phpt23 $item = "Árvíztűrő tükörfúrógép"; // cp1250 specific chars
48 getting basename of %s\Árvíztűrő tükörfúrógép33
49 string(33) "Árvíztűrő tükörfúrógép33"
51 string(%d) "%s\Árvíztűrő tükörfúrógép33"
/PHP-8.2/ext/intl/tests/
H A Dbug74705.phpt11 $rf = new ReflectionFunction('collator_get_sort_key');
12 var_dump($rf->getNumberOfParameters());
13 var_dump($rf->getNumberOfRequiredParameters());
H A Dbug74468.phpt13 $rf = new ReflectionFunction('collator_sort_with_sort_keys');
14 var_dump($rf->getNumberOfParameters());
15 var_dump($rf->getNumberOfRequiredParameters());
/PHP-8.2/sapi/cli/tests/
H A D004.phpt12 var_dump(`$php -n --rf unknown`);
13 var_dump(`$php -n --rf echo`);
14 var_dump(`$php -n --rf phpinfo`);
/PHP-8.2/ext/gd/libgd/
H A Dgd_filter.c236 double rf,gf,bf; in gdImageContrast() local
259 rf = (double)r/255.0; in gdImageContrast()
260 rf = rf-0.5; in gdImageContrast()
261 rf = rf*contrast; in gdImageContrast()
262 rf = rf+0.5; in gdImageContrast()
263 rf = rf*255.0; in gdImageContrast()
277 rf = (rf > 255.0)? 255.0 : ((rf < 0.0)? 0.0:rf); in gdImageContrast()
281 new_pxl = gdImageColorAllocateAlpha(src, (int)rf, (int)gf, (int)bf, a); in gdImageContrast()
283 new_pxl = gdImageColorClosestAlpha(src, (int)rf, (int)gf, (int)bf, a); in gdImageContrast()
/PHP-8.2/Zend/tests/attributes/
H A D029_reflect_internal_symbols.phpt6 $rf = new ReflectionFunction('unserialize');
7 var_dump($rf->getAttributes());
/PHP-8.2/Zend/tests/type_declarations/
H A Dcallable_002.phpt13 $rf = new ReflectionFunction("foo");
14 var_dump($rf->getParameters()[0]->isCallable());
/PHP-8.2/build/
H A DMakefile.gcov44 rm -rf lcov_html/
51 @rm -rf gcovr_html/
/PHP-8.2/ext/zlib/tests/
H A Dgzopen_variation9.phpt9 $modes = array('r+', 'rf', 'w+' , 'e');
31 mode=rf
/PHP-8.2/ext/reflection/tests/types/
H A DReflectionType_001.phpt23 ] as $idx => $rf) {
24 foreach ($rf->getParameters() as $idx2 => $rp) {
66 ] as $idx => $rf) {
68 var_dump($rf->hasReturnType());
69 $ra = $rf->getReturnType();
/PHP-8.2/ext/session/
H A Dmod_files.sh43 rm -rf $directory/*
/PHP-8.2/ext/dba/
H A Dinstall_cdb.sh47 rm -rf tmp
/PHP-8.2/Zend/tests/named_params/
H A Dcall_user_func.phpt60 $rf = new ReflectionFunction($test);
61 $rf->invoke('A', c: 'C');
62 $rf->invokeArgs(['A', 'c' => 'C']);

Completed in 23 milliseconds

12