Home
last modified time | relevance | path

Searched refs:return (Results 1 – 25 of 2206) sorted by relevance

12345678910>>...89

/php-src/ext/opcache/tests/jit/
H A Dgh8030-002.phpt16 case 1: return 1;
17 case 2: return 2;
18 case 3: return 3;
19 case 4: return 4;
20 case 5: return 5;
21 case 6: return 6;
22 case 7: return 7;
23 case 8: return 8;
24 case 9: return 9;
25 case 10: return 10;
[all …]
/php-src/ext/soap/tests/interop/Round4/GroupI/
H A Dround4_groupI_xsd.inc7 return array("return"=>$inputString->inputString);
15 return array("return"=>$inputInteger->inputInteger);
20 return array("return"=>$inputFloat->inputFloat);
30 return array("return"=>$inputBase64->inputBase64);
38 return array("return"=>$timeInstant->inputDate);
89 return array("return"=>$hb->inputHexBinary);
97 return array("return"=>$dec->inputDecimal);
102 return array("return"=>$boolean->inputBoolean);
126 return array("return"=>$ret);
158 return array("return"=>$input->inputEnum);
[all …]
/php-src/ext/soap/tests/soap12/
H A Dsoap12-test.inc6 return $x;
10 return $inputString;
34 return $x;
38 return $x;
42 return NULL;
54 return $hb;
58 return $dec;
62 return $boolean;
78 return $struct;
82 return $ary;
[all …]
/php-src/Zend/tests/closures/
H A Dclosure_from_callable.inc5 return $param1;
10 return $param1;
20 return $input === $output;
27 return $param1;
32 return $param1;
37 return $param1;
42 return $param1;
47 return $param1;
53 return $param1;
142 return implode(',', $info);
[all …]
/php-src/ext/soap/tests/interop/Round2/Base/
H A Dround2_base.inc6 return $inputString;
11 return $inputStringArray;
17 return $inputInteger;
27 return $inputFloat;
37 return $inputStruct;
47 return NULL;
52 return $b_encoded;
57 return $timeInstant;
62 return $hb;
67 return $dec;
[all …]
/php-src/ext/standard/tests/array/
H A Darray_filter_variation8.phpt16 return 5;
21 // float as return value
24 return 3.4;
29 // string as return value
32 return 'value';
37 // null as return value
40 return null;
45 // array as return value
48 return array(8);
57 callback function with int return value
[all …]
H A Darray_map_variation13.phpt18 return $a + $b;
25 return "$a"."$b";
29 echo "-- with bool return value --\n";
32 return TRUE;
39 return NULL;
43 echo "-- with no return value --\n";
54 -- with integer return value --
63 -- with string return value --
72 -- with bool return value --
81 -- with null return value --
[all …]
H A Darray_filter_variation4.phpt7 * with parameters and return
8 * without parameter and with return
9 * with parameter and without return
10 * without parameter and without return
20 return 1;
38 // callback function with parameter and with return value
42 return true;
45 return false;
55 -- Callback function without parameter and with return --
77 -- Callback function without parameter and return --
[all …]
/php-src/ext/intl/tests/
H A Dut_common.inc30 return;
39 return var_export( $val, true );
120 return $GLOBALS['oo-mode'] ? Collator::getDefault() : collator_get_default();
137 return new NumberFormatter( $locale, $style, $pattern );
139 return NULL;
142 return numfmt_create( $locale, $style, $pattern );
199 return $GLOBALS['oo-mode'] ? $fmt->getPattern() : numfmt_get_pattern( $fmt );
233 return $GLOBALS['oo-mode'] ? Locale::getDefault( ) : locale_get_default();
409 return new ResourceBundle($locale, $bundle, $fallback);
411 return NULL;
[all …]
/php-src/Zend/tests/generators/finally/
H A Dreturn_return.phpt2 try { return } finally { return } in generator
9 echo "before return\n";
10 return;
11 echo "after return\n";
13 echo "before return in inner finally\n";
14 return;
15 echo "after return in inner finally\n";
31 before return
32 before return in inner finally
/php-src/ext/snmp/tests/
H A Dsnmpwalk.phpt24 var_dump(gettype($return));
25 var_dump(sizeof($return));
26 var_dump(gettype($return[0]));
27 var_dump(gettype($return[1]));
31 var_dump(gettype($return));
36 var_dump(gettype($return));
42 var_dump($return);
46 var_dump($return);
50 var_dump($return);
52 var_dump($return);
[all …]
H A Dsnmp2_walk.phpt24 var_dump(gettype($return));
25 var_dump(sizeof($return));
26 var_dump(gettype($return[0]));
27 var_dump(gettype($return[1]));
31 var_dump(gettype($return));
36 var_dump(gettype($return));
42 var_dump($return);
46 var_dump($return);
50 var_dump($return);
52 var_dump($return);
[all …]
H A Dsnmp2_real_walk.phpt22 var_dump(gettype($return));
23 var_dump(sizeof($return));
24 var_dump(key($return));
25 var_dump(array_shift($return));
29 var_dump(gettype($return));
30 var_dump(sizeof($return));
31 var_dump(key($return));
37 var_dump($return);
41 var_dump($return);
43 var_dump($return);
[all …]
H A Dsnmprealwalk.phpt22 var_dump(gettype($return));
23 var_dump(sizeof($return));
24 var_dump(key($return));
25 var_dump(array_shift($return));
29 var_dump(gettype($return));
30 var_dump(sizeof($return));
31 var_dump(key($return));
37 var_dump($return);
41 var_dump($return);
43 var_dump($return);
[all …]
/php-src/ext/opcache/tests/
H A Dbug69038.phpt14 case "LALALALA" : return "LALALAL";
15 case PHP_OS: return "okey";
19 return $a;
27 case "LALALAL": return "bad";
31 case PHP_OS: return "okey";
39 return $b;
45 case 0 : return "LALALAL";
46 case 1 : return "okey";
47 default : return "bad";
54 default: return "bad";
[all …]
/php-src/ext/reflection/tests/
H A DReflectionClass_toString_001.phpt59 - Tentative return [ string ]
66 - Tentative return [ bool ]
73 - Tentative return [ bool ]
80 - Tentative return [ bool ]
87 - Tentative return [ bool ]
94 - Tentative return [ bool ]
137 - Tentative return [ bool ]
161 - Tentative return [ bool ]
185 - Tentative return [ bool ]
238 - Tentative return [ bool ]
[all …]
/php-src/Zend/tests/
H A Dswitch_on_numeric_strings.phpt8 case "01": return "01";
9 case "1": return "1";
11 case " 2": return " 2";
12 case "2": return "2";
14 case "10.0": return "10.0";
15 case "1e1": return "1e1";
17 default: return "default";
/php-src/tests/lang/
H A DreturnByReference.006.phpt6 return 100;
10 return 100;
14 return $GLOBALS['a'];
18 return $functionToCall();
21 echo "\n---> 1. Via a return by ref function call, assign by reference the return value of a functi…
28 echo "\n---> 2. Via a return by ref function call, assign by reference the return value of a functi…
35 echo "\n---> 3. Via a return by ref function call, assign by reference the return value of a functi…
44 ---> 1. Via a return by ref function call, assign by reference the return value of a function that …
50 ---> 2. Via a return by ref function call, assign by reference the return value of a function that …
56 ---> 3. Via a return by ref function call, assign by reference the return value of a function that …
H A DreturnByReference.007.phpt7 return 100;
11 return 100;
15 return $GLOBALS['a'];
19 return C::$functionToCall();
23 echo "\n---> 1. Via a return by ref function call, assign by reference the return value of a functi…
30 echo "\n---> 2. Via a return by ref function call, assign by reference the return value of a functi…
37 echo "\n---> 3. Via a return by ref function call, assign by reference the return value of a functi…
46 ---> 1. Via a return by ref function call, assign by reference the return value of a function that …
52 ---> 2. Via a return by ref function call, assign by reference the return value of a function that …
58 ---> 3. Via a return by ref function call, assign by reference the return value of a function that …
H A DreturnByReference.008.phpt7 return 100;
11 return 100;
15 return $GLOBALS['a'];
19 return $this->$functionToCall();
24 echo "\n---> 1. Via a return by ref function call, assign by reference the return value of a functi…
31 echo "\n---> 2. Via a return by ref function call, assign by reference the return value of a functi…
38 echo "\n---> 3. Via a return by ref function call, assign by reference the return value of a functi…
47 ---> 1. Via a return by ref function call, assign by reference the return value of a function that …
53 ---> 2. Via a return by ref function call, assign by reference the return value of a function that …
59 ---> 3. Via a return by ref function call, assign by reference the return value of a function that …
/php-src/ext/soap/tests/interop/Round3/GroupD/
H A Dround3_groupD_doclitparams.inc6 return array("return"=>$inputString->param0);
11 return array("return"=>$inputStringArray->param0);
16 return array("return"=>$inputStruct->param0);
21 return NULL;
/php-src/ext/exif/tests/
H A Dgh10834.phpt13 return true;
23 return true;
31 return true;
33 return false;
39 return true;
41 return false;
47 return true;
49 return false;
53 return false;
60 return $ret;
[all …]
/php-src/Zend/tests/generators/
H A Dget_return.phpt7 return 42;
17 return 42;
25 // & for generators specifies by-reference yield, not return
26 // so it's okay to return a literal
30 return 42;
38 // Return types for generators specify the return of the function,
39 // not of the generator return value, so this code is okay
42 return 42;
50 // Has no explicit return, but implicitly return NULL at the end
60 // Explicit value-less return also results in a NULL generator
[all …]
/php-src/ext/spl/tests/
H A Ddualiterator.inc52 return $this->lhs;
59 return $this->rhs;
69 /** @return current flags
73 return $this->flags;
105 return NULL;
121 return NULL;
138 return $this->valid()
149 return $this->valid()
178 return false;
192 return false;
[all …]
/php-src/ext/session/tests/user_session_module/
H A Dgh9584.phpt11 return true;
15 return true;
19 return 'foo|s:3:"foo";';
23 return false;
27 return true;
31 return true;
35 return sha1(random_bytes(32));
39 return true;
43 return false;

Completed in 37 milliseconds

12345678910>>...89