/php-src/ext/standard/tests/array/ |
H A D | array_walk_recursive_variation5.phpt | 2 Test array_walk_recursive() function : usage variations - 'input' argument containing reference var… 16 // 'input' array containing references to above variables 17 $input = array(&$value1, array(&$value2, -35), array(&$value3, 0), array(&$value4)); 28 var_dump( array_walk_recursive($input, "callback"));
|
H A D | array_walk_variation5.phpt | 2 Test array_walk() function : usage variations - 'input' argument containing reference variables 16 // 'input' array containing references to above variables 17 $input = array(&$value1, &$value2, -35, &$value3, 0, &$value4); 28 var_dump( array_walk($input, "callback"));
|
H A D | array_change_key_case_variation5.phpt | 11 $input = array ('one' => 'un', 'two' => 'deux', 'three' => 'trois'); 14 var_dump($result = array_change_key_case($input, CASE_UPPER)); 19 echo key($input) . " => " . current ($input) . "\n";
|
H A D | array_walk_recursive_variation3.phpt | 2 Test array_walk_recursive() function : usage variations - 'input' array with different values 6 * Testing array_walk_recursive() with following types of 'input' arrays: 15 echo "*** Testing array_walk_recursive() : 'input' array with different values***\n"; 17 // different arrays as input 52 *** Testing array_walk_recursive() : 'input' array with different values***
|
H A D | array_walk_recursive_variation7.phpt | 16 $input = array( array(2, 5), array(10, 0)); 19 var_dump( array_walk_recursive($input, function($value) { var_dump($value); echo "\n"; })); 22 var_dump( array_walk_recursive($input, function($value, $key) { var_dump($key); var_dump($value); e… 25 var_dump( array_walk_recursive($input, function($value, $key, $user_data) { var_dump($key); var_dum… 28 var_dump( array_walk_recursive( $input, function() { echo "1\n"; }));
|
H A D | array_walk_variation7.phpt | 16 $input = array(2, 5, 10, 0); 19 var_dump( array_walk($input, function($value) { var_dump($value); echo "\n"; })); 22 var_dump( array_walk($input, function($value, $key) { var_dump($key); var_dump($value); echo "\n"; … 25 var_dump( array_walk($input, function($value, $key, $user_data) { var_dump($key); var_dump($value);… 28 var_dump( array_walk( $input, function() { echo "1\n"; }));
|
H A D | array_walk_recursive_variation8.phpt | 14 $input = array(array(2 => 1, 65), array(98, 100), array(6 => -4)); 17 var_dump( array_walk_recursive($input, 'pow')); 20 var_dump( array_walk_recursive($input, "min")); 24 var_dump( array_walk_recursive($input, "echo"));
|
H A D | array_walk_variation8.phpt | 14 $input = array(2 => 1, 65, 98, 100, 6 => -4); 17 var_dump( array_walk($input, 'pow')); 20 var_dump( array_walk($input, "min")); 24 var_dump( array_walk($input, "echo"));
|
H A D | array_unique_variation3.phpt | 7 * associative arrays having different keys to $input argument. 10 echo "*** Testing array_unique() : assoc. array with diff. keys passed to \$input argument ***\n"; 32 // different associative arrays to be passed to $input argument 49 foreach($inputs as $input) { 51 var_dump( array_unique($input) ); 60 *** Testing array_unique() : assoc. array with diff. keys passed to $input argument ***
|
H A D | array_product_variation5.phpt | 5 $input = [10, STDERR /* Should get casted to 3 as an integer */]; 8 var_dump(array_product($input)); 12 var_dump(array_reduce($input, fn($carry, $value) => $carry * $value, 1));
|
H A D | array_sum_variation8.phpt | 5 $input = [10, STDERR /* Should get casted to 3 as an integer */]; 8 var_dump(array_sum($input)); 12 var_dump(array_reduce($input, fn($carry, $value) => $carry + $value, 0));
|
H A D | array_sum_objects_operation_no_cast_FFI.phpt | 12 $input = [$x, 1]; 15 var_dump(array_sum($input)); 18 var_dump(array_reduce($input, fn($carry, $value) => $carry + $value, 0));
|
H A D | array_slice_basic.phpt | 12 $input = array('one' => 1, 'two' => 2, 3, 23 => 4); 19 var_dump( array_slice($input, $offset, $length, $preserve_keys) ); 23 var_dump( array_slice($input, $offset) );
|
H A D | array_sum_objects_operation_no_cast.phpt | 7 $input = [new DoOperationNoCast(25), new DoOperationNoCast(6)]; 10 var_dump(array_sum($input)); 13 var_dump(array_reduce($input, fn($carry, $value) => $carry + $value, 0));
|
/php-src/ext/standard/tests/strings/ |
H A D | str_pad_variation5.phpt | 15 * and expected type for '$input' 20 //defining '$input' argument 21 $input = "Test string"; 23 var_dump( str_pad($input, $pad_length) );
|
/php-src/ext/intl/normalizer/ |
H A D | normalizer_normalize.c | 82 char* input = NULL; in PHP_FUNCTION() local 103 &input, &input_len, &form ) == FAILURE ) in PHP_FUNCTION() 133 intl_convert_utf8_to_utf16(&uinput, &uinput_len, input, input_len, &status ); in PHP_FUNCTION() 221 char* input = NULL; in PHP_FUNCTION() local 236 &input, &input_len, &form) == FAILURE ) in PHP_FUNCTION() 261 intl_convert_utf8_to_utf16(&uinput, &uinput_len, input, input_len, &status ); in PHP_FUNCTION() 304 char* input = NULL; in PHP_FUNCTION() local 319 if ((zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &input, &input_length, &form) == FAILURE)) { in PHP_FUNCTION() 325 U8_NEXT(input, offset, input_length, codepoint); in PHP_FUNCTION()
|
/php-src/ext/iconv/tests/ |
H A D | bug60494.phpt | 12 Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d 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
|
/php-src/ext/mbstring/tests/ |
H A D | mb_encode_mimeheader_basic.phpt | 19 foreach ($english as $lang => $input) { 22 var_dump(mb_encode_mimeheader($input, 'UTF-8', 'B')); 24 var_dump(mb_encode_mimeheader($input, 'UTF-8', 'Q')); 29 foreach ($nonEnglish as $lang => $input) { 32 var_dump(mb_encode_mimeheader($input, 'UTF-8', 'B')); 34 var_dump(mb_encode_mimeheader($input, 'UTF-8', 'Q'));
|
H A D | htmlent.phpt | 2 HTML input/output 13 arg_separator.input=x 23 // @... are must be decoded on input these are not reencoded on output. 24 // If you see @AB on output this means input encoding fails.
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_utils.c | 454 if (len < 2 || *input != '$') { in phpdbg_parse_variable_with_arg() 462 switch (input[i]) { in phpdbg_parse_variable_with_arg() 480 last_index = input + i; in phpdbg_parse_variable_with_arg() 483 if (input[i - 1] == ']') { in phpdbg_parse_variable_with_arg() 515 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg() 551 phpdbg_error("%.*s is undefined", (int) (input[i] == ']' ? i + 1 : i), input); in phpdbg_parse_variable_with_arg() 561 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg() 567 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg() 576 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg() 585 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg() [all …]
|
/php-src/tests/run-test/ |
H A D | test004.phpt | 4 arg_separator.input== 7 var_dump(ini_get('arg_separator.input'));
|
/php-src/ext/standard/ |
H A D | pack.c | 710 char *format, *input; in PHP_FUNCTION() local 725 input = ZSTR_VAL(inputarg); in PHP_FUNCTION() 735 input += offset; in PHP_FUNCTION() 916 ZVAL_STRINGL(&val, &input[inputpos], len); in PHP_FUNCTION() 934 if (input[inputpos + len] != padn in PHP_FUNCTION() 935 && input[inputpos + len] != pads in PHP_FUNCTION() 936 && input[inputpos + len] != padt in PHP_FUNCTION() 937 && input[inputpos + len] != padc in PHP_FUNCTION() 938 && input[inputpos + len] != padl in PHP_FUNCTION() 963 if (input[inputpos + s] == pad) in PHP_FUNCTION() [all …]
|
/php-src/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-src/ext/hash/ |
H A D | hash_md.c | 80 static void Encode(unsigned char *output, uint32_t *input, unsigned int len) in Encode() argument 85 output[j] = (unsigned char) (input[i] & 0xff); in Encode() 86 output[j + 1] = (unsigned char) ((input[i] >> 8) & 0xff); in Encode() 87 output[j + 2] = (unsigned char) ((input[i] >> 16) & 0xff); in Encode() 88 output[j + 3] = (unsigned char) ((input[i] >> 24) & 0xff); in Encode() 97 static void Decode(uint32_t *output, const unsigned char *input, unsigned int len) in Decode() argument 102 output[i] = ((uint32_t) input[j]) | (((uint32_t) input[j + 1]) << 8) | in Decode() 103 (((uint32_t) input[j + 2]) << 16) | (((uint32_t) input[j + 3]) << 24); in Decode() 224 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_MD4Update() 228 MD4Transform(context->state, &input[i]); in PHP_MD4Update() [all …]
|
/php-src/ext/standard/tests/general_functions/ |
H A D | output_add_rewrite_var_basic2.phpt | 86 <form method="get"><input type="hidden" name="<NAME>" value="<VALUE>" /> </form> 87 <form action="./foo.php" method="get"><input type="hidden" name="<NAME>" value="<VALUE>… 88 <form action="//php.net/bar.php" method="get"><input type="hidden" name="<NAME>" value="<V… 89 <form action="http://php.net/bar.php" method="get"><input type="hidden" name="<NAME>" value="… 91 <form action="//www.php.net/bar.php" method="get"><input type="hidden" name="<NAME>" value="&… 101 <form method="get"><input type="hidden" name="<NAME>" value="<VALUE>" /> </form> 102 <form action="./foo.php" method="get"><input type="hidden" name="<NAME>" value="<VALUE>… 103 <form action="//php.net/bar.php" method="get"><input type="hidden" name="<NAME>" value="<V… 116 <form method="get"><input type="hidden" name="<NAME>" value="<VALUE>" /> </form> 117 <form action="./foo.php" method="get"><input type="hidden" name="<NAME>" value="<VALUE>… [all …]
|