Home
last modified time | relevance | path

Searched refs:input (Results 176 – 200 of 814) sorted by relevance

12345678910>>...33

/PHP-5.3/ext/standard/tests/array/
H A Darray_rand_variation1.phpt2 Test array_rand() function : usage variations - unexpected values for 'input' parameter
5 /* Prototype : mixed array_rand(array input [, int num_req])
11 * Test array_rand() with different types of values other than arrays passed to the 'input' parameter
15 echo "*** Testing array_rand() : unexpected values for 'input' parameter ***\n";
37 //array of different values for 'input' parameter
85 * for different values for 'input' argument
100 *** Testing array_rand() : unexpected values for 'input' parameter ***
H A Darray_values_variation1.phpt2 Test array_values() function : usage variations - Pass different data types as $input arg
5 /* Prototype : array array_values(array $input)
6 * Description: Return just the values from the input array
11 * Pass different data types as $input argument to array_values() to test behaviour
36 // unexpected values to be passed to $input argument
87 foreach($inputs as $input) {
89 var_dump( array_values($input) );
H A Dbug42850.phpt20 function apply_changed(&$input, $key) {
21 $input = 'changed';
H A Dkey_variation2.phpt97 foreach($inputs as $key => $input) {
99 while (key($input) !== NULL) {
100 var_dump(key($input));
101 next($input);
H A Darray_change_key_case_variation3.phpt5 /* Prototype : array array_change_key_case(array $input [, int $case])
26 // arrays of different data types to be passed to $input argument
95 foreach($inputs as $key => $input) {
97 var_dump( array_change_key_case($input, CASE_UPPER) );
H A Darray_count_values_variation.phpt5 /* Prototype : proto array array_count_values(array input)
6 * Description: Return the value as key and the frequency of that value in input as value
H A Darray_flip_variation1.phpt2 Test array_flip() function : usage variations - unexpected values for 'input' argument
5 /* Prototype : array array_flip(array $input)
10 echo "*** Testing array_flip() : usage variations - unexpected values for 'input' ***\n";
28 //array of values for 'input' argument
74 // loop through each element of $values for 'input' argument
86 *** Testing array_flip() : usage variations - unexpected values for 'input' ***
H A Darray_pad_variation1.phpt2 Test array_pad() function : usage variations - unexpected values for 'input' argument
5 /* 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
11 * Testing array_pad() function by passing values to $input argument other than arrays
16 echo "*** Testing array_pad() : passing non array values to \$input argument ***\n";
42 // unexpected values to be passed to $input argument
91 foreach($inputs as $input) {
93 var_dump( array_pad($input, $pad_size, $pad_value) ); // positive 'pad_size'
94 var_dump( array_pad($input, -$pad_size, $pad_value) ); // negative 'pad_size'
101 *** Testing array_pad() : passing non array values to $input argument ***
H A Darray_pad_variation6.phpt2 Test array_pad() function : usage variations - different arrays for 'input' argument
5 /* 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
11 * Passing different arrays to $input argument and testing whether
16 echo "*** Testing array_pad() : Passing different arrays to \$input argument ***\n";
49 // different arrays to be passed to $input argument
84 foreach($inputs as $input) {
86 var_dump( array_pad($input, $pad_size, $pad_value) ); // positive 'pad_size'
87 var_dump( array_pad($input, -$pad_size, $pad_value) ); // negative 'pad_size'
94 *** Testing array_pad() : Passing different arrays to $input argument ***
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_variation11.phpt2 Test array_slice() function : usage variations - Pass different data types as $input arg
5 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])
11 * Pass different arguments as $input argument to array_slice() to test behaviour
39 // unexpected values to be passed to $input argument
90 foreach($inputs as $input) {
92 var_dump( array_slice($input, $offset) );
H A Darray_change_key_case_variation1.phpt2 Test array_change_key_case() function : usage variations - Pass different data types as $input arg
5 /* Prototype : array array_change_key_case(array $input [, int $case])
11 * Pass different data types as $input argument to test behaviour of array_change_key_case()
36 // unexpected values to be passed to $input argument
87 foreach($inputs as $input) {
89 var_dump( array_change_key_case($input) );
/PHP-5.3/ext/hash/
H A Dhash_haval.c101 static void Encode(unsigned char *output, php_hash_uint32 *input, unsigned int len) in Encode() argument
106 output[j] = (unsigned char) (input[i] & 0xff); in Encode()
107 output[j + 1] = (unsigned char) ((input[i] >> 8) & 0xff); in Encode()
108 output[j + 2] = (unsigned char) ((input[i] >> 16) & 0xff); in Encode()
109 output[j + 3] = (unsigned char) ((input[i] >> 24) & 0xff); in Encode()
118 static void Decode(php_hash_uint32 *output, const unsigned char *input, unsigned int len) in Decode() argument
123 output[i] = ((php_hash_uint32) input[j]) | (((php_hash_uint32) input[j + 1]) << 8) | in Decode()
124 (((php_hash_uint32) input[j + 2]) << 16) | (((php_hash_uint32) input[j + 3]) << 24); in Decode()
302 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_HAVALUpdate()
306 context->Transform(context->state, &input[i]); in PHP_HAVALUpdate()
[all …]
H A Dhash_adler32.c30 PHP_HASH_API void PHP_ADLER32Update(PHP_ADLER32_CTX *context, const unsigned char *input, size_t le… in PHP_ADLER32Update() argument
37 s[0] = (s[0] + input[i]) % 65521; in PHP_ADLER32Update()
/PHP-5.3/ext/standard/tests/strings/
H A Dsscanf_variation1.phpt6 * Description: Parses input from a string according to a format
26 // array with different values for $input
74 foreach($inputs as $input) {
76 var_dump( sscanf($input, $format) );
H A Dchr_variation1.phpt27 // array with different values for $input
71 foreach($inputs as $input) {
73 var_dump( bin2hex(chr($input)) );
H A Dprint_variation1.phpt28 // array with different values for $input
73 foreach($inputs as $input) {
75 $res = print($input);
/PHP-5.3/ext/standard/tests/url/
H A Dbase64_decode_basic_001.phpt11 echo "Decode an input string containing the whole base64 alphabet:\n";
20 Decode an input string containing the whole base64 alphabet:
/PHP-5.3/ext/spl/tests/
H A DSplObjectStorage_unserialize_invalid_parameter2.phpt16 foreach($data_provider as $input) {
21 $s->unserialize($input);
/PHP-5.3/ext/pcre/tests/
H A Dpreg_grep_error.phpt6 * proto array preg_grep(string regex, array input [, int flags])
16 $input = array(1, 2);
19 var_dump(preg_grep($regex, $input, $flags, $extra_arg));
/PHP-5.3/ext/mbstring/tests/
H A Dbug43998.phpt24 foreach($inputs as $input) {
26 var_dump( mb_strtolower($sourcestring, $input) );
27 var_dump( mb_strtoupper($sourcestring, $input) );
/PHP-5.3/ext/standard/
H A Darray.c2154 zval *input, /* Input array */ in PHP_FUNCTION() local
2497 zval *input, /* Input array */ in PHP_FUNCTION() local
2522 zval *input, /* Input array */ in PHP_FUNCTION() local
2536 myht = Z_ARRVAL_P(input); in PHP_FUNCTION()
2639 RETVAL_ZVAL(input, 1, 0); in PHP_FUNCTION()
3947 zval *input; in PHP_FUNCTION() local
4007 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.3/ext/standard/tests/math/
H A Dhexdec_error.phpt21 echo "\n-- Incorrect input --\n";
34 -- Incorrect input --
H A Doctdec_error.phpt21 echo "\n-- Incorrect input --\n";
35 -- Incorrect input --

Completed in 44 milliseconds

12345678910>>...33