Home
last modified time | relevance | path

Searched refs:input (Results 1 – 25 of 942) sorted by relevance

12345678910>>...38

/PHP-7.2/ext/soap/tests/interop/Round4/GroupI/
H A Dround4_groupI_xsd.inc59 function echoFloatMultiOccurs($input)
123 if (isset($input->inputString)) {
147 function echoChoice($input)
149 if (isset($input->inputChoice)) {
152 return $input;
156 function echoEnum($input)
161 function echoAnyType($input)
166 return $input;
170 function echoAnyElement($input)
172 if (isset($input->inputAny)) {
[all …]
/PHP-7.2/ext/soap/tests/interop/Round4/GroupH/
H A Dround4_groupH_simple_doclit.inc8 function echoStringFault($input) {
12 function echoIntArrayFault($input) {
16 function echoMultipleFaults1($input) {
17 if ($input->whichFault == 2) {
19 } else if ($input->whichFault == 3) {
26 function echoMultipleFaults2($input) {
27 if ($input->whichFault == 2) {
29 } else if ($input->whichFault == 3) {
36 function echoMultipleFaults3($input) {
37 if ($input->whichFault == 2) {
[all …]
H A Dround4_groupH_complex_doclit.inc4 function echoSOAPStructFault($input) {
8 function echoBaseStructFault($input) {
9 …return new SoapFault("Server", "Fault in response to 'echoBaseStructFault'.", null, $input, "Compl…
12 function echoExtendedStructFault($input) {
13 …return new SoapFault("Server", "Fault in response to 'echoExtendedStructFault'.", null, $input, "C…
16 function echoMultipleFaults1($input) {
17 if ($input->whichFault == 2) {
18 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, $input->param2…
24 function echoMultipleFaults2($input) {
25 if ($input->whichFault == 2) {
[all …]
/PHP-7.2/ext/standard/tests/array/
H A Darray_splice_basic.phpt13 var_dump (array_splice($input, 2));
14 var_dump ($input);
15 // $input is now array("red", "green")
19 var_dump (array_splice($input, 1, -1));
20 var_dump ($input);
21 // $input is now array("red", "yellow")
25 var_dump (array_splice($input, 1, count($input), "orange"));
26 var_dump ($input);
31 var_dump ($input);
32 // $input is now array("red", "green",
[all …]
H A Darray_flip_variation5.phpt5 /* Prototype : array array_flip(array $input)
18 var_dump( array_flip($input) );
22 var_dump( array_flip($input) );
25 $input = array(true => 1, false => 0, TRUE => -1);
26 var_dump( array_flip($input) );
29 $input = array(null => "Hello", NULL => 0);
30 var_dump( array_flip($input) );
33 $input = array('one' => 1, 'two' => 2, 3 => 1, "index" => 1);
34 var_dump( array_flip($input) );
37 $input = array('key1' => "value1", "key2" => '2', 'key3' => 'value1');
[all …]
H A Darray_filter_variation6.phpt2 Test array_filter() function : usage variations - 'input' array containing references
5 /* Prototype : array array_filter(array $input [, callback $callback])
11 * Passing 'input' array which contains elements as reference to other data
17 /* Prototype : bool callback(array $input)
18 * Parameter : $input - array of which each element need to be checked in function
23 function callback($input)
25 if($input > 5) {
36 $input = array(&$value1, 10, &$value2, 'value');
39 var_dump( array_filter($input, 'callback') );
42 var_dump( array_filter($input) );
[all …]
H A Darray_flip_basic.phpt5 /* Prototype : array array_flip(array $input)
13 $input = array(1, 2);
14 var_dump( array_flip($input) );
17 $input = array('value1', "value2");
18 var_dump( array_flip($input) );
21 $input = array('key1' => 1, "key2" => 2);
22 var_dump( array_flip($input) );
25 $input = array(1 => 'one', 2 => "two");
26 var_dump( array_flip($input) );
29 $input = array(1 => 'one','two', 3 => 'three', 4, "five" => 5);
[all …]
H A Darray_sum_variation7.phpt18 $input = array();
20 var_dump( array_sum($input) );
25 var_dump( array_sum($input) );
30 var_dump( array_sum($input) );
33 $input = array(null, NULL);
35 var_dump( array_sum($input) );
38 $input = array(
44 var_dump( array_sum($input) );
55 $input = array(
62 var_dump( array_sum($input) );
[all …]
H A Darray_pad_variation7.phpt2 Test array_pad() function : usage variations - two dimensional array for 'input' argument
5 /* Prototype : array array_pad(array $input, int $pad_size, mixed $pad_value)
11 * Passing two dimensional array to $input argument and testing whether
16 echo "*** Testing array_pad() : Passing 2-D array to \$input argument ***\n";
19 $input = array (
30 echo "-- Entire 2-d array for \$input argument --\n";
31 var_dump( array_pad($input, $pad_size, $pad_value) ); // positive 'pad_size'
35 echo "-- Sub array for \$input argument --\n";
42 *** Testing array_pad() : Passing 2-D array to $input argument ***
43 -- Entire 2-d array for $input argument --
[all …]
H A Darray_filter_variation5.phpt2 Test array_filter() function : usage variations - 'input' argument with different false entries
5 /* Prototype : array array_filter(array $input [, callback $callback])
16 function always_true($input)
22 function always_false($input)
27 echo "*** Testing array_filter() : usage variations - different false elements in 'input' ***\n";
37 // input array with different false elements
38 $input = array(
58 var_dump( array_filter($input) );
61 var_dump( array_filter($input, 'always_true') );
64 var_dump( array_filter($input, 'always_false') );
[all …]
H A Darray_walk_variation6.phpt11 * Passing 'input' argument as an associative array
26 // dump the input values to see if they are
35 * Parameters : $value - values in given input array
36 * $key - keys in given input array
41 // dump the input values to see if they are
50 * $key - keys in given input array
55 // dump the input values to see if they are
65 var_dump( array_walk($input, "for_numeric", 10));
70 var_dump( array_walk($input, "for_string"));
75 var_dump( array_walk($input, "for_string"));
[all …]
H A Darray_unique_basic.phpt5 /* Prototype : array array_unique(array $input)
13 $input = array(1, 2, "1", '2');
14 var_dump( array_unique($input) );
17 $input = array("1" => "one", 1 => "one", 2 => "two", '2' => "two");
18 var_dump( array_unique($input) );
21 $input = array("1" => "one", "two", "one", 2 => "two", "three");
22 var_dump( array_unique($input) );
H A Darray_values_variation4.phpt5 /* Prototype : array array_values(array $input)
6 * Description: Return just the values from the input array
12 * 1. Passed a two-dimensional array as $input argument
13 * 2. Passed a sub-array as $input argument
19 $input = array ('zero' => 'zero', 'un' => 'one', 'sub' => array (1, 2, 3));
22 var_dump(array_values($input));
25 var_dump(array_values($input['sub']));
28 $input[] = &$input;
30 var_dump(array_values($input));
H A Darray_walk_recursive_variation6.phpt11 * Passing 'input' argument as an associative array
26 // dump the input values to see if they are
35 * Parameters : $value - values in given input array
36 * $key - keys in given input array
41 // dump the input values to see if they are
49 * Parameters : $value - values in given input array
50 * $key - keys in given input array
55 // dump the input values to see if they are
70 var_dump( array_walk_recursive($input, "for_string"));
73 $input = array( b"a" => "Apple", b"b" => "Banana");
[all …]
H A Darray_filter_basic.phpt5 /* Prototype : array array_filter(array $input [, callback $callback])
15 $input = array(1, 2, 3, 0, -1); // 0 will be considered as FALSE and removed in default callback
18 * Prototype : bool even(array $input)
19 * Parameters : $input - input array each element of which will be checked in function even()
24 function even($input)
26 return ($input % 2 == 0);
30 var_dump( array_filter($input,"even") );
33 var_dump( array_filter($input) );
H A Darray_filter_variation7.phpt5 /* Prototype : array array_filter(array $input [, callback $callback])
16 $input = array(0, 1, -1, 10, 100, 1000, 'Hello', null);
20 var_dump( array_filter($input, function($input) { return ($input > 1); }) );
24 var_dump( array_filter($input, function(&$input) { return ($input < 1); }) );
28 var_dump( array_filter($input, function() { return true; }) );
32 var_dump( array_filter($input, function($input) { }) );
H A Darray_slice_variation8.phpt5 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])
12 * 1. a two-dimensional array as $input argument
13 * 2. a sub-array as $input argument
18 $input = array ('zero', 'one', array('zero', 'un', 'deux'), 9 => 'nine');
21 var_dump(array_slice($input, 1, 3));
23 echo "\n-- \$input is a sub-array --\n";
24 var_dump(array_slice($input[2], 1, 2));
48 -- $input is a sub-array --
H A Darray_values_variation7.phpt5 /* Prototype : array array_values(array $input)
6 * Description: Return just the values from the input array
12 * and is not dependent on the \$input argument's keys
18 $input = array(3 => 'three', 2 => 'two', 1 => 'one', 0 => 'zero');
20 echo "\n-- \$input argument: --\n";
21 var_dump($input);
24 var_dump(array_values($input));
31 -- $input argument: --
H A Darray_sum_basic.phpt5 /* Prototype : mixed array_sum(array &input)
13 $input = array(1, 2, 3, 4, 5);
15 var_dump( array_sum($input) );
18 $input = array(1.0, 2.2, 3.4, 4.6);
20 var_dump( array_sum($input) );
23 $input = array(1, 2.3, 4, 0.6, 10);
25 var_dump( array_sum($input) );
/PHP-7.2/ext/hash/
H A Dhash_snefru.c51 B00 = input[0]; in Snefru()
52 B01 = input[1]; in Snefru()
53 B02 = input[2]; in Snefru()
54 B03 = input[3]; in Snefru()
55 B04 = input[4]; in Snefru()
56 B05 = input[5]; in Snefru()
57 B06 = input[6]; in Snefru()
58 B07 = input[7]; in Snefru()
59 B08 = input[8]; in Snefru()
119 ph(input); in Snefru()
[all …]
/PHP-7.2/ext/hash/sha3/generic64lc/
H A DKeccakP-1600-64.macros771 X##ba ^= input[ 0]; \
772 X##be ^= input[ 1]; \
773 X##bi ^= input[ 2]; \
774 X##bo ^= input[ 3]; \
775 X##bu ^= input[ 4]; \
776 X##ga ^= input[ 5]; \
777 X##ge ^= input[ 6]; \
778 X##gi ^= input[ 7]; \
779 X##go ^= input[ 8]; \
780 X##gu ^= input[ 9]; \
[all …]
/PHP-7.2/ext/intl/doc/
H A Dnormalizer_api.php53 * @param string $input The input string to normalize
57 public static function normalize($input, $form = Normalizer::FORM_C) {} argument
61 * @param string $input The input string to normalize
65 public static function isNormalized($input, $form = Normalizer::FORM_C) {} argument
75 * @param string $input The input string to normalize
79 function normalizer_normalize($input, $form = Normalizer::FORM_C) {} argument
83 * @param string $input The input string to normalize
87 function normalizer_is_normalized($input, $form = Normalizer::FORM_C) {} argument
/PHP-7.2/ext/pcre/tests/
H A Dpreg_replace_callback.phpt5 $input = "plain [indent] deep [indent] [abcd]deeper[/abcd] [/indent] deep [/indent] plain";
7 function parseTagsRecursive($input)
12 if (is_array($input)) {
13 $input = '<div style="margin-left: 10px">'.$input[1].'</div>';
16 return preg_replace_callback($regex, 'parseTagsRecursive', $input);
19 $output = parseTagsRecursive($input);
/PHP-7.2/ext/standard/tests/strings/
H A Dbug53319.phpt6 $str = '<br /><br />USD<input type="text"/><br/>CDN<br><input type="text" />';
7 var_dump(strip_tags($str, '<input>'));
8 var_dump(strip_tags($str, '<br><input>') === $str);
14 string(47) "USD<input type="text"/>CDN<input type="text" />"
/PHP-7.2/ext/date/tests/
H A Dbug33532.phpt17 $input = "10:00:00 AM July 1 2005";
18 print "input " . $input . "\n";
19 $tStamp = strtotime($input);
26 $input = "10:00:00 AM July 1 2005";
27 print "input " . $input . "\n";
28 $tStamp = strtotime($input);
36 input 10:00:00 AM July 1 2005
41 input 10:00:00 AM July 1 2005

Completed in 35 milliseconds

12345678910>>...38