Home
last modified time | relevance | path

Searched refs:input (Results 101 – 125 of 942) sorted by relevance

12345678910>>...38

/PHP-7.2/ext/standard/tests/array/
H A Darray_chunk_error.phpt5 /* Prototype : array array_chunk(array input, int size [, bool preserve_keys])
17 $input = array(1, 2);
21 var_dump( array_chunk($input,$size,$preserve_keys, $extra_arg) );
24 $input = array(1, 2);
25 var_dump( array_chunk($input) );
H A Darray_reduce_error.phpt5 /* Prototype : mixed array_reduce(array input, mixed callback [, int initial])
16 $input = array(1, 2);
20 var_dump( array_reduce($input, $callback, $initial, $extra_arg) );
24 $input = array(1, 2);
25 var_dump( array_reduce($input) );
H A Darray_walk_recursive_variation8.phpt5 /* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata])
19 $input = array(array(2 => 1, 65), array(98, 100), array(6 => -4));
22 var_dump( array_walk_recursive($input, 'pow'));
25 var_dump( array_walk_recursive($input, "min"));
28 var_dump( array_walk_recursive($input, "echo"));
H A Darray_key_exists_variation7.phpt17 $input = array ('one' => 'un', 'two' => 'deux', 'three' => 'trois');
20 var_dump($result = array_key_exists('one', $input));
23 echo key($input) . " => " . current ($input) . "\n";
H A Darray_flip_variation4.phpt2 Test array_flip() function : usage variations - 'input' argument with different invalid values for …
5 /* Prototype : array array_flip(array $input)
11 * Trying different invalid values for 'input' array argument
14 echo "*** Testing array_flip() : different invalid values in 'input' array argument ***\n";
29 $input = array(
55 var_dump( array_flip($input) );
63 *** Testing array_flip() : different invalid values in 'input' array argument ***
H A Darray_unique_variation3.phpt5 /* Prototype : array array_unique(array $input)
12 * associative arrays having different keys to $input argument.
15 echo "*** Testing array_unique() : assoc. array with diff. keys passed to \$input argument ***\n";
37 // different associative arrays to be passed to $input argument
58 foreach($inputs as $input) {
60 var_dump( array_unique($input) );
69 *** Testing array_unique() : assoc. array with diff. keys passed to $input argument ***
H A Darray_walk_recursive_error1.phpt5 /* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata])
10 $input = array(1, 2);
27 var_dump( array_walk_recursive($input) );
29 $input = array( array(1, 2), array(3), array(4, 5));
31 var_dump( array_walk_recursive($input, "non_existent") );
H A Darray_walk_variation9.phpt5 /* Prototype : bool array_walk(array $input, string $funcname [, mixed $userdata])
18 $input = array('Apple', 'Banana', 'Mango', 'Orange');
29 var_dump( array_walk($input, 'callback_two_parameter'));
39 var_dump( array_walk($input, 'callback_one_parameter'));
46 var_dump( array_walk($input, 'callback_no_parameter'));
49 var_dump( array_walk($input, 'callback_two_parameter', 10));
H A Darray_values_error.phpt5 /* Prototype : array array_values(array $input)
6 * Description: Return just the values from the input array
22 $input = array(1, 2);
24 var_dump( array_values($input, $extra_arg) );
H A Darray_unique_variation4.phpt5 /* Prototype : array array_unique(array $input)
12 * associative arrays having different values to $input argument.
15 echo "*** Testing array_unique() : assoc. array with diff. values to \$input argument ***\n";
58 foreach($inputs as $input) {
60 var_dump( array_unique($input) );
69 *** Testing array_unique() : assoc. array with diff. values to $input argument ***
H A Darray_walk_recursive_variation9.phpt5 /* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata])
18 $input = array(array('Apple', 'Banana'), 'Mango', array('Orange'));
29 var_dump( array_walk_recursive($input, 'callback_two_parameter'));
39 var_dump( array_walk_recursive($input, 'callback_one_parameter'));
46 var_dump( array_walk_recursive($input, 'callback_no_parameter'));
49 var_dump( array_walk_recursive($input, 'callback_two_parameter', 10));
/PHP-7.2/sapi/phpdbg/
H A Dcreate-test.php68 $input = $output = ""; variable
79 $input .= $in;
118 $input = trim($input); variable
124 $input
H A Dphpdbg_utils.c437 if (len < 2 || *input != '$') { in phpdbg_parse_variable_with_arg()
445 switch (input[i]) { in phpdbg_parse_variable_with_arg()
460 last_index = input + i; in phpdbg_parse_variable_with_arg()
463 if (input[i - 1] == ']') { in phpdbg_parse_variable_with_arg()
499 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg()
508 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg()
517 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg()
545 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg()
551 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg()
560 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg()
[all …]
/PHP-7.2/ext/mbstring/libmbfl/tests/
H A Dsample.c18 unsigned char input[] = "���ܸ�ʸ����"; /* EUC-JP kanji string */ in main() local
29 string.val = (unsigned char *)input; in main()
30 string.len = strlen(input); in main()
/PHP-7.2/ext/intl/normalizer/
H A Dnormalizer_normalize.c35 char* input = NULL; in PHP_FUNCTION() local
56 &input, &input_len, &form ) == FAILURE ) in PHP_FUNCTION()
89 intl_convert_utf8_to_utf16(&uinput, &uinput_len, input, input_len, &status ); in PHP_FUNCTION()
172 char* input = NULL; in PHP_FUNCTION() local
187 &input, &input_len, &form) == FAILURE ) in PHP_FUNCTION()
215 intl_convert_utf8_to_utf16(&uinput, &uinput_len, input, input_len, &status ); in PHP_FUNCTION()
/PHP-7.2/ext/json/tests/
H A Djson_encode_basic_utf8.phpt2 Test json_encode() function : basic functionality with UTF8 string input
7 echo "*** Testing json_encode() : basic functionality with UTF-8 input***\n";
15 *** Testing json_encode() : basic functionality with UTF-8 input***
/PHP-7.2/ext/standard/tests/math/
H A Dbindec_error.phpt2 Test bindec() function : error conditions - incorrect input
11 * Pass incorrect input to bindec() to test behaviour
25 echo "Incorrect input\n";
35 Incorrect input
/PHP-7.2/ext/standard/tests/mail/
H A Dezmlm_hash_error.phpt19 echo "\n-- Testing ezmlm_hash() function with invalid input - ARRAY --\n";
24 echo "\n-- Testing ezmlm_hash() function with invalid input - OBJECT without 'cast_object' method -…
31 echo "\n-- Testing ezmlm_hash() function with invalid input - RESOURCE --\n";
52 -- Testing ezmlm_hash() function with invalid input - ARRAY --
57 -- Testing ezmlm_hash() function with invalid input - OBJECT without 'cast_object' method --
62 -- Testing ezmlm_hash() function with invalid input - RESOURCE --
/PHP-7.2/ext/hash/
H A Dhash_crc32.c31 PHP_HASH_API void PHP_CRC32Update(PHP_CRC32_CTX *context, const unsigned char *input, size_t len) in PHP_CRC32Update() argument
36 context->state = (context->state << 8) ^ crc32_table[(context->state >> 24) ^ (input[i] & 0xff)]; in PHP_CRC32Update()
40 PHP_HASH_API void PHP_CRC32BUpdate(PHP_CRC32_CTX *context, const unsigned char *input, size_t len) in PHP_CRC32BUpdate() argument
45 context->state = (context->state >> 8) ^ crc32b_table[(context->state ^ input[i]) & 0xff]; in PHP_CRC32BUpdate()
/PHP-7.2/tests/basic/
H A Denable_post_data_reading_07.phpt2 enable_post_data_reading: seeking in php://input
12 $f1 = fopen("php://input", "r");
24 $f2 = fopen("php://input", "r");
/PHP-7.2/tests/run-test/
H A Dtest004.phpt4 arg_separator.input==
7 var_dump(ini_get('arg_separator.input'));
/PHP-7.2/ext/standard/tests/strings/
H A Dstrlen_variation1.phpt2 Test strlen() function : usage variations - unexpected input for '$string' argument
11 echo "*** Testing strlen() : with unexpected input for 'string' argument ***\n";
27 // array with different values for $input
75 foreach($inputs as $input) {
77 var_dump( strlen($input) );
86 *** Testing strlen() : with unexpected input for 'string' argument ***
H A Dcrc32.phpt5 $input = array("foo", "bar", "baz", "grldsajkopallkjasd");
6 foreach($input AS $i) {
/PHP-7.2/ext/iconv/tests/
H A Dbug60494.phpt15 Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
18 Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
21 Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
/PHP-7.2/ext/pcre/tests/
H A Dpreg_grep_error2.phpt6 * proto array preg_grep(string regex, array input [, int flags])
11 * Testing how preg_grep reacts to being passed the wrong type of input argument
15 $input = array('this is a string', array('this is', 'a subarray'),);
16 foreach($input as $value) {

Completed in 46 milliseconds

12345678910>>...38