/PHP-8.2/tests/lang/ |
H A D | returnByReference.003.phpt | 6 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 D | returnByReference.004.phpt | 7 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 D | returnByReference.005.phpt | 7 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 D | bug78015.phpt | 14 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 D | engine_unsafe_empty_string.phpt | 13 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 D | verify_return_type.phpt | 18 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 D | userstreams_002.phpt | 9 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 D | include_userstream_003.phpt | 18 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 D | var_unserializer.re | 81 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 D | usort_variation11.phpt | 7 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 D | json_scanner.re | 68 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 D | temporary_cleaning_013.phpt | 8 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 D | bug68652.phpt | 10 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 D | typed_return_without_value.phpt | 2 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 D | scalar_none.phpt | 7 '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 D | scalar_null.phpt | 7 '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 D | round3_groupD_doclit.inc | 6 return $inputString; 11 return $inputStringArray; 16 return $inputStruct; 21 return NULL;
|
H A D | round3_groupD_rpcenc.inc | 6 return $inputString; 11 return $inputStringArray; 16 return $inputStruct; 21 return NULL;
|
/PHP-8.2/Zend/tests/try/ |
H A D | catch_finally_003.phpt | 12 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 D | round4_groupG_mimedoc.inc | 5 return $in; 9 return $in; 13 return $in; 17 return $in;
|
H A D | round4_groupG_mimerpc.inc | 5 return $in; 9 return $in; 13 return $in; 17 return $in;
|
/PHP-8.2/sapi/fpm/tests/ |
H A D | logreader.inc | 41 * @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 D | config.m4 | 133 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 D | php_cxx_compile_stdcxx.m4 | 535 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 D | preg_replace_callback_array.phpt | 8 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));
|