Home
last modified time | relevance | path

Searched refs:return (Results 76 – 100 of 3006) sorted by relevance

12345678910>>...121

/PHP-8.2/tests/lang/
H A DreturnByReference.003.phpt6 return 100;
10 return 100;
14 return $GLOBALS['a'];
17 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:…
24 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan…
31 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
40 ---> 1. Trying to assign by reference the return value of a function that returns by value:
46 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
52 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
H A DreturnByReference.004.phpt7 return 100;
11 return 100;
15 return $GLOBALS['a'];
19 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:…
26 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan…
33 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
42 ---> 1. Trying to assign by reference the return value of a function that returns by value:
48 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
54 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
H A DreturnByReference.005.phpt7 return 100;
11 return 100;
15 return $GLOBALS['a'];
20 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:…
27 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan…
34 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
43 ---> 1. Trying to assign by reference the return value of a function that returns by value:
49 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
55 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
/PHP-8.2/ext/opcache/tests/
H A Dbug78015.phpt14 return $d;
21 return $d;
28 return $d;
35 return $d;
42 return $d;
50 return $d;
60 return $y;
73 return $ret[0];
79 return serialize($a['b']);
/PHP-8.2/ext/random/tests/03_randomizer/
H A Dengine_unsafe_empty_string.phpt13 return '';
19 return new Randomizer(new EmptyStringEngine());
66 A random engine must return a non-empty string
67 A random engine must return a non-empty string
68 A random engine must return a non-empty string
69 A random engine must return a non-empty string
70 A random engine must return a non-empty string
71 A random engine must return a non-empty string
72 A random engine must return a non-empty string
/PHP-8.2/ext/opcache/tests/opt/
H A Dverify_return_type.phpt18 return $i;
21 return $this->getIntOrFloat();
27 return 42;
30 return $this->getInt();
33 return $i;
37 // but a child method may return int|float.
38 return $this->getIntOrFloat($i);
44 return true;
48 return $this->getBool();
53 return new stdClass;
[all …]
/PHP-8.2/ext/standard/tests/file/
H A Duserstreams_002.phpt9 return true;
12 return false;
17 return $this->return_value;
41 test("return value is false", $fd, false);
42 test("return value not a stream resource", $fd, "foo");
43 test("return value is stream itself", $fd, $fd);
44 test("return value cannot be casted", $fd, $fd2);
61 ------ return value is false: -------
66 ------ return value not a stream resource: -------
73 ------ return value is stream itself: -------
[all …]
H A Dinclude_userstream_003.phpt18 return !empty($this->stream);
25 return true;
35 return $ret;
43 return $this->pos;
63 return true;
65 return false;
71 return true;
73 return false;
79 return true;
81 return false;
[all …]
/PHP-8.2/ext/standard/
H A Dvar_unserializer.re81 return d;
140 return;
151 return;
372 return 1;
530 return 1;
536 return 0;
572 return 0;
721 return 1;
727 return 0;
737 return 1;
[all …]
/PHP-8.2/ext/standard/tests/array/
H A Dusort_variation11.phpt7 return $a > $b;
46 Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less …
48 Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less…
50 Deprecated: uasort(): Returning bool from comparison function is deprecated, return an integer less…
52 Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less …
54 Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less…
56 Deprecated: uasort(): Returning bool from comparison function is deprecated, return an integer less…
58 Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less …
60 Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less…
64 Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less …
[all …]
/PHP-8.2/ext/json/
H A Djson_scanner.re68 return code - '0';
70 return code - ('A' - 10);
72 return code - ('a' - 10);
75 return -1;
86 return code;
160 return PHP_JSON_T_NUL;
164 return PHP_JSON_T_TRUE;
168 return PHP_JSON_T_FALSE;
185 return PHP_JSON_T_INT;
201 return PHP_JSON_T_EOI;
[all …]
/PHP-8.2/Zend/tests/
H A Dtemporary_cleaning_013.phpt8 function __toString() { return "a"; }
35 function __get($x) { return [0]; }
46 function &__get($x) { return $this->bar; }
79 var_dump((function() { return new class {
87 var_dump((function() { return new class {
95 var_dump((function() { return new class {
104 var_dump(++(function() { return new class {
111 var_dump(++(function() { return new class {
119 var_dump(++(function() { return new class {
248 return new class {
[all …]
H A Dbug68652.phpt10 return self::$instance;
12 return self::$instance = new self();
25 return self::$instance;
27 return self::$instance = new self();
31 if (!isset(self::$instance)) return;
/PHP-8.2/Zend/tests/type_declarations/
H A Dtyped_return_without_value.phpt2 Typed return without value generates compile-time error
7 return;
14 Fatal error: A function with return type must return a value in %s on line %d
H A Dscalar_none.phpt7 'int' => function (int $i) { return $i; },
8 'float' => function (float $f) { return $f; },
9 'string' => function (string $s) { return $s; },
10 'bool' => function (bool $b) { return $b; },
11 'int nullable' => function (int $i = NULL) { return $i; },
12 'float nullable' => function (float $f = NULL) { return $f; },
13 'string nullable' => function (string $s = NULL) { return $s; },
14 'bool nullable' => function (bool $b = NULL) { return $b; }
H A Dscalar_null.phpt7 'int' => function (int $i) { return $i; },
8 'float' => function (float $f) { return $f; },
9 'string' => function (string $s) { return $s; },
10 'bool' => function (bool $b) { return $b; },
11 'int nullable' => function (int $i = NULL) { return $i; },
12 'float nullable' => function (float $f = NULL) { return $f; },
13 'string nullable' => function (string $s = NULL) { return $s; },
14 'bool nullable' => function (bool $b = NULL) { return $b; }
/PHP-8.2/ext/soap/tests/interop/Round3/GroupD/
H A Dround3_groupD_doclit.inc6 return $inputString;
11 return $inputStringArray;
16 return $inputStruct;
21 return NULL;
H A Dround3_groupD_rpcenc.inc6 return $inputString;
11 return $inputStringArray;
16 return $inputStruct;
21 return NULL;
/PHP-8.2/Zend/tests/try/
H A Dcatch_finally_003.phpt12 return $a;
17 return "finally";
19 return "end";
28 return $a;
30 return ($c = "end");
/PHP-8.2/ext/soap/tests/interop/Round4/GroupG/
H A Dround4_groupG_mimedoc.inc5 return $in;
9 return $in;
13 return $in;
17 return $in;
H A Dround4_groupG_mimerpc.inc5 return $in;
9 return $in;
13 return $in;
17 return $in;
/PHP-8.2/sapi/fpm/tests/
H A Dlogreader.inc41 * @return LogSource
88 * @return null|string
103 return $line;
120 return;
142 * @return false
152 return false;
164 * @return bool
203 return true;
244 * @return string[]
304 * @return string[]
[all …]
/PHP-8.2/ext/opcache/
H A Dconfig.m4133 return 1;
139 return 2;
145 return 3;
155 return 4;
164 return 5;
167 return 6;
170 return 7;
173 return 8;
178 return 0;
231 return 0;
[all …]
/PHP-8.2/build/
H A Dphp_cxx_compile_stdcxx.m4535 return x;
629 return 42;
684 return i;
689 return i;
789 return 13;
796 return 3;
802 return 2;
805 return 1;
858 return pr;
869 return {};
[all …]
/PHP-8.2/ext/pcre/tests/
H A Dpreg_replace_callback_array.phpt8 return "d";
14 return "ok";
19 return "b";
25 "/b/" => function () { return "c"; },
33 "/b/" => function () { return "ok"; },
41 "/b/" => function($a) { return "ok"; }), 'a', -1, $count));

Completed in 33 milliseconds

12345678910>>...121