Home
last modified time | relevance | path

Searched refs:return (Results 176 – 200 of 3074) sorted by relevance

12345678910>>...123

/PHP-8.2/sapi/fpm/tests/
H A Dfcgi.inc55 * @return bool
64 * @return string
82 * @return bool
89 * @return bool
118 return;
159 return;
250 return;
275 return true;
285 return;
337 return [];
[all …]
/PHP-8.2/Zend/tests/return_types/
H A Dgenerators004.phpt2 Generator with return type does not fail with empty return
8 return;
/PHP-8.2/Zend/tests/try/
H A Dbug70228.phpt2 Bug #70228 (memleak if return in finally block)
7 try { return str_repeat("a", 2); }
8 finally { return str_repeat("b", 2); }
H A Dbug70228_6.phpt2 Bug #70228 (memleak if return in finally block)
8 return str_repeat("a", 2);
10 return 42;
/PHP-8.2/sapi/phpdbg/tests/
H A Dphpdbg_get_executable_stream_wrapper.phpt36 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; }
/PHP-8.2/Zend/tests/
H A Dbug65372.phpt2 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();
H A Dbug52614.phpt13 return $this->a1;
17 return $this->a2;
22 return $this->a3;
26 return $this->o1;
31 return $this->o2;
35 return $this->a1;
H A Dbug78340.phpt16 return true;
22 return $chunk;
26 return $this->pos >= strlen($this->bytes);
34 return [
42 return false;
H A Dlsb_001.phpt11 return 'TestClassFunction';
15 return static::$staticVar;
19 return static::CLASS_CONST;
23 return static::staticFunction();
32 return 'ChildClassFunction';
/PHP-8.2/Zend/tests/generators/
H A Dyield_in_finally_cleanup.phpt2 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 Dphar.inc25 return false;
30 return false;
39 return false;
56 return false;
H A Dpharcommand.inc55 * @return unknown
184 return $args;
284 return $arg;
361 return $arg;
388 return $arg;
409 return $arg;
479 return $args;
538 return NULL;
689 return;
752 return $any;
[all …]
/PHP-8.2/ext/pcre/tests/
H A Dbug73392.phpt7 return "d";
12 return "ok";
16 return "b";
23 return 'c';
/PHP-8.2/ext/mysqli/tests/test_setup/
H A Dtest_helpers.inc8 return $host;
15 return $port;
22 return $user;
29 return $password;
36 return $db;
43 return $engine;
54 return $socket;
56 return null;
63 return $connect_flags;
98 return $link;
[all …]
/PHP-8.2/ext/spl/tests/
H A Darray_005.phpt19 return $this->id . ', ' . $this->name;
24 return $this->id;
41 return $this->current()->getId() == $this->id;
66 return true;
69 return false;
73 return $this->students->getIterator();
H A Dbug73423.phpt12 return current ($this->foo);
17 return key ($this->foo);
32 return current ($this->foo) !== false;
37 return current ($this->foo);
42 return (bool) count($this->foo);
58 return true;
/PHP-8.2/ext/session/tests/user_session_module/
H A Dsession_set_save_handler_iface_003.phpt20 return true;
24 return true;
28 return (string)@file_get_contents($this->path . $id);
33 return (bool)file_put_contents($this->path . $id, $data);
47 return true;
51 return pathinfo(__FILE__)['filename'];
H A Dsession_set_save_handler_class_016.phpt23 return true;
27 return true;
31 return (string)@file_get_contents($this->path . $id);
35 return (bool)file_put_contents($this->path . $id, $data);
48 return true;
52 return parent::create_sid();
H A Dsession_set_save_handler_class_017.phpt23 return true;
27 return true;
31 return (string)@file_get_contents($this->path . $id);
35 return (bool)file_put_contents($this->path . $id, $data);
48 return true;
52 return pathinfo(__FILE__)['filename'];
H A Dbug60634_error_5.phpt16 return true;
25 return '';
29 return true;
33 return true;
37 return 1;
H A Dsession_set_save_handler_error2.phpt15 function open($save_path, $session_name): bool { return true; }
16 function close(): bool { return true; }
17 function read($id): string|false { return false; }
19 function destroy($id): bool { return true; }
20 function gc($maxlifetime): int|false { return true; }
/PHP-8.2/sapi/cgi/tests/
H A Dinclude.inc18 return $php;
29 return $cgi_path;
35 return $cgi_path;
41 return $cgi_path;
44 return false;
47 return false;
/PHP-8.2/Zend/tests/type_declarations/
H A Dself_on_closure_in_method.phpt2 self return type on closure in a method
8 return function() : self {
9 return $this;
/PHP-8.2/ext/standard/tests/array/
H A Darray_udiff_uassoc_basic.phpt2 array_udiff_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/ext/xsl/tests/
H A Dxslt011.phpt21 return $id[0]->value . " - " . $secondArg;
23 return $id . " - " . $secondArg;
28 return $id[0];
32 return $dom->documentElement;
38 return $id;

Completed in 34 milliseconds

12345678910>>...123