Home
last modified time | relevance | path

Searched refs:return (Results 151 – 175 of 3074) sorted by relevance

12345678910>>...123

/PHP-8.2/Zend/tests/type_declarations/variance/
H A Dsuppressed_incompatible_return_type.phpt2 …notice can be suppressed when the return type/value of the overriding method is incompatible with …
9 * @return DateTime|false
13 return false;
/PHP-8.2/Zend/tests/generators/
H A Dyield_in_finally.phpt8 echo "before return\n";
9 return;
10 echo "after return\n";
26 before return
/PHP-8.2/Zend/tests/enum/
H A Dast-dumper.phpt19 return $this;
23 return false;
42 return $this;
47 return false;
/PHP-8.2/Zend/tests/
H A Dobjects_021.phpt14 return x();
18 return x();
22 return x();
27 return new test;
H A Dclosure_bug66622.phpt6 static function name() { return 'A'; }
8 $fn = function() { return static::name(); };
12 $fn = static function() { return static::name(); };
16 $fn = function() { return static::name(); };
21 static function name() { return 'B'; }
H A Dgh10935.phpt9 return self::$test;
13 return static::$test;
18 return self::$test;
22 return static::$test;
31 return self::$test;
35 return static::$test;
43 return self::$test;
47 return static::$test;
H A Dbug38779.phpt13 return true;
18 return $ret;
21 return $this->position >= strlen($this->data);
24 return array('size' => strlen($this->data));
27 return false;
/PHP-8.2/tests/lang/
H A Dengine_assignExecutionOrder_006.phpt8 return 0;
13 return 0;
18 return 0;
23 return 0;
28 return 0;
33 return 0;
/PHP-8.2/ext/soap/tests/interop/Round4/GroupI/
H A Dr4_groupI_xsd_010w.phpt20 …s1:echoIntegerMultiOccursResponse><ns1:return>22</ns1:return><ns1:return>29</ns1:return><ns1:retur…
H A Dr4_groupI_xsd_012w.phpt20 …:echoStringMultiOccursResponse><ns1:return>arg1</ns1:return><ns1:return>arg2</ns1:return><ns1:retu…
/PHP-8.2/Zend/tests/fibers/
H A Dget-return-from-unstarted-fiber.phpt12 … error: Uncaught FiberError: Cannot get fiber return value: The fiber has not been started in %sge…
14 #0 %sget-return-from-unstarted-fiber.php(%d): Fiber->getReturn()
16 thrown in %sget-return-from-unstarted-fiber.php on line %d
H A Dget-return-after-bailout.phpt25 Fatal error: Allowed memory size of %d bytes exhausted%s(tried to allocate %d bytes) %sget-return-a…
27 …rror: Uncaught FiberError: Cannot get fiber return value: The fiber exited with a fatal error in %…
29 #0 %sget-return-after-bailout.php(%d): Fiber->getReturn()
32 thrown in %sget-return-after-bailout.php on line %d
H A Dget-return-in-unfinished-fiber.phpt16 …al error: Uncaught FiberError: Cannot get fiber return value: The fiber has not returned in %sget-
18 #0 %sget-return-in-unfinished-fiber.php(%d): Fiber->getReturn()
20 thrown in %sget-return-in-unfinished-fiber.php on line %d
/PHP-8.2/Zend/tests/type_declarations/iterable/
H A Diterable_005.phpt8 return [];
14 return [];
20 return new ArrayIterator([]);
26 return 1;
/PHP-8.2/ext/standard/tests/streams/
H A Dbug60455_02.phpt9 return true;
13 return "a\n";
15 return "";
18 return $this->s >= 2;
H A Dbug60455_04.phpt10 return true;
14 return "a\n";
16 return "";
19 return $this->s >= 2;
/PHP-8.2/ext/reflection/tests/types/
H A DReflectionType_001.phpt10 function bar(self $x): int { return 1; }
12 function factory(): self { return new c; }
56 echo "\n*** return types\n";
180 *** return types
181 ** Function/method return type 0
183 ** Function/method return type 1
188 ** Function/method return type 2
193 ** Function/method return type 3
198 ** Function/method return type 4
203 ** Function/method return type 5
[all …]
/PHP-8.2/ext/standard/tests/file/
H A Duserstreams_005.phpt9 return true;
12 return false;
18 return true;
24 return "kkk";
47 test("stream_truncate bad return", $fd3, 0);
65 ------ stream_truncate bad return: -------
68 Warning: ftruncate(): test_wrapper_bad::stream_truncate did not return a boolean! in %s on line %d
/PHP-8.2/ext/session/tests/
H A Dgh12504.phpt12 return true;
16 return true;
20 return 0;
24 return true;
29 return 'before|i:1234;test|O:4:"Test":0:{}after|i:5678;';
35 return true;
50 return true;
/PHP-8.2/ext/standard/tests/array/
H A Darray_uintersect_uassoc_basic.phpt2 array_uintersect_uassoc(): Test return type and value for expected input
14 if ($a->priv_member === $b->priv_member) return 0;
15 return ($a->priv_member > $b->priv_member) ? 1 : -1;
18 if ($a === $b) return 0;
19 return ($a > $b) ? 1 : -1;
/PHP-8.2/Zend/tests/varSyntax/
H A DindirectFcall.phpt6 function id($x = 'id') { return $x; }
18 $id = function($x) { return $x; };
22 (function($x) { return $x; })('id')('var_dump')(8);
25 return $x ?: $f;
29 public static function id($x = [__CLASS__, 'id']) { return $x; }
/PHP-8.2/ext/opcache/tests/jit/
H A Dshift_right_002.phpt13 return $a >> 0;
16 return $a >> 1;
19 return $a >> 2;
22 return $a >> 64;
25 return $a >> -1;
H A Dclosure_001.phpt17 return function () {
18 return function () {
19 return function () {
20 return 42;
/PHP-8.2/ext/session/tests/user_session_module/
H A Dsession_set_save_handler_type_error2.phpt8 $validCallback = function () { return true; };
9 $nullCallback = function () { return; };
10 $oneCallback = function () { return 1; };
32 Session callback must have a return value of type bool, null returned
35 Session callback must have a return value of type bool, int returned
/PHP-8.2/ext/opcache/tests/
H A Dbug73789.phpt21 return $type;
23 return self::T_STRING;
25 return self::T_DOT;
28 return $type;

Completed in 33 milliseconds

12345678910>>...123