Home
last modified time | relevance | path

Searched refs:return (Results 51 – 75 of 2639) sorted by relevance

12345678910>>...106

/PHP-7.4/ext/standard/tests/file/
H A Dbug38450_2.phpt20 return true;
27 return $ret;
36 return strlen($data);
41 return $this->position;
54 return true;
56 return false;
63 return true;
65 return false;
72 return true;
74 return false;
[all …]
H A Dbug38450_3.phpt20 return true;
27 return $ret;
36 return strlen($data);
41 return $this->position;
54 return true;
56 return false;
63 return true;
65 return false;
72 return true;
74 return false;
[all …]
/PHP-7.4/ext/reflection/tests/
H A DReflectionNamedType.phpt7 return 'test';
11 return new Test;
16 $return = $function->getReturnType();
20 var_dump($return->getName());
21 var_dump((string) $return);
25 $return = $function->getReturnType();
29 var_dump($return->getName());
30 var_dump((string) $return);
/PHP-7.4/ext/sqlite3/tests/
H A Dstream_test.inc12 return true;
19 return $ret;
24 return 0;
29 return array('size' => self::$string_length);
34 return $this->position;
39 return ($this->position >= self::$string_length);
/PHP-7.4/tests/lang/
H A Dengine_assignExecutionOrder_005.phpt8 return 0;
13 return 0;
18 return 0;
23 return 0;
28 return 0;
33 return 0;
H A DreturnByReference.003.phpt6 return 100;
10 return 100;
14 return $GLOBALS['a'];
17 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:…
24 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan…
31 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
40 ---> 1. Trying to assign by reference the return value of a function that returns by value:
46 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
52 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
H A DreturnByReference.004.phpt7 return 100;
11 return 100;
15 return $GLOBALS['a'];
19 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:…
26 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan…
33 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
42 ---> 1. Trying to assign by reference the return value of a function that returns by value:
48 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
54 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
H A DreturnByReference.005.phpt7 return 100;
11 return 100;
15 return $GLOBALS['a'];
20 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:…
27 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan…
34 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
43 ---> 1. Trying to assign by reference the return value of a function that returns by value:
49 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
55 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
/PHP-7.4/Zend/tests/generators/
H A Dget_return_types.phpt2 Test different types of generator return values (VM operands)
7 return; // CONST
15 return "str"; // CONST
23 return $var; // CV
31 return $obj->prop; // VAR
39 return (int) $val; // TMP
/PHP-7.4/ext/session/tests/
H A Dbug80889.phpt11 return true;
14 return true;
17 return '';
20 return true;
23 return true;
26 return true;
H A Dsave_handler.inc33 return true;
45 return true;
82 return $return === FALSE ? FALSE : TRUE;
86 return false;
101 return true;
126 return $gc_cnt;
141 // MUST return session ID string.
143 return $id;
160 return $ret;
176 return $ret;
[all …]
/PHP-7.4/ext/soap/tests/interop/Round4/GroupH/
H A Dround4_groupH_complex_rpcenc.inc5return new SoapFault("Server", "Fault in response to 'echoSOAPStructFault'.", null, $input, "Compl…
9return new SoapFault("Server", "Fault in response to 'echoBaseStructFault'.", null, $input, "Compl…
13return new SoapFault("Server", "Fault in response to 'echoExtendedStructFault'.", null, $input, "C…
18return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, $s2, "ComplexF…
20return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, array("soapStr…
26return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $s2, "ComplexF…
28return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $s3, "ComplexF…
30return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $s1, "ComplexF…
H A Dround4_groupH_complex_doclit.inc5return new SoapFault("Server", "Fault in response to 'echoSOAPStructFault'.", null, array("soapStr…
9return new SoapFault("Server", "Fault in response to 'echoBaseStructFault'.", null, $input, "Compl…
13return new SoapFault("Server", "Fault in response to 'echoExtendedStructFault'.", null, $input, "C…
18return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, $input->param2…
20return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, array("soapStr…
26return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $input->param2…
28return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $input->param3…
30return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $input->param1…
/PHP-7.4/ext/pdo_mysql/tests/
H A Dmysql_pdo_test.inc32 return $db;
45 return PDO_MYSQL_TEST_ENGINE;
79 return $dsn;
101 return $version_string;
106 return $tmp;
111 return -1;
117 return $version;
135 return $temp_dir;
137 return FALSE;
154 return 'innodb';
[all …]
/PHP-7.4/ext/mysqli/tests/
H A Dlocal_infile_tools.inc47 return "";
56 return NULL;
67 return NULL;
76 return NULL;
78 return $file;
87 return false;
93 return false;
108 return false;
112 return true;
138 return false;
[all …]
/PHP-7.4/ext/libxml/tests/
H A D002.phpt35 $return = $xml[$error->line - 1] . "\n";
36 $return .= str_repeat('-', $error->column) . "^\n";
40 $return .= "Warning $error->code: ";
43 $return .= "Error $error->code: ";
46 $return .= "Fatal Error $error->code: ";
50 $return .= trim($error->message) . "\n Line: $error->line" . "\n Column: $error->column";
53 $return .= "\n File: $error->file";
56 return "$return\n\n--------------------------------------------\n\n";
/PHP-7.4/Zend/tests/
H A Dbug73753.phpt7 return $result;
10 return iterate(getNext($a), $a, $current);
14 return next($a);
18 return current($a);
22 return iterate(getCurrent($a), $a);
H A Ddereference_001.phpt8 return array(1,array(5));
13 return array();
21 return array(array(array('foobar')));
26 return array(new foo);
32 return $obj->test();
39 return $x;
H A Dtemporary_cleaning_013.phpt8 function __toString() { return "a"; }
35 function __get($x) { return [0]; }
46 function &__get($x) { return $this->bar; }
55 function offsetGet($x) { return [0]; }
79 var_dump((function() { return new class {
86 var_dump((function() { return new class {
94 var_dump((function() { return new class {
243 return new class {
244 function __toString() { return "a"; }
253 return new class {
[all …]
/PHP-7.4/ext/dom/tests/
H A Dbug76738.phpt32 return $content;
37 $return = $content;
49 return TRUE;
53 return FALSE;
58 return FALSE;
63 return FALSE;
97 return $return;
152 return $dom;
179 $return = '';
194 return $return;
[all …]
/PHP-7.4/ext/pcre/tests/
H A Dpreg_replace_callback_array.phpt8 return "d";
14 return "ok";
19 return "b";
25 "/b/" => function () { return "c"; },
33 "/b/" => function () { return "ok"; },
41 "/b/" => function($a) { return "ok"; }), 'a', -1, $count));
/PHP-7.4/ext/soap/tests/interop/Round2/GroupB/
H A Dround2_groupB.inc6 return array('outputString' => $struct->varString,
13 return (object)array("varString" => $string,
20 return $struct;
25 return $ary;
30 return $ary;
/PHP-7.4/Zend/tests/type_declarations/
H A Dtyped_return_without_value.phpt2 Typed return without value generates compile-time error
7 return;
14 Fatal error: A function with return type must return a value in %s on line %d
/PHP-7.4/ext/opcache/tests/
H A Dbug65915.phpt2 Bug #65915 (Inconsistent results with require return value)
13 file_put_contents($tmp, '<?php return function(){ return "a";};');
19 file_put_contents($tmp, '<?php return function(){ return "b";};');
H A Dbug78015.phpt14 return $d;
21 return $d;
28 return $d;
35 return $d;
42 return $d;
50 return $d;
60 return $y;
73 return $ret[0];
79 return serialize($a['b']);

Completed in 35 milliseconds

12345678910>>...106