Home
last modified time | relevance | path

Searched refs:getReturnType (Results 1 – 21 of 21) sorted by relevance

/php-src/ext/reflection/tests/
H A Dbug80190.phpt27 print ' $method->getReturnType() returns ' . get_class($method->getReturnType()) . PHP_EOL;
28 … print ' $method->getReturnType()->__toString() returns ' . $method->getReturnType() . PHP_EOL;
30 if ($method->getReturnType() instanceof ReflectionUnionType) {
31 …print ' $method->getReturnType()->getTypes() returns an array with ' . count($method->getReturn…
37 foreach ($method->getReturnType()->getTypes() as $type) {
50 $method->getReturnType() returns ReflectionNamedType
51 $method->getReturnType()->__toString() returns self
54 $method->getReturnType() returns ReflectionUnionType
60 $method->getReturnType() returns ReflectionNamedType
61 $method->getReturnType()->__toString() returns static
[all …]
H A DReflectionNamedType.phpt16 $return = $function->getReturnType();
25 $return = $function->getReturnType();
H A Dstatic_type.phpt13 $rt = $rm->getReturnType();
H A Dbug69802.phpt10 echo $r->getReturnType()->getName(), "\n";
H A DReflectionMethod_tentative_return_type.phpt18 var_dump((string) $methodInfo->getReturnType());
H A Diterable_Reflection.phpt16 $returnType = $reflectionFunc->getReturnType();
/php-src/Zend/tests/object_types/
H A Dreturn_type_reflection.phpt16 $returnTypeOne = (new ReflectionClass(One::class))->getMethod('a')->getReturnType();
19 $returnTypeTwo = (new ReflectionClass(Two::class))->getMethod('a')->getReturnType();
22 $returnTypea = (new ReflectionFunction('a'))->getReturnType();
/php-src/ext/reflection/tests/types/
H A Dunion_types.phpt35 dumpType((new ReflectionFunction('test1'))->getReturnType());
36 dumpType((new ReflectionFunction('test2'))->getReturnType());
37 dumpBCType((new ReflectionFunction('test3'))->getReturnType());
38 dumpBCType((new ReflectionFunction('test4'))->getReturnType());
39 dumpType((new ReflectionFunction('test5'))->getReturnType());
40 dumpBCType((new ReflectionFunction('test6'))->getReturnType());
41 dumpBCType((new ReflectionFunction('test7'))->getReturnType());
H A Dmixed_type.phpt19 var_dump($method->getReturnType()->getName());
23 var_dump((string) $method->getReturnType());
H A DReflectionType_002.phpt10 $rrt = $rm->getReturnType();
H A DReflectionType_possible_types.phpt22 $returnType = $reflectionFunc->getReturnType();
H A Dintersection_types.phpt22 dumpType((new ReflectionFunction('test1'))->getReturnType());
H A Ddnf_types_with_null.phpt26 dumpType((new ReflectionFunction('test1'))->getReturnType());
H A Ddnf_types.phpt26 dumpType((new ReflectionFunction('test1'))->getReturnType());
H A DReflectionType_001.phpt69 $ra = $rf->getReturnType();
/php-src/Zend/tests/return_types/
H A Dnever_reflected.phpt8 $neverType = (new ReflectionFunction('foo'))->getReturnType();
/php-src/ext/zend_test/tests/
H A Dinternal_dnf_arguments.phpt11 var_dump((string)$rf->getReturnType());
/php-src/ext/reflection/
H A Dphp_reflection.stub.php108 public function getReturnType(): ?ReflectionType {} function in ReflectionFunctionAbstract
H A Dphp_reflection_arginfo.h662 ZEND_METHOD(ReflectionFunctionAbstract, getReturnType);
916 …ZEND_ME(ReflectionFunctionAbstract, getReturnType, arginfo_class_ReflectionFunctionAbstract_getRet…
H A Dphp_reflection.c3640 ZEND_METHOD(ReflectionFunctionAbstract, getReturnType) in ZEND_METHOD() argument
/php-src/build/
H A Dgen_stub.php4258 $returnType = $func->getReturnType();

Completed in 86 milliseconds