/PHP-5.3/ext/standard/tests/array/ |
H A D | array_rand_variation1.phpt | 2 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 D | array_values_variation1.phpt | 2 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 D | bug42850.phpt | 20 function apply_changed(&$input, $key) { 21 $input = 'changed';
|
H A D | key_variation2.phpt | 97 foreach($inputs as $key => $input) { 99 while (key($input) !== NULL) { 100 var_dump(key($input)); 101 next($input);
|
H A D | array_change_key_case_variation3.phpt | 5 /* 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 D | array_count_values_variation.phpt | 5 /* 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 D | array_flip_variation1.phpt | 2 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 D | array_pad_variation1.phpt | 2 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 D | array_pad_variation6.phpt | 2 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 D | array_change_key_case_variation4.phpt | 5 /* Prototype : array array_change_key_case(array $input [, int $case]) 16 $input = array('One' => 'un', 'TWO' => 'deux', 'three' => 'trois'); 19 $temp = $input;
|
H A D | array_chunk_variation3.phpt | 16 // input array 17 $input = array(1, 2); 68 var_dump( array_chunk($input, $size, $value) );
|
H A D | array_slice_variation11.phpt | 2 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 D | array_change_key_case_variation1.phpt | 2 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 D | hash_haval.c | 101 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 D | hash_adler32.c | 30 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 D | sscanf_variation1.phpt | 6 * 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 D | chr_variation1.phpt | 27 // array with different values for $input 71 foreach($inputs as $input) { 73 var_dump( bin2hex(chr($input)) );
|
H A D | print_variation1.phpt | 28 // array with different values for $input 73 foreach($inputs as $input) { 75 $res = print($input);
|
/PHP-5.3/ext/standard/tests/url/ |
H A D | base64_decode_basic_001.phpt | 11 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 D | SplObjectStorage_unserialize_invalid_parameter2.phpt | 16 foreach($data_provider as $input) { 21 $s->unserialize($input);
|
/PHP-5.3/ext/pcre/tests/ |
H A D | preg_grep_error.phpt | 6 * 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 D | bug43998.phpt | 24 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 D | array.c | 2154 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 D | hexdec_error.phpt | 21 echo "\n-- Incorrect input --\n"; 34 -- Incorrect input --
|
H A D | octdec_error.phpt | 21 echo "\n-- Incorrect input --\n"; 35 -- Incorrect input --
|