Home
last modified time | relevance | path

Searched refs:input (Results 201 – 225 of 827) sorted by relevance

12345678910>>...34

/PHP-5.4/ext/standard/tests/array/
H A Darray_change_key_case_variation4.phpt5 /* Prototype : array array_change_key_case(array $input [, int $case])
16 $input = array('One' => 'un', 'TWO' => 'deux', 'three' => 'trois');
19 $temp = $input;
H A Darray_chunk_variation3.phpt16 // input array
17 $input = array(1, 2);
68 var_dump( array_chunk($input, $size, $value) );
H A Darray_slice_variation3.phpt7 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])
76 foreach($inputs as $input) {
78 var_dump( array_slice($input_array, $offset, $input) );
H A Darray_slice_variation7.phpt5 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])
30 // arrays of different data types to be passed as $input
102 foreach($inputs as $type => $input) {
105 var_dump( array_slice($input, $offset, $length, true) );
107 var_dump( array_slice($input, $offset, $length, false) );
H A Darray_pad_variation3.phpt5 /* Prototype : array array_pad(array $input, int $pad_size, mixed $pad_value)
6 * Description: Returns a copy of input array padded with pad_value to size pad_size
13 * $input and $pad_size arguments take fixed value.
18 // Initialise $input and $pad_size argument
19 $input = array(1, 2);
112 var_dump( array_pad($input, $pad_size, $pad_value) ); // positive 'pad_size'
113 var_dump( array_pad($input, -$pad_size, $pad_value) ); // negative 'pad_size'
H A Darray_walk_recursive_variation1.phpt2 Test array_walk_recursive() function : usage variations - unexpected values for 'input' argument
5 /* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata])
11 * Passing different scalar/nonscalar values in place of 'input' argument
14 echo "*** Testing array_walk_recursive() : unexpected values for 'input' argument ***\n";
18 * Parameters : $value - values given in input array
19 * $key - keys given in input array
40 // different scalar/nonscalar values to be used in place of an 'input' argument
95 *** Testing array_walk_recursive() : unexpected values for 'input' argument ***
H A Darray_walk_variation1.phpt2 Test array_walk() function : usage variations - unexpected values for 'input' argument
5 /* Prototype : bool array_walk(array $input, string $funcname [, mixed $userdata])
11 * Passing different scalar/nonscalar values in place of 'input' argument
14 echo "*** Testing array_walk() : unexpected values for 'input' argument ***\n";
18 * Parameters : $value - values given in input array
19 * $key - keys given in input array
40 // different scalar/nonscalar values to be used in place of an 'input' argument
95 *** Testing array_walk() : unexpected values for 'input' argument ***
H A Darray_merge_variation3.phpt40 // arrays of different data types to be passed as $input
113 foreach($inputs as $key => $input) {
115 var_dump( array_merge($input, $arr) );
116 var_dump( array_merge($arr, $input) );
/PHP-5.4/ext/standard/
H A Darray.c2164 zval *input, /* Input array */ in PHP_FUNCTION() local
2507 zval *input, /* Input array */ in PHP_FUNCTION() local
2532 zval *input, /* Input array */ in PHP_FUNCTION() local
2546 myht = Z_ARRVAL_P(input); in PHP_FUNCTION()
2649 RETVAL_ZVAL(input, 1, 0); in PHP_FUNCTION()
3958 zval *input; in PHP_FUNCTION() local
4018 zval *input, in PHP_FUNCTION() local
4048 zval *input, in PHP_FUNCTION() local
4092 zval *input; in PHP_FUNCTION() local
4118 htbl = Z_ARRVAL_P(input); in PHP_FUNCTION()
[all …]
/PHP-5.4/ext/standard/tests/math/
H A Doctdec_error.phpt21 echo "\n-- Incorrect input --\n";
35 -- Incorrect input --
H A Dhexdec_error.phpt21 echo "\n-- Incorrect input --\n";
34 -- Incorrect input --
/PHP-5.4/ext/standard/tests/strings/
H A Dprint_variation1.phpt28 // array with different values for $input
73 foreach($inputs as $input) {
75 $res = print($input);
H A Dparse_str_error1.phpt2 Test parse_str() function : non-default arg_separator.input specified
4 arg_separator.input = "/"
H A Dord_variation1.phpt27 // array with different values for $input
72 foreach($inputs as $input) {
74 var_dump( ord($input) );
H A Dstr_shuffle_variation1.phpt27 // array with different values for $input
73 foreach($inputs as $input) {
75 var_dump( str_shuffle($input) );
H A Dstristr_variation1.phpt26 // array with different values for $input
73 foreach($inputs as $input) {
75 var_dump( stristr($input, " ") );
H A Dbin2hex_variation1.phpt27 // array with different values for $input
70 foreach($inputs as $input) {
72 var_dump(bin2hex($input) );
/PHP-5.4/ext/xml/
H A Dcompat.c586 if (data_len >= 4 || (parser->parser->input->buf->buffer->use + data_len >= 4)) { in XML_Parse()
590 char_count = parser->parser->input->buf->buffer->use; in XML_Parse()
595 memcpy(start, parser->parser->input->buf->buffer->content, (size_t)char_count); in XML_Parse()
739 return parser->parser->input->line; in XML_GetCurrentLineNumber()
745 return parser->parser->input->col; in XML_GetCurrentColumnNumber()
751 return parser->parser->input->consumed + in XML_GetCurrentByteIndex()
752 (parser->parser->input->cur - parser->parser->input->base); in XML_GetCurrentByteIndex()
760 return parser->parser->input->consumed + in XML_GetCurrentByteCount()
761 (parser->parser->input->cur - parser->parser->input->base); in XML_GetCurrentByteCount()
/PHP-5.4/ext/spl/tests/
H A DSplHeap_count_invalid_parameter.phpt18 foreach($data_provider as $input) {
22 var_dump($h->count($input));
H A DSplPriorityQueue_extract_invalid_parameter.phpt18 foreach($data_provider as $input) {
22 var_dump($h->extract($input));
H A DSplHeap_extract_invalid_parameter.phpt18 foreach($data_provider as $input) {
22 var_dump($h->extract($input));
H A DSplHeap_isEmpty_invalid_parameter.phpt18 foreach($data_provider as $input) {
22 var_dump($h->isEmpty($input));
H A DSplObjectStorage_addAll_invalid_parameter.phpt17 foreach($data_provider as $input) {
21 var_dump($s->addAll($input));
/PHP-5.4/ext/standard/tests/url/
H A Dbase64_encode_basic_002.phpt25 echo "\n--- Testing base64_encode() with binary string input ---\n";
48 --- Testing base64_encode() with binary string input ---
/PHP-5.4/ext/json/tests/
H A Djson_decode_basic.phpt43 foreach($inputs as $input) {
45 var_dump(json_decode($input));
46 var_dump(json_decode($input, TRUE));

Completed in 47 milliseconds

12345678910>>...34