/php-src/ext/reflection/tests/ |
H A D | closures_001.phpt | 9 $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 D | ReflectionAttribute_constructor_001.phpt | 13 $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 D | closures_002.phpt | 10 $rm = new ReflectionMethod(new Test, '__invoke'); 11 var_dump($rm->getName()); 12 var_dump($rm->getNumberOfParameters()); 13 var_dump($rm->getNumberOfRequiredParameters());
|
H A D | ReflectionClass_getConstructor_basic.phpt | 15 $rm = $rc->getConstructor(); 16 if ($rm != null) { 17 echo "Constructor of $class: " . $rm->getName() . "\n";
|
H A D | default_value_internal_userland_arginfo.phpt | 7 $rm = $ro->getMethod('__invoke'); 8 echo $rm, "\n"; 10 $rp = $rm->getParameters()[0];
|
H A D | static_type.phpt | 12 $rm = new ReflectionMethod(A::class, 'test'); 13 $rt = $rm->getReturnType();
|
H A D | ReflectionMethod_invoke_on_abstract_method_after_setAccessible.phpt | 10 $rm = new ReflectionMethod('Test', 'foo'); 12 var_dump($rm->invoke(null));
|
H A D | ReflectionObject_getConstructor_basic.phpt | 39 $rm = $rc->getConstructor(); 40 if ($rm != null) { 41 echo "Constructor of $class: " . $rm->getName() . "\n";
|
/php-src/ext/intl/tests/ |
H A D | bug74433.phpt | 7 $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 D | bug74705.phpt | 7 $rm = new ReflectionMethod(Collator::class, 'getSortKey'); 8 var_dump($rm->getNumberOfParameters()); 9 var_dump($rm->getNumberOfRequiredParameters());
|
H A D | bug74468.phpt | 9 $rm = new ReflectionMethod(Collator::class, 'sortWithSortKeys'); 10 var_dump($rm->getNumberOfParameters()); 11 var_dump($rm->getNumberOfRequiredParameters());
|
H A D | locale_bug74439.phpt | 30 $rm = new ReflectionMethod(Locale::class, $method); 31 …printf("%s: %d, %d\n", $method, $rm->getNumberOfParameters(), $rm->getNumberOfRequiredParameters()…
|
H A D | bug75318.phpt | 7 $rm = new ReflectionMethod('UConverter', 'getAliases'); 8 var_dump($rm->getNumberOfRequiredParameters());
|
/php-src/build/ |
H A D | Makefile.global | 45 @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 D | Makefile.gcov | 41 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 D | bug74383.phpt | 8 $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 D | ReflectionType_002.phpt | 7 $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 D | bug74416.phpt | 7 $rm = new ReflectionMethod(DOMNode::class, "cloneNode"); 8 printf("%d\n%d\n", $rm->getNumberOfParameters(), $rm->getNumberOfRequiredParameters()); 9 foreach ($rm->getParameters() as $param) {
|
H A D | gh16190.phpt | 9 $rm = new ReflectionMethod($doc, '__construct'); 11 $rm->invoke($doc);
|
/php-src/ext/xmlreader/tests/ |
H A D | bug74457.phpt | 7 $rm = new ReflectionMethod(XMLReader::class, 'expand'); 8 var_dump($rm->getNumberOfParameters()); 9 var_dump($rm->getNumberOfRequiredParameters());
|
/php-src/Zend/tests/closures/ |
H A D | closure_042.phpt | 9 $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 D | bug75434.phpt | 11 $rm = new ReflectionMethod('mysqli_result', 'fetch_all'); 12 var_dump($rm->getNumberOfParameters()); 13 var_dump($rm->getNumberOfRequiredParameters());
|
/php-src/Zend/tests/traits/ |
H A D | gh12854.phpt | 33 $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 D | bug50174.phpt | 14 $rm = new ReflectionMethod('TestClass', 'x'); 15 var_dump($rm->getDocComment());
|
/php-src/Zend/tests/attributes/ |
H A D | 029_reflect_internal_symbols.phpt | 12 $rm = $rc->getMethod('__construct'); 13 var_dump($rm->getAttributes());
|