Lines Matching refs:return
7 function bar(): stdClass { return new stdClass; }
10 function bar(self $x): int { return 1; }
11 function pbar(parent $x): int { return 1; }
12 function factory(): self { return new c; }
13 function pfactory(): parent { return new stdClass; }
16 $closure = function (Test $a): Test { return $a; };
56 echo "\n*** return types\n";
67 echo "** Function/method return type $idx\n";
181 *** return types
182 ** Function/method return type 0
184 ** Function/method return type 1
189 ** Function/method return type 2
194 ** Function/method return type 3
199 ** Function/method return type 4
204 ** Function/method return type 5
209 ** Function/method return type 6