Home
last modified time | relevance | path

Searched refs:rm (Results 1 – 25 of 56) sorted by relevance

123

/php-src/ext/reflection/tests/
H A Dclosures_001.phpt9 $rm = $ro->getMethod('__invoke');
10 var_dump($rm->getNumberOfParameters());
11 var_dump($rm->getNumberOfRequiredParameters());
13 foreach($rms as $rm) {
14 if ($rm->getName() == '__invoke') {
15 var_dump($rm->getNumberOfParameters());
16 var_dump($rm->getNumberOfRequiredParameters());
22 $rm = new ReflectionMethod($closure, '__invoke');
23 var_dump($rm->getName());
24 var_dump($rm->getNumberOfParameters());
[all …]
H A DReflectionAttribute_constructor_001.phpt13 $rm = new ReflectionMethod(Foo::class, "bar");
14 $attribute = $rm->getAttributes()[0];
16 $rm = new ReflectionMethod($attribute, "__construct");
19 var_dump($rm->invoke($attribute, 0, 1, 2));
H A Dclosures_002.phpt10 $rm = new ReflectionMethod(new Test, '__invoke');
11 var_dump($rm->getName());
12 var_dump($rm->getNumberOfParameters());
13 var_dump($rm->getNumberOfRequiredParameters());
H A DReflectionClass_getConstructor_basic.phpt15 $rm = $rc->getConstructor();
16 if ($rm != null) {
17 echo "Constructor of $class: " . $rm->getName() . "\n";
H A Ddefault_value_internal_userland_arginfo.phpt7 $rm = $ro->getMethod('__invoke');
8 echo $rm, "\n";
10 $rp = $rm->getParameters()[0];
H A Dstatic_type.phpt12 $rm = new ReflectionMethod(A::class, 'test');
13 $rt = $rm->getReturnType();
H A DReflectionMethod_invoke_on_abstract_method_after_setAccessible.phpt10 $rm = new ReflectionMethod('Test', 'foo');
12 var_dump($rm->invoke(null));
H A DReflectionObject_getConstructor_basic.phpt39 $rm = $rc->getConstructor();
40 if ($rm != null) {
41 echo "Constructor of $class: " . $rm->getName() . "\n";
/php-src/ext/intl/tests/
H A Dbug74433.phpt7 $rm = new ReflectionMethod(Normalizer::class, 'isNormalized');
8 var_dump($rm->getNumberOfParameters());
9 var_dump($rm->getNumberOfRequiredParameters());
10 $rm = new ReflectionMethod(Normalizer::class, 'normalize');
11 var_dump($rm->getNumberOfParameters());
12 var_dump($rm->getNumberOfRequiredParameters());
H A Dbug74705.phpt7 $rm = new ReflectionMethod(Collator::class, 'getSortKey');
8 var_dump($rm->getNumberOfParameters());
9 var_dump($rm->getNumberOfRequiredParameters());
H A Dbug74468.phpt9 $rm = new ReflectionMethod(Collator::class, 'sortWithSortKeys');
10 var_dump($rm->getNumberOfParameters());
11 var_dump($rm->getNumberOfRequiredParameters());
H A Dlocale_bug74439.phpt30 $rm = new ReflectionMethod(Locale::class, $method);
31 …printf("%s: %d, %d\n", $method, $rm->getNumberOfParameters(), $rm->getNumberOfRequiredParameters()…
H A Dbug75318.phpt7 $rm = new ReflectionMethod('UConverter', 'getAliases');
8 var_dump($rm->getNumberOfRequiredParameters());
/php-src/build/
H A DMakefile.global45 @rm -f modules/*.la >/dev/null 2>&1
108 rm $(top_builddir)/tmp-php.ini; \
118 find . -name \*.so | xargs rm -f
121 rm -f ext/opcache/jit/ir/gen_ir_fold_hash
122 rm -f ext/opcache/jit/ir/minilua
123 rm -f ext/opcache/jit/ir/ir_fold_hash.h
124 rm -f ext/opcache/jit/ir/ir_emit_x86.h
129 rm -f main/build-defs.h scripts/phpize
135 rm -f ext/phar/phar/phar.inc; \
140 find . -name \*.gcda | xargs rm -f
[all …]
H A DMakefile.gcov41 rm -f php_lcov.info
42 rm -rf lcov_html/
45 @find . -name \*.gcda -o -name \*.da -o -name \*.bbg? | xargs rm -f
49 @rm -rf gcovr_html/
57 @rm -f gcovr.xml
/php-src/ext/phar/tests/
H A Dbug74383.phpt8 $rm = $rc->getMethod("running");
9 echo $rm->getNumberOfParameters();
11 echo $rm->getNumberOfRequiredParameters();
13 echo (int) $rm->getParameters()[0]->isOptional();
/php-src/ext/reflection/tests/types/
H A DReflectionType_002.phpt7 $rm = new ReflectionMethod($closure, '__invoke');
8 $rp = $rm->getParameters()[0];
10 $rrt = $rm->getReturnType();
11 unset($rm, $rp);
/php-src/ext/dom/tests/
H A Dbug74416.phpt7 $rm = new ReflectionMethod(DOMNode::class, "cloneNode");
8 printf("%d\n%d\n", $rm->getNumberOfParameters(), $rm->getNumberOfRequiredParameters());
9 foreach ($rm->getParameters() as $param) {
H A Dgh16190.phpt9 $rm = new ReflectionMethod($doc, '__construct');
11 $rm->invoke($doc);
/php-src/ext/xmlreader/tests/
H A Dbug74457.phpt7 $rm = new ReflectionMethod(XMLReader::class, 'expand');
8 var_dump($rm->getNumberOfParameters());
9 var_dump($rm->getNumberOfRequiredParameters());
/php-src/Zend/tests/closures/
H A Dclosure_042.phpt9 $rm = new ReflectionFunction($d);
10 var_dump($rm->getClosureScopeClass()->name); //dummy scope is Closure
15 $rm = new ReflectionFunction($d);
16 var_dump($rm->getClosureScopeClass()->name); //dummy scope is Closure
/php-src/ext/mysqli/tests/
H A Dbug75434.phpt11 $rm = new ReflectionMethod('mysqli_result', 'fetch_all');
12 var_dump($rm->getNumberOfParameters());
13 var_dump($rm->getNumberOfRequiredParameters());
/php-src/Zend/tests/traits/
H A Dgh12854.phpt33 $rm = new ReflectionMethod(Test::class, $method);
34 var_dump($rm->isFinal());
35 var_dump($rm->isPublic());
36 var_dump($rm->isProtected());
37 var_dump($rm->isPrivate());
/php-src/Zend/tests/
H A Dbug50174.phpt14 $rm = new ReflectionMethod('TestClass', 'x');
15 var_dump($rm->getDocComment());
/php-src/Zend/tests/attributes/
H A D029_reflect_internal_symbols.phpt12 $rm = $rc->getMethod('__construct');
13 var_dump($rm->getAttributes());

Completed in 26 milliseconds

123