Home
last modified time | relevance | path

Searched refs:return (Results 126 – 150 of 2639) sorted by relevance

12345678910>>...106

/PHP-7.4/ext/soap/tests/interop/Round4/GroupI/
H A Dr4_groupI_xsd_010w.phpt20 …s1:echoIntegerMultiOccursResponse><ns1:return>22</ns1:return><ns1:return>29</ns1:return><ns1:retur…
/PHP-7.4/ext/standard/tests/file/
H A Dfscanf_variation1.phpt2 Test fscanf() function: usage variations - return type without third argument
11 /* test fscanf() for its return type */
15 echo "*** Testing fscanf(): for its return type without third argument ***\n";
28 // capturing the return value from fscanf() called without third argument
30 var_dump( is_array($return_value), $return_value); // return type is an array
42 *** Testing fscanf(): for its return type without third argument ***
H A Duserstreams_005.phpt8 return true;
11 return false;
17 return true;
23 return "kkk";
42 test("stream_truncate bad return", $fd3, 0);
61 ------ stream_truncate bad return: -------
64 Warning: ftruncate(): test_wrapper_bad::stream_truncate did not return a boolean! in %s on line %d
/PHP-7.4/tests/lang/
H A Dengine_assignExecutionOrder_006.phpt8 return 0;
13 return 0;
18 return 0;
23 return 0;
28 return 0;
33 return 0;
/PHP-7.4/ext/phar/tests/tar/
H A Dphar_buildfromiterator5.phpt19 return next($this->a);
23 return current($this->a);
27 return key($this->a);
31 return current($this->a);
35 return reset($this->a);
58 Iterator myIterator returned an invalid value (must return a string)
H A Dphar_buildfromiterator6.phpt19 return next($this->a);
23 return current($this->a);
27 return key($this->a);
31 return current($this->a);
35 return reset($this->a);
59 Iterator myIterator returned an invalid key (must return a string)
/PHP-7.4/ext/phar/tests/zip/
H A Dphar_buildfromiterator5.phpt19 return next($this->a);
23 return current($this->a);
27 return key($this->a);
31 return current($this->a);
35 return reset($this->a);
58 Iterator myIterator returned an invalid value (must return a string)
H A Dphar_buildfromiterator6.phpt19 return next($this->a);
23 return current($this->a);
27 return key($this->a);
31 return current($this->a);
35 return reset($this->a);
59 Iterator myIterator returned an invalid key (must return a string)
/PHP-7.4/ext/standard/tests/streams/
H A Dbug60455_04.phpt9 return true;
13 return "a\n";
15 return "";
18 return $this->s >= 2;
H A Dstream_set_chunk_size.phpt7 return true;
10 return false;
14 return str_repeat('a', $count);
18 return strlen($data);
22 return false;
33 echo "should return previous chunk size (8192)\n";
37 echo "should elicit 3 writes of size 1 and return 3\n";
40 echo "should return previous chunk size (1)\n";
57 should return previous chunk size (8192)
62 should elicit 3 writes of size 1 and return 3
[all …]
/PHP-7.4/Zend/tests/try/
H A Dbug70228_6.phpt2 Bug #70228 (memleak if return in finally block)
8 return str_repeat("a", 2);
10 return 42;
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-7.4/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-7.4/Zend/tests/varSyntax/
H A DindirectFcall.phpt6 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-7.4/Zend/tests/
H A Dbug78340.phpt15 return true;
21 return $chunk;
25 return $this->pos >= strlen($this->bytes);
33 return [
41 return false;
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 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();
/PHP-7.4/ext/spl/tests/
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-7.4/ext/session/tests/
H A Dbug78624.phpt25 return true;
29 return '';
33 return true;
37 return true;
41 return true;
45 return 1;
/PHP-7.4/sapi/cgi/tests/
H A Dinclude.inc17 return $php;
29 return "$php_path/php-cgi.exe";
37 return FALSE;
43 return $php_path."/cgi/php-cgi";
46 return false;
49 return false;
/PHP-7.4/ext/phar/phar/
H A Dphar.inc25 return false;
30 return false;
39 return false;
56 return false;
/PHP-7.4/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-7.4/ext/reflection/tests/
H A DReflectionType_001.phpt10 function bar(self $x): int { return 1; }
12 function factory(): self { return new c; }
56 echo "\n*** return types\n";
181 *** return types
182 ** Function/method return type 0
184 ** Function/method return type 1
189 ** Function/method return type 2
194 ** Function/method return type 3
199 ** Function/method return type 4
204 ** Function/method return type 5
[all …]
/PHP-7.4/ext/standard/tests/array/
H A Dcompact_no_this.phpt9 return (static function(){ return compact('this'); })();
16 var_dump((function(){ return compact('this'); })());

Completed in 46 milliseconds

12345678910>>...106