Home
last modified time | relevance | path

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

12345678910>>...27

/php-src/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-src/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-src/ext/dom/
H A Dinfra.c31 if (input == zend_empty_string) { in dom_strip_and_collapse_ascii_whitespace()
32 return input; in dom_strip_and_collapse_ascii_whitespace()
35 ZEND_ASSERT(!ZSTR_IS_INTERNED(input)); in dom_strip_and_collapse_ascii_whitespace()
36 ZEND_ASSERT(GC_REFCOUNT(input) == 1); in dom_strip_and_collapse_ascii_whitespace()
38 char *write_ptr = ZSTR_VAL(input); in dom_strip_and_collapse_ascii_whitespace()
40 const char *start = ZSTR_VAL(input); in dom_strip_and_collapse_ascii_whitespace()
42 const char *end = current + ZSTR_LEN(input); in dom_strip_and_collapse_ascii_whitespace()
68 if (len != ZSTR_LEN(input)) { in dom_strip_and_collapse_ascii_whitespace()
69 return zend_string_truncate(input, len, false); in dom_strip_and_collapse_ascii_whitespace()
72 zend_string_forget_hash_val(input); in dom_strip_and_collapse_ascii_whitespace()
[all …]
/php-src/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_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_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) );
/php-src/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-src/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-src/ext/dom/tests/modern/css_selectors/
H A Dentities.phpt13 …<input type="check&ent;" checked="" class="a&ent;a" id="a&ent;a" xmlns="http://www.w3.org/1999/xht…
16 var_dump($dom->querySelector('input:checked')->nodeName);
17 var_dump($dom->querySelector('input[type$="ox"]')->nodeName);
18 var_dump($dom->querySelector('input.aboxa')->nodeName);
19 var_dump($dom->querySelector('input#aboxa')->nodeName);
23 string(5) "input"
24 string(5) "input"
25 string(5) "input"
26 string(5) "input"
H A Dpseudo_classes_read_write_read_only.phpt12 <input type="text" readonly="" />
14 <input type="text" disabled="" />
16 <input type="text" xmlns="" />
18 <input type="text" />
31 <input xmlns="http://www.w3.org/1999/xhtml" type="text" />
36 <input type="text" readonly="" />
38 <input type="text" disabled="" />
40 <input xmlns="" type="text"/>
42 <input type="text" />
47 <input xmlns="http://www.w3.org/1999/xhtml" type="text" readonly="" />
[all …]
/php-src/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-src/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-src/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-src/ext/standard/tests/array/array_walk/
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_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 …]
/php-src/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-src/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 …]

Completed in 26 milliseconds

12345678910>>...27