/PHP-5.3/ext/soap/tests/interop/Round4/GroupI/ |
H A D | round4_groupI_xsd.inc | 59 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-5.3/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) { 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-5.3/ext/standard/tests/array/ |
H A D | array_splice_basic.phpt | 13 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 D | array_flip_variation5.phpt | 5 /* 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 D | array_filter_variation6.phpt | 2 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 D | array_sum_variation7.phpt | 18 $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 D | array_flip_basic.phpt | 5 /* 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 D | array_pad_variation7.phpt | 2 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 D | array_filter_variation5.phpt | 2 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 D | array_walk_variation6.phpt | 11 * 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 D | array_unique_basic.phpt | 5 /* 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 D | array_change_key_case_variation7.phpt | 7 /* Prototype : array array_change_key_case(array $input [, int $case]) 20 $input = array('one' => 1, 'two' => 2, 'ABC' => 'xyz'); 22 echo "\n-- \$input argument is a reference to array --\n"; 23 $new_input = &$input; 27 var_dump($input); 31 echo "\n-- \$input is an array passed by reference --\n"; 33 var_dump(array_change_key_case(&$input, CASE_UPPER)); 35 var_dump($input); 43 -- $input argument is a reference to array -- 72 -- $input is an array passed by reference --
|
H A D | array_values_variation4.phpt | 5 /* 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 D | array_walk_recursive_variation6.phpt | 11 * 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 D | array_filter_basic.phpt | 5 /* 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 D | array_filter_variation7.phpt | 5 /* 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, create_function('$input', 'return ($input > 1);') ) ); 24 var_dump( array_filter($input, create_function('&$input', 'return ($input < 1);') ) ); 28 var_dump( array_filter($input, create_function(null, 'return true;') ) ); 32 var_dump( array_filter($input, create_function('$input', null) ) );
|
H A D | array_slice_variation8.phpt | 5 /* 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)); 49 -- $input is a sub-array --
|
/PHP-5.3/ext/hash/ |
H A D | hash_snefru.c | 51 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-5.3/ext/intl/doc/ |
H A D | normalizer_api.php | 53 * @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-5.3/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-5.3/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" />"
|
H A D | add-and-stripslashes.phpt | 6 $input = ''; 8 $input .= chr($i%256); 13 if($input === stripslashes(addslashes($input))) { 21 if($input === stripslashes(addslashes($input))) {
|
/PHP-5.3/ext/date/tests/ |
H A D | bug33532.phpt | 17 $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
|
/PHP-5.3/ext/session/tests/ |
H A D | 021.phpt | 10 url_rewriter.tags="a=href,area=href,frame=src,input=src,form=,fieldset=" 28 ini_set("url_rewriter.tags", "a=href,area=href,frame=src,input=src,form="); 37 ini_set("url_rewriter.tags", "a=href,area=href,frame=src,input=src,form=fakeentry"); 46 ini_set("url_rewriter.tags", "a=href,fieldset=,area=href,frame=src,input=src"); 56 <form><input type="hidden" name="PHPSESSID" value="abtest" /> 57 <fieldset><input type="hidden" name="PHPSESSID" value="abtest" /> 58 <form><input type="hidden" name="PHPSESSID" value="abtest" /> 60 <form><input type="hidden" name="PHPSESSID" value="abtest" /> 63 <fieldset><input type="hidden" name="PHPSESSID" value="abtest" />
|