Searched refs:return (Results 201 – 225 of 3074) sorted by relevance
12345678910>>...123
/PHP-8.2/Zend/tests/try/ |
H A D | try_finally_021.phpt | 2 Live range & return from finally 10 return; 13 return;
|
H A D | catch_finally_002.phpt | 2 Try catch finally (basic test with return) 8 return 1; 13 return 2;
|
/PHP-8.2/Zend/tests/fibers/ |
H A D | get-return-after-throwing.phpt | 20 …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 D | bug67626.phpt | 9 public function stream_open() { return true; } 14 return 'read'; 19 return true; 25 return 42;
|
H A D | bug60817.phpt | 9 return true; 14 return "a\nbb\ncc"; 16 return ""; 19 return $this->s >= 2;
|
/PHP-8.2/ext/opcache/tests/jit/ |
H A D | bug79888.phpt | 14 return false; 16 return true; 20 return false; 23 return true;
|
H A D | gh12512.phpt | 15 return $ret; 19 if ($b) return true; 28 return false; 30 return true;
|
/PHP-8.2/tests/lang/ |
H A D | foreachLoopIteratorAggregate.004.phpt | 21 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 D | returnByReference.009.phpt | 9 return $b; 13 return returnVarByRef(); 17 return 1; 21 return returnVal();
|
H A D | foreachLoopIteratorAggregate.002.phpt | 2 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 D | engines.inc | 24 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 D | compact_no_this.phpt | 9 return (static function(){ return compact('this'); })(); 16 var_dump((function(){ return compact('this'); })());
|
/PHP-8.2/ext/ffi/tests/ |
H A D | 041.phpt | 11 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 D | mysqli_stmt_bind_result_zerofill.phpt | 20 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 D | session_set_save_handler_iface_002.phpt | 29 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 D | bug60634_error_2.phpt | 16 return true; 21 return true; 25 return ''; 34 return true; 38 return true;
|
/PHP-8.2/Zend/tests/ |
H A D | access_modifiers_011.phpt | 12 return "in func1"; 16 return "in func2"; 20 return $this->$var; 24 return call_user_func_array(array($this, $func), $args);
|
H A D | bug70117.phpt | 2 Bug #70117 (Unexpected return type error) 9 return $b; 14 return $a[0];
|
H A D | lsb_002.phpt | 11 return 'TestClassFunction'; 15 return static::$staticVar; 19 return static::CLASS_CONST; 23 return static::staticFunction(); 32 return 'ChildClassFunction';
|
H A D | dereference_003.phpt | 13 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 D | session_module_name_variation3.phpt | 22 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 D | generator_return_return_type.phpt | 2 Generators must return a valid variable with return type specified 8 return true;
|
/PHP-8.2/Zend/tests/grammar/ |
H A D | regression_005.phpt | 8 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.phpt | 2 __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 D | userstreams_006.phpt | 8 return true; 11 return false; 15 return strlen($data); 19 return false;
|
Completed in 27 milliseconds
12345678910>>...123