/php-src/ext/mbstring/tests/ |
H A D | gh9535.phpt | 23 $input = '宛如繁星般宛如皎月般'; 26 $converted_str = mb_convert_encoding($input, $encoding, mb_internal_encoding()); 34 $input = '星のように月のように'; 37 $converted_str = mb_convert_encoding($input, $encoding, mb_internal_encoding()); 45 $input = 'あaいb'; 48 $converted_str = mb_convert_encoding($input, $encoding, mb_internal_encoding()); 56 $input = 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'; 61 $converted_str = mb_convert_encoding($input, $encoding, mb_internal_encoding()); 69 $input = '???'; 73 $converted_str = mb_convert_encoding($input, $encoding, mb_internal_encoding()); [all …]
|
/php-src/ext/standard/tests/array/ |
H A D | array_rand_basic1.phpt | 6 * Test array_rand() when array with default keys is passed to 'input' argument 12 // Initialise the 'input' and 'num_req' variables 13 $input = array(10, 20, 30, 40, 50, 60, 70); 18 var_dump( array_rand($input,$num_req) ); 22 var_dump( array_rand($input) );
|
H A D | array_change_key_case_variation7.phpt | 13 $input = array('one' => 1, 'two' => 2, 'ABC' => 'xyz'); 15 echo "\n-- \$input argument is a reference to array --\n"; 16 $new_input = &$input; 20 var_dump($input); 29 -- $input argument is a reference to array --
|
H A D | array_sum_variation5.phpt | 6 * Testing array_sum() with 'input' having reference variables as elements 16 // input array containing elements as reference variables 17 $input = array( 25 var_dump( array_sum($input) );
|
H A D | array_unique_variation5.phpt | 10 echo "*** Testing array_unique() : array with duplicate keys for \$input argument ***\n"; 13 $input = array( 1 => "one", 2 => "two", 2 => "2", 3 => "three", 1 => "1", "1", "2"); 14 var_dump( array_unique($input) ); 19 *** Testing array_unique() : array with duplicate keys for $input argument ***
|
H A D | array_unique_variation7.phpt | 9 echo "*** Testing array_unique() : array with binary data for \$input argument ***\n"; 12 $input = array( b"1", b"hello", "world", "str1" => "hello", "str2" => "world"); 14 var_dump( array_unique($input) ); 19 *** Testing array_unique() : array with binary data for $input argument ***
|
H A D | array_pad_variation4.phpt | 8 * The $input and $pad_size arguments passed are fixed values. 13 // initialize the $input and $pad_size argument 14 $input = array(1, 2, 3); 20 var_dump( array_pad($input, $pad_size, $binary) ); // positive 'pad_size' 21 var_dump( array_pad($input, -$pad_size, $binary) ); // negative 'pad_size'
|
H A D | array_unique_variation8.phpt | 7 * two dimensional arrays for $input argument. 10 echo "*** Testing array_unique() : two dimensional array for \$input argument ***\n"; 13 $input = array( 20 var_dump( array_unique($input, SORT_STRING) ); 25 *** Testing array_unique() : two dimensional array for $input argument ***
|
H A D | shuffle_basic1.phpt | 8 * changes in the input array by printing the input array 22 // printing the input array with integers before the shuffle operation 23 echo "\n-- input array of integers before shuffle() function is applied --\n"; 26 // applying shuffle() function on the input array of integers 35 // printing the input array with strings before the shuffle operation 36 echo "\n-- input array of strings before shuffle() function is applied --\n"; 39 // applying shuffle() function on the input array of strings 51 -- input array of integers before shuffle() function is applied -- 98 -- input array of strings before shuffle() function is applied --
|
H A D | array_sum_empty_array.phpt | 5 $input = []; 8 var_dump(array_sum($input)); 11 var_dump(array_reduce($input, fn($carry, $value) => $carry + $value, 0));
|
H A D | array_product_empty_array.phpt | 5 $input = []; 8 var_dump(array_product($input)); 11 var_dump(array_reduce($input, fn($carry, $value) => $carry * $value, 1));
|
H A D | packed_001.phpt | 18 foreach ($inputs as $input) { 19 print_r(array_keys($input)); 20 print_r(array_values($input));
|
H A D | array_filter_object.phpt | 5 /* This file uses 'input' array with different types of objects and passes 63 function always_true($input) 69 function always_false($input) 74 // 'input' array containing objects as elements 75 $input = array( 85 var_dump( array_filter($input) ); 88 var_dump( array_filter($input, "always_true") ); 91 var_dump( array_filter($input, "always_false") );
|
H A D | array_filter_variation3.phpt | 2 Test array_filter() function : usage variations - Different types of array for 'input' argument 6 * Passing different types of array as 'input' argument. 9 function always_false($input) 15 function always_true($input) 20 echo "*** Testing array_filter() : usage variations - different types of array for 'input' argument… 22 // different types of 'input' array 35 // loop through each element of 'input' with default callback 47 *** Testing array_filter() : usage variations - different types of array for 'input' argument***
|
H A D | array_key_exists_variation7.phpt | 11 $input = array ('one' => 'un', 'two' => 'deux', 'three' => 'trois'); 14 var_dump($result = array_key_exists('one', $input)); 17 echo key($input) . " => " . current ($input) . "\n";
|
H A D | array_flip_variation2.phpt | 2 Test array_flip() function : usage variations - 'input' array with different keys 6 * Trying different keys in $input array argument 9 echo "*** Testing array_flip() : different keys for 'input' array argument ***\n"; 24 $input = array( 61 var_dump( array_flip($input) ); 66 *** Testing array_flip() : different keys for 'input' array argument ***
|
/php-src/ext/standard/tests/strings/ |
H A D | str_pad_variation1.phpt | 12 * and expected type for '$input' 17 //defining '$input' argument 18 $input = "Test string"; 22 var_dump( str_pad($input, $extra_large_pad_length) ); 28 var_dump( str_pad($input, $php_int_max_pad_length) );
|
/php-src/ext/filter/tests/ |
H A D | bug81708.phpt | 9 $input = "+" . str_repeat("1", 2); // avoid string interning 11 $input, 15 var_dump($input);
|
/php-src/ext/soap/tests/bugs/ |
H A D | bug40609.wsdl | 26 …input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" message="axis2:updateMessage" wsaw:Ac…
|
/php-src/ext/standard/tests/http/http_build_query/ |
H A D | http_build_query_object_basic.phpt | 6 public $public = "input"; 13 // Percent encoded "public=input" 17 string(12) "public=input"
|
H A D | http_build_query_object_nested.phpt | 6 public $public = "input"; 16 // Percent encoded "public[public]=input" 20 string(24) "public%5Bpublic%5D=input"
|
/php-src/ext/session/tests/ |
H A D | session_basic4.phpt | 57 … method="post"><input type="hidden" name="testvar1" value="testvalue1" /><input type="hidden" name… 61 … method="post"><input type="hidden" name="testvar1" value="testvalue1" /><input type="hidden" name…
|
/php-src/ext/json/tests/ |
H A D | json_validate_005.phpt | 21 foreach ($inputs as $input) { 22 var_dump($input, json_decode($input), json_validate($input));
|
/php-src/ext/hash/ |
H A D | hash_joaat.c | 44 PHP_HASH_API void PHP_JOAATUpdate(PHP_JOAAT_CTX *context, const unsigned char *input, size_t inputL… in PHP_JOAATUpdate() argument 46 context->state = joaat_buf((void *)input, inputLen, context->state); in PHP_JOAATUpdate() 83 unsigned char *input = (unsigned char *)buf; in joaat_buf() local 86 hval += input[i]; in joaat_buf()
|
H A D | php_hash_fnv.h | 54 PHP_HASH_API void PHP_FNV132Update(PHP_FNV132_CTX *context, const unsigned char *input, size_t inpu… 55 PHP_HASH_API void PHP_FNV1a32Update(PHP_FNV132_CTX *context, const unsigned char *input, size_t inp… 59 PHP_HASH_API void PHP_FNV164Update(PHP_FNV164_CTX *context, const unsigned char *input, size_t inpu… 60 PHP_HASH_API void PHP_FNV1a64Update(PHP_FNV164_CTX *context, const unsigned char *input, size_t inp…
|