Home
last modified time | relevance | path

Searched refs:return (Results 201 – 225 of 3074) sorted by relevance

12345678910>>...123

/PHP-8.2/Zend/tests/try/
H A Dtry_finally_021.phpt2 Live range & return from finally
10 return;
13 return;
H A Dcatch_finally_002.phpt2 Try catch finally (basic test with return)
8 return 1;
13 return 2;
/PHP-8.2/Zend/tests/fibers/
H A Dget-return-after-throwing.phpt20 …l error: Uncaught FiberError: Cannot get fiber return value: The fiber threw an exception in %sget…
22 #0 %sget-return-after-throwing.php(%d): Fiber->getReturn()
24 thrown in %sget-return-after-throwing.php on line %d
/PHP-8.2/ext/standard/tests/streams/
H A Dbug67626.phpt9 public function stream_open() { return true; }
14 return 'read';
19 return true;
25 return 42;
H A Dbug60817.phpt9 return true;
14 return "a\nbb\ncc";
16 return "";
19 return $this->s >= 2;
/PHP-8.2/ext/opcache/tests/jit/
H A Dbug79888.phpt14 return false;
16 return true;
20 return false;
23 return true;
H A Dgh12512.phpt15 return $ret;
19 if ($b) return true;
28 return false;
30 return true;
/PHP-8.2/tests/lang/
H A DforeachLoopIteratorAggregate.004.phpt21 return $more;
25 return $this->num;
34 case 0: return "1st";
35 case 1: return "2nd";
36 case 2: return "3rd";
37 default: return "???";
50 return new c_iter($this);
H A DreturnByReference.009.phpt9 return $b;
13 return returnVarByRef();
17 return 1;
21 return returnVal();
H A DforeachLoopIteratorAggregate.002.phpt2 IteratorAggregate::getIterator bad return type
9 return null;
16 return new stdClass;
23 return 1;
30 return array(1,2,3);
/PHP-8.2/ext/random/tests/
H A Dengines.inc24 return substr($this->state, 0, 8);
40 return $this->engine->generate();
45 return $this->count;
61 return (($x << $k) | ($x >> (32 - $k))) & 0xFFFFFFFF;
79 return pack('V', $result);
89 return pack('V', $this->count++);
102 return pack('V', $this->count++) . "\x00\x00\x00\x00";
/PHP-8.2/ext/standard/tests/array/
H A Dcompact_no_this.phpt9 return (static function(){ return compact('this'); })();
16 var_dump((function(){ return compact('this'); })());
/PHP-8.2/ext/ffi/tests/
H A D041.phpt11 return FFI::cdef()->new(FFI::cdef()->type($str));
14 return FFI::cdef()->new($type);
24 return FFI::typeof(FFI::cdef()->new($str));
27 return FFI::typeof($data);
37 return FFI::cdef()->cast(FFI::cdef()->type($str), FFI::cdef()->new($str));
40 return FFI::cdef()->cast($type, FFI::cdef()->new($str));
50 return FFI::arrayType(FFI::cdef()->type($str), [2]);
53 return FFI::arrayType($type, [2]);
/PHP-8.2/ext/mysqli/tests/
H A Dmysqli_stmt_bind_result_zerofill.phpt20 return true;
26 return false;
32 return false;
39 return false;
45 return false;
60 return false;
65 return false;
69 return true;
/PHP-8.2/ext/session/tests/user_session_module/
H A Dsession_set_save_handler_iface_002.phpt29 return true;
33 return true;
37 return (string)@file_get_contents($this->path . $id);
42 return false;
47 return true;
57 return true;
64 return file_put_contents($handler->path . $id, $data);
89 Deprecated: PHP Request Shutdown: Session callback must have a return value of type bool, int retur…
H A Dbug60634_error_2.phpt16 return true;
21 return true;
25 return '';
34 return true;
38 return true;
/PHP-8.2/Zend/tests/
H A Daccess_modifiers_011.phpt12 return "in func1";
16 return "in func2";
20 return $this->$var;
24 return call_user_func_array(array($this, $func), $args);
H A Dbug70117.phpt2 Bug #70117 (Unexpected return type error)
9 return $b;
14 return $a[0];
H A Dlsb_002.phpt11 return 'TestClassFunction';
15 return static::$staticVar;
19 return static::CLASS_CONST;
23 return static::staticFunction();
32 return 'ChildClassFunction';
H A Ddereference_003.phpt13 return $x;
16 return array(1.2, array(new self));
22 return $a;
25 return $this->b();
/PHP-8.2/ext/session/tests/
H A Dsession_module_name_variation3.phpt22 public function close(): bool { return true; }
23 public function read($id): string|false { return ''; }
24 public function write($id, $session_data): bool { return true; }
25 public function destroy($id): bool { return true; }
26 public function gc($maxlifetime): int { return 1; }
/PHP-8.2/Zend/tests/generators/
H A Dgenerator_return_return_type.phpt2 Generators must return a valid variable with return type specified
8 return true;
/PHP-8.2/Zend/tests/grammar/
H A Dregression_005.phpt8 const return = 'yep';
11 const return = 'nope';
14 Parse error: syntax error, unexpected token "return", expecting identifier in %s on line %d
/PHP-8.2/ext/standard/tests/serialize/
H A D__serialize_002.phpt2 __serialize() mechanism (002): TypeError on invalid return type
8 return $this;
20 Test::__serialize() must return an array
/PHP-8.2/ext/standard/tests/file/
H A Duserstreams_006.phpt8 return true;
11 return false;
15 return strlen($data);
19 return false;

Completed in 27 milliseconds

12345678910>>...123