/PHP-8.2/ext/standard/tests/streams/ |
H A D | bug60455_02.phpt | 9 return true; 13 return "a\n"; 15 return ""; 18 return $this->s >= 2;
|
H A D | bug60455_04.phpt | 10 return true; 14 return "a\n"; 16 return ""; 19 return $this->s >= 2;
|
/PHP-8.2/ext/reflection/tests/types/ |
H A D | ReflectionType_001.phpt | 10 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/opcache/tests/ |
H A D | bug73789.phpt | 21 return $type; 23 return self::T_STRING; 25 return self::T_DOT; 28 return $type;
|
/PHP-8.2/Zend/tests/fibers/ |
H A D | get-return-in-unfinished-fiber.phpt | 16 …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
|
H A D | get-return-after-bailout.phpt | 25 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
|
/PHP-8.2/ext/opcache/tests/jit/ |
H A D | closure_001.phpt | 18 return function () { 19 return function () { 20 return function () { 21 return 42;
|
H A D | shift_right_002.phpt | 14 return $a >> 0; 17 return $a >> 1; 20 return $a >> 2; 23 return $a >> 64; 26 return $a >> -1;
|
/PHP-8.2/ext/standard/tests/array/ |
H A D | array_uintersect_uassoc_basic.phpt | 2 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 D | indirectFcall.phpt | 6 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/Zend/tests/ |
H A D | bug38779.phpt | 13 return true; 18 return $ret; 21 return $this->position >= strlen($this->data); 24 return array('size' => strlen($this->data)); 27 return false;
|
H A D | bug65372.phpt | 2 Bug #65372 (Segfault in gc_zval_possible_root when return reference fails) 13 return self::$_OBJECTS[1]; 28 return ChildClass::Get(); 33 return parent::Get();
|
/PHP-8.2/ext/soap/tests/interop/Round4/GroupI/ |
H A D | r4_groupI_xsd_012w.phpt | 20 …:echoStringMultiOccursResponse><ns1:return>arg1</ns1:return><ns1:return>arg2</ns1:return><ns1:retu…
|
/PHP-8.2/ext/standard/tests/file/ |
H A D | userstreams_005.phpt | 9 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 D | gh12504.phpt | 12 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;
|
H A D | session_set_save_handler_sid_002.phpt | 26 return true; 30 return true; 34 return @file_get_contents($this->path . $id); 38 return file_put_contents($this->path . $id, $data); 43 return false; 52 return true; 57 return false;
|
H A D | session_set_save_handler_type_error.phpt | 13 $validCallback = function () { return true; }; 14 $deprecatedCallback = function () { return 0; }; 15 $exceptionCallback = function () { return []; }; 51 Session callback must have a return value of type bool, array returned 53 Deprecated: session_start(): Session callback must have a return value of type bool, int returned i… 56 Session callback must have a return value of type bool, array returned 58 Deprecated: session_start(): Session callback must have a return value of type bool, int returned i…
|
H A D | session_set_save_handler_iface_002.phpt | 34 return true; 38 return true; 42 return (string)@file_get_contents($this->path . $id); 47 return false; 52 return true; 62 return true; 69 return file_put_contents($handler->path . $id, $data); 92 Deprecated: PHP Request Shutdown: Session callback must have a return value of type bool, int retur…
|
/PHP-8.2/Zend/tests/return_types/ |
H A D | generators004.phpt | 2 Generator with return type does not fail with empty return 8 return;
|
/PHP-8.2/Zend/tests/try/ |
H A D | bug70228.phpt | 2 Bug #70228 (memleak if return in finally block) 7 try { return str_repeat("a", 2); } 8 finally { return str_repeat("b", 2); }
|
H A D | bug70228_6.phpt | 2 Bug #70228 (memleak if return in finally block) 8 return str_repeat("a", 2); 10 return 42;
|
/PHP-8.2/Zend/tests/generators/ |
H A D | yield_in_finally_cleanup.phpt | 2 Free pending exceptions / return values on clone on yield in finally 15 return "foo" . $bar; 26 return "foo" . $bar; 36 return "foo" . $bar;
|
/PHP-8.2/ext/phar/phar/ |
H A D | phar.inc | 25 return false; 30 return false; 39 return false; 56 return false;
|
/PHP-8.2/ext/pcre/tests/ |
H A D | bug73392.phpt | 7 return "d"; 12 return "ok"; 16 return "b"; 20 …"/a/" => 'b', "/b/" => function () { return "c"; }, "/c/" => new Rep, "reporting" => array("Foo", …
|
/PHP-8.2/sapi/phpdbg/tests/ |
H A D | phpdbg_get_executable_stream_wrapper.phpt | 36 return false; 44 return false; 56 return true; 59 public function stream_read(int $count) : string { return \fread($this->stream, $count); } 60 public function stream_close() : bool { return \fclose($this->stream); } 61 public function stream_eof() : bool { return \feof($this->stream); } 62 public function stream_stat() { return \fstat($this->stream); } 63 public function stream_set_option($option, $arg1, $arg2) { return false; }
|