/PHP-8.2/ext/soap/tests/interop/Round4/GroupI/ |
H A D | round4_groupI_xsd.inc | 59 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.2/ext/soap/tests/interop/Round4/GroupH/ |
H A D | round4_groupH_simple_doclit.inc | 8 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 D | round4_groupH_complex_doclit.inc | 4 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.2/ext/standard/tests/array/ |
H A D | array_splice_basic.phpt | 12 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 D | array_flip_variation5.phpt | 12 $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 D | array_slice_variation11.phpt | 12 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 D | array_flip_basic.phpt | 8 $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 D | array_sum_variation7.phpt | 13 $input = array(); 15 var_dump( array_sum($input) ); 20 var_dump( array_sum($input) ); 25 var_dump( array_sum($input) ); 28 $input = array(null, NULL); 30 var_dump( array_sum($input) ); 33 $input = array( 39 var_dump( array_sum($input) ); 50 $input = array( 57 var_dump( array_sum($input) ); [all …]
|
H A D | array_filter_variation6.phpt | 2 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 D | array_pad_variation7.phpt | 2 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 D | array_filter_variation5.phpt | 2 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 D | array_walk_variation6.phpt | 6 * 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 D | array_unique_basic.phpt | 8 $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 D | array_walk_recursive_variation6.phpt | 6 * 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 D | array_slice_variation8.phpt | 7 * 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 D | array_filter_basic.phpt | 9 $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 D | array_filter_variation8.phpt | 12 $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 …]
|
H A D | array_sum_basic.phpt | 8 $input = array(1, 2, 3, 4, 5); 10 var_dump( array_sum($input) ); 13 $input = array(1.0, 2.2, 3.4, 4.6); 15 var_dump( array_sum($input) ); 18 $input = array(1, 2.3, 4, 0.6, 10); 20 var_dump( array_sum($input) );
|
/PHP-8.2/ext/hash/ |
H A D | hash_snefru.c | 47 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.2/ext/hash/sha3/generic64lc/ |
H A D | KeccakP-1600-64.macros | 771 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.2/ext/pcre/tests/ |
H A D | preg_replace_callback.phpt | 5 $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.2/ext/standard/tests/strings/ |
H A D | bug53319.phpt | 6 $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.2/ext/date/tests/ |
H A D | bug33532.phpt | 18 $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.2/ext/hash/xxhash/ |
H A D | xxhash.h | 2098 v1 = XXH32_round(v1, XXH_get32bits(input)); input += 4; in XXH32_endian_align() 2099 v2 = XXH32_round(v2, XXH_get32bits(input)); input += 4; in XXH32_endian_align() 2100 v3 = XXH32_round(v3, XXH_get32bits(input)); input += 4; in XXH32_endian_align() 2101 v4 = XXH32_round(v4, XXH_get32bits(input)); input += 4; in XXH32_endian_align() 2176 if (input==NULL) { in XXH32_update() 2511 v1 = XXH64_round(v1, XXH_get64bits(input)); input+=8; in XXH64_endian_align() 2512 v2 = XXH64_round(v2, XXH_get64bits(input)); input+=8; in XXH64_endian_align() 2513 v3 = XXH64_round(v3, XXH_get64bits(input)); input+=8; in XXH64_endian_align() 2514 v4 = XXH64_round(v4, XXH_get64bits(input)); input+=8; in XXH64_endian_align() 4889 XXH_memcpy(state->buffer, input, (size_t)(bEnd-input)); in XXH3_update() [all …]
|
/PHP-8.2/ext/standard/tests/general_functions/ |
H A D | intval_binary_prefix.phpt | 35 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)
|