Home
last modified time | relevance | path

Searched refs:return (Results 101 – 125 of 2639) sorted by relevance

12345678910>>...106

/PHP-7.4/ext/spl/tests/
H A Dbug69264.phpt7 return ['child' => 42, 'parent' => count(parent::__debugInfo())];
13 return ['child' => 42, 'parent' => count(parent::__debugInfo())];
19 return ['child' => 42, 'parent' => count(parent::__debugInfo())];
25 return ['child' => 42, 'parent' => count(parent::__debugInfo())];
31 return ['child' => 42, 'parent' => count(parent::__debugInfo())];
37 return ['child' => 42, 'parent' => count(parent::__debugInfo())];
43 return ['child' => 42, 'parent' => count(parent::__debugInfo())];
49 return ['child' => 42, 'parent' => count(parent::__debugInfo())];
H A Dfixedarray_019.phpt8 return parent::rewind();
12 return parent::valid();
16 return parent::next();
20 return parent::current();
24 return parent::key();
/PHP-7.4/ext/standard/tests/array/
H A Dcompare_function.inc5 return 0;
7 return -1;
9 return 1;
H A Dcompact_this.phpt9 return compact('this');
17 return compact([['this']]);
25 return (function(){ return compact('this'); })();
/PHP-7.4/Zend/tests/return_types/
H A Dvoid_disallowed2.phpt2 void return type: unacceptable cases: explicit return of some other value
7 return -1; // not permitted in a void function
12 Fatal error: A void function must not return a value in %s on line %d
H A Dgenerators004.phpt2 Generator with return type does not fail with empty return
8 return;
/PHP-7.4/ext/xsl/tests/
H A Dxslt011.phpt10 function __toString() { return "not a DomNode object";}
25 return $id[0]->value . " - " . $secondArg;
27 return $id . " - " . $secondArg;
32 return $id[0];
36 return $dom->documentElement;
40 return new foo();
45 return $id;
/PHP-7.4/ext/standard/
H A Dvar_unserializer.re78 return d;
137 return;
357 return 1;
360 return 0;
627 return 1;
633 return 0;
643 return 1;
674 return 1;
820 return 1;
845 return 1;
[all …]
/PHP-7.4/Zend/tests/
H A Dbug75573.phpt13 return $retval;
15 return NULL;
20 return $this->_stdObject->{$property} = $value;
24 return isset($this->_stdObject->{$property_name});
34 return $retval;
36 return parent::__get($property);
H A Dobjects_021.phpt14 return x();
18 return x();
22 return x();
27 return new test;
H A Dbug38779.phpt12 return true;
17 return $ret;
20 return $this->position >= strlen($this->data);
23 return array('size' => strlen($this->data));
26 return false;
H A Dclosure_bug66622.phpt6 static function name() { return 'A'; }
8 $fn = function() { return static::name(); };
12 $fn = static function() { return static::name(); };
16 $fn = function() { return static::name(); };
21 static function name() { return 'B'; }
/PHP-7.4/ext/standard/tests/streams/
H A Dbug78662.phpt8 return true;
12 return false;
16 return false;
20 return [];
H A Dbug60455_02.phpt8 return true;
12 return "a\n";
14 return "";
17 return $this->s >= 2;
/PHP-7.4/ext/opcache/tests/
H A Djmp_elim_003.phpt10 return false;
16 return false;
18 return false;
21 return apply_filters('use_streams_transport', true, $args);
/PHP-7.4/Zend/tests/try/
H A Dcatch_finally_006.phpt13 return "return";
15 return 1;
28 string(6) "return"
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); }
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_stmt_fetch_geom.phpt22 return false;
27 return false;
39 return false;
45 return false;
51 return false;
57 return false;
76 return false;
83 return false;
88 return false;
94 return false;
[all …]
H A Dmysqli_stmt_get_result_geom.phpt25 return false;
30 return false;
42 return false;
48 return false;
54 return false;
59 return false;
74 return false;
79 return false;
85 return false;
118 return false;
[all …]
/PHP-7.4/Zend/tests/generators/
H A Dyield_in_finally.phpt8 echo "before return\n";
9 return;
10 echo "after return\n";
26 before return
/PHP-7.4/ext/phar/tests/
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/session/tests/
H A Dsession_set_save_handler_class_018.phpt29 return true;
33 return true;
37 return @file_get_contents($this->path . $id);
41 return file_put_contents($this->path . $id, $data)===FALSE ? FALSE : TRUE ;
54 return true;
58 return 'my_sid';
62 return 'my_sid'===$id;
H A Dsession_set_save_handler_class_001.phpt27 return parent::open($path, $name);
33 return parent::create_sid();
38 return parent::read($key);
43 return parent::write($key, $data);
48 return parent::close();
56 return parent::create_sid();
61 return TRUE;
64 // return parent::validateSid($key);
69 return parent::write($key, $data);
72 // return parent::updateTimestamp($key, $data);
/PHP-7.4/Zend/tests/type_declarations/
H A Diterable_005.phpt8 return [];
14 return [];
20 return new ArrayIterator([]);
26 return 1;

Completed in 120 milliseconds

12345678910>>...106