/PHP-7.2/ext/standard/tests/array/ |
H A D | array_chunk_error.phpt | 5 /* 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 D | array_reduce_error.phpt | 5 /* 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 D | array_walk_recursive_variation8.phpt | 5 /* 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 D | array_key_exists_variation7.phpt | 17 $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 D | array_flip_variation4.phpt | 2 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 D | array_unique_variation3.phpt | 5 /* 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 D | array_walk_recursive_error1.phpt | 5 /* 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 D | array_walk_variation9.phpt | 5 /* 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 D | array_values_error.phpt | 5 /* 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 D | array_unique_variation4.phpt | 5 /* 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 D | array_walk_recursive_variation9.phpt | 5 /* 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 D | create-test.php | 68 $input = $output = ""; variable 79 $input .= $in; 118 $input = trim($input); variable 124 $input
|
H A D | phpdbg_utils.c | 437 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 D | sample.c | 18 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 D | normalizer_normalize.c | 35 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 D | json_encode_basic_utf8.phpt | 2 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 D | bindec_error.phpt | 2 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 D | ezmlm_hash_error.phpt | 19 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 D | hash_crc32.c | 31 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 D | enable_post_data_reading_07.phpt | 2 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 D | test004.phpt | 4 arg_separator.input== 7 var_dump(ini_get('arg_separator.input'));
|
/PHP-7.2/ext/standard/tests/strings/ |
H A D | strlen_variation1.phpt | 2 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 D | crc32.phpt | 5 $input = array("foo", "bar", "baz", "grldsajkopallkjasd"); 6 foreach($input AS $i) {
|
/PHP-7.2/ext/iconv/tests/ |
H A D | bug60494.phpt | 15 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 D | preg_grep_error2.phpt | 6 * 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) {
|