Home
last modified time | relevance | path

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

12345678910>>...26

/PHP-8.3/ext/soap/tests/interop/Round4/GroupI/
H A Dround4_groupI_xsd.inc59 function echoFloatMultiOccurs($input)
68 function echoStringMultiOccurs($input)
123 if (isset($input->inputString)) {
147 function echoChoice($input)
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-8.3/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) {
5 … "Fault in response to 'echoSOAPStructFault'.", null, array("soapStruct"=>$input), "ComplexFault");
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) {
24 function echoMultipleFaults2($input) {
25 if ($input->whichFault == 2) {
[all …]
/PHP-8.3/ext/standard/tests/array/
H A Darray_splice_basic.phpt12 var_dump (array_splice($input, 2));
13 var_dump ($input);
14 // $input is now array("red", "green")
19 var_dump ($input);
20 // $input is now array("red", "green")
24 var_dump (array_splice($input, 1, -1));
25 var_dump ($input);
30 var_dump (array_splice($input, 1, count($input), "orange"));
31 var_dump ($input);
36 var_dump ($input);
[all …]
H A Darray_flip_variation5.phpt12 $input = array(1 => 'value', 2 => 'VALUE', 1 => "VaLuE", 3 => 4, 3 => 5);
13 var_dump( array_flip($input) );
17 var_dump( array_flip($input) );
20 $input = array(true => 1, false => 0, TRUE => -1);
21 var_dump( array_flip($input) );
24 $input = array(null => "Hello", NULL => 0);
25 var_dump( array_flip($input) );
28 $input = array('one' => 1, 'two' => 2, 3 => 1, "index" => 1);
29 var_dump( array_flip($input) );
32 $input = array('key1' => "value1", "key2" => '2', 'key3' => 'value1');
[all …]
H A Darray_slice_variation11.phpt12 unset($input[$offsetToUnset]);
18 dump_slice($input, 'two', 0, 1);
19 dump_slice($input, 'two', 0, 2);
20 dump_slice($input, 'two', 0, 3);
21 dump_slice($input, 23, 1, 2);
25 dump_slice($input, 0, 0, 1);
26 dump_slice($input, 1, 0, 1);
27 dump_slice($input, 1, 0, 3);
28 dump_slice($input, 1, -1, 1);
29 dump_slice($input, 1, 0, 3);
[all …]
H A Darray_flip_basic.phpt8 $input = array(1, 2);
9 var_dump( array_flip($input) );
12 $input = array('value1', "value2");
13 var_dump( array_flip($input) );
16 $input = array('key1' => 1, "key2" => 2);
17 var_dump( array_flip($input) );
20 $input = array(1 => 'one', 2 => "two");
21 var_dump( array_flip($input) );
24 $input = array(1 => 'one','two', 3 => 'three', 4, "five" => 5);
25 var_dump( array_flip($input) );
H A Darray_filter_variation6.phpt2 Test array_filter() function : usage variations - 'input' array containing references
6 * Passing 'input' array which contains elements as reference to other data
9 echo "*** Testing array_filter() : usage variations - 'input' containing references ***\n";
11 function callback($input)
13 if($input > 5) {
24 $input = array(&$value1, 10, &$value2, 'value');
27 var_dump( array_filter($input, 'callback') );
30 var_dump( array_filter($input) );
35 *** Testing array_filter() : usage variations - 'input' containing references ***
H A Darray_pad_variation7.phpt2 Test array_pad() function : usage variations - two dimensional array for 'input' argument
6 * Passing two dimensional array to $input argument and testing whether
11 echo "*** Testing array_pad() : Passing 2-D array to \$input argument ***\n";
14 $input = array (
25 echo "-- Entire 2-d array for \$input argument --\n";
26 var_dump( array_pad($input, $pad_size, $pad_value) ); // positive 'pad_size'
27 var_dump( array_pad($input, -$pad_size, $pad_value) ); // negative 'pad_size'
30 echo "-- Sub array for \$input argument --\n";
37 *** Testing array_pad() : Passing 2-D array to $input argument ***
38 -- 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
10 function always_true($input)
16 function always_false($input)
21 echo "*** Testing array_filter() : usage variations - different false elements in 'input' ***\n";
31 // input array with different false elements
32 $input = array(
52 var_dump( array_filter($input) );
55 var_dump( array_filter($input, 'always_true') );
58 var_dump( array_filter($input, 'always_false') );
63 *** Testing array_filter() : usage variations - different false elements in 'input' ***
H A Darray_walk_variation6.phpt6 * Passing 'input' argument as an associative array
14 // dump the input values to see if they are
24 // dump the input values to see if they are
33 // dump the input values to see if they are
41 $input = array( 1 => 25, 5 => 12, 0 => -80, -2 => 100, 5 => 30);
43 var_dump( array_walk($input, "for_numeric", 10));
48 var_dump( array_walk($input, "for_string"));
51 $input = array( b"a" => "Apple", b"b" => "Banana");
53 var_dump( array_walk($input, "for_string"));
58 var_dump( array_walk($input, "for_mixed"));
[all …]
H A Darray_unique_basic.phpt8 $input = array(1, 2, "1", '2');
9 var_dump( array_unique($input) );
12 $input = array("1" => "one", 1 => "one", 2 => "two", '2' => "two");
13 var_dump( array_unique($input) );
16 $input = array("1" => "one", "two", "one", 2 => "two", "three");
17 var_dump( array_unique($input) );
H A Darray_walk_recursive_variation6.phpt6 * Passing 'input' argument as an associative array
10 echo "*** Testing array_walk_recursive() : 'input' as an associative array ***\n";
14 // dump the input values to see if they are
24 // dump the input values to see if they are
33 // dump the input values to see if they are
43 var_dump( array_walk_recursive($input, "for_numeric", 10));
48 var_dump( array_walk_recursive($input, "for_string"));
51 $input = array( b"a" => "Apple", b"b" => "Banana");
53 var_dump( array_walk_recursive($input, "for_string"));
58 var_dump( array_walk_recursive($input, "for_mixed"));
[all …]
H A Darray_slice_variation8.phpt7 * 1. a two-dimensional array as $input argument
8 * 2. a sub-array as $input argument
13 $input = array ('zero', 'one', array('zero', 'un', 'deux'), 9 => 'nine');
16 var_dump(array_slice($input, 1, 3));
18 echo "\n-- \$input is a sub-array --\n";
19 var_dump(array_slice($input[2], 1, 2));
43 -- $input is a sub-array --
H A Darray_filter_basic.phpt9 $input = array(1, 2, 3, 0, -1); // 0 will be considered as FALSE and removed in default callback
11 function even($input)
13 return ($input % 2 == 0);
17 var_dump( array_filter($input,"even") );
20 var_dump( array_filter($input) );
22 var_dump( array_filter($input, null) );
H A Darray_filter_variation8.phpt12 $input = array(0, 1, -1, 10, 100, 1000, 'Hello', null, true);
14 function callback1($input)
19 var_dump( array_filter($input, 'callback1') );
22 function callback2($input)
27 var_dump( array_filter($input, 'callback2') );
30 function callback3($input)
35 var_dump( array_filter($input, 'callback3') );
38 function callback4($input)
43 var_dump( array_filter($input, 'callback4') );
46 function callback5($input)
[all …]
/PHP-8.3/ext/hash/
H A Dhash_snefru.c47 B00 = input[0]; in Snefru()
48 B01 = input[1]; in Snefru()
49 B02 = input[2]; in Snefru()
50 B03 = input[3]; in Snefru()
51 B04 = input[4]; in Snefru()
52 B05 = input[5]; in Snefru()
53 B06 = input[6]; in Snefru()
54 B07 = input[7]; in Snefru()
55 B08 = input[8]; in Snefru()
115 ph(input); in Snefru()
[all …]
/PHP-8.3/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-8.3/ext/standard/tests/file/
H A Dgh9441.phpt2 Bug GH-9441 (fseek does not work with php://input when data is not preread)
10 $input = fopen("php://input", "r");
11 var_dump(fseek($input, 10));
12 var_dump(ftell($input));
13 var_dump(fread($input, 10));
14 var_dump(file_get_contents("php://input"));
/PHP-8.3/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-8.3/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-8.3/ext/date/tests/
H A Dbug33532.phpt18 $input = "10:00:00 AM July 1 2005";
19 print "input " . $input . "\n";
20 $tStamp = strtotime($input);
27 $input = "10:00:00 AM July 1 2005";
28 print "input " . $input . "\n";
29 $tStamp = strtotime($input);
37 input 10:00:00 AM July 1 2005
42 input 10:00:00 AM July 1 2005
/PHP-8.3/ext/mbstring/tests/
H A Dgh9535b.phpt14 $input = '宛如繁星般宛如皎月般';
17 $converted_str = mb_convert_encoding($input, $encoding, mb_internal_encoding());
25 $input = '星のように月のように';
28 $converted_str = mb_convert_encoding($input, $encoding, mb_internal_encoding());
36 $input = 'あaいb';
39 $converted_str = mb_convert_encoding($input, $encoding, mb_internal_encoding());
47 $input = 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
50 $converted_str = mb_convert_encoding($input, $encoding, mb_internal_encoding());
58 $input = '???';
61 $converted_str = mb_convert_encoding($input, $encoding, mb_internal_encoding());
[all …]
/PHP-8.3/ext/hash/xxhash/
H A Dxxhash.h2129 v1 = XXH32_round(v1, XXH_get32bits(input)); input += 4; in XXH32_endian_align()
2130 v2 = XXH32_round(v2, XXH_get32bits(input)); input += 4; in XXH32_endian_align()
2131 v3 = XXH32_round(v3, XXH_get32bits(input)); input += 4; in XXH32_endian_align()
2132 v4 = XXH32_round(v4, XXH_get32bits(input)); input += 4; in XXH32_endian_align()
2207 if (input==NULL) { in XXH32_update()
2542 v1 = XXH64_round(v1, XXH_get64bits(input)); input+=8; in XXH64_endian_align()
2543 v2 = XXH64_round(v2, XXH_get64bits(input)); input+=8; in XXH64_endian_align()
2544 v3 = XXH64_round(v3, XXH_get64bits(input)); input+=8; in XXH64_endian_align()
2545 v4 = XXH64_round(v4, XXH_get64bits(input)); input+=8; in XXH64_endian_align()
4920 XXH_memcpy(state->buffer, input, (size_t)(bEnd-input)); in XXH3_update()
[all …]
/PHP-8.3/ext/standard/tests/general_functions/
H A Dintval_binary_prefix.phpt35 foreach ($goodInputs as $input) {
37 intval($input, 0)
43 foreach ($goodInputs as $input) {
45 intval($input, 2)
51 foreach ($goodInputs as $input) {
53 intval($input)
59 foreach ($badInputs as $input) {
61 intval($input, 0)

Completed in 66 milliseconds

12345678910>>...26