/PHP-5.3/ext/standard/tests/array/ |
H A D | array_walk_recursive_variation3.phpt | 2 Test array_walk_recursive() function : usage variations - 'input' array with different values 5 /* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata]) 11 * Testing array_walk_recursive() with following types of 'input' arrays: 19 * $key - keys in given input array 28 echo "*** Testing array_walk_recursive() : 'input' array with different values***\n"; 30 // different arrays as input 65 *** Testing array_walk_recursive() : 'input' array with different values***
|
H A D | array_walk_recursive_variation7.phpt | 5 /* Prototype : proto bool array_walk_recursive(array $input, string $funcname [, mixed $userdata]) 21 $input = array( array(2, 5), array(10, 0)); 24 var_dump( array_walk_recursive($input, create_function('$value', 'var_dump($value); echo "\n";'))); 27 var_dump( array_walk_recursive($input, create_function('$value, $key', 'var_dump($key); var_dump($v… 30 var_dump( array_walk_recursive($input, create_function('$value, $key, $user_data', 'var_dump($key);… 33 var_dump( array_walk_recursive($input, create_function('$value, $key, $user_data', 'var_dump($key);… 36 var_dump( array_walk_recursive( $input, create_function(null, 'echo "1\n";')));
|
H A D | array_walk_variation8.phpt | 5 /* Prototype : bool array_walk(array $input, string $funcname [, mixed $userdata]) 19 $input = array(2 => 1, 65, 98, 100, 6 => -4); 22 var_dump( array_walk($input, 'pow')); 25 var_dump( array_walk($input, "min")); 28 var_dump( array_walk($input, "echo"));
|
H A D | array_slice_basic.phpt | 5 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]]) 17 $input = array('one' => 1, 'two' => 2, 3, 23 => 4); 24 var_dump( array_slice($input, $offset, $length, $preserve_keys) ); 28 var_dump( array_slice($input, $offset) );
|
H A D | array_walk_object2.phpt | 5 /* Prototype : bool array_walk(array $input, string $funcname [, mixed $userdata]) 18 * Parameters : $value - values in given input array 19 * $key - keys in given input array 64 $input = array ( 72 var_dump( array_walk($input, "callback_private", 1)); 74 var_dump( array_walk($input, "callback_public")); 76 var_dump( array_walk($input, "callback_protected"));
|
H A D | array_walk_recursive_object2.phpt | 5 /* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata]) 18 * Parameters : $value - values in given input array 19 * $key - keys in given input array 64 $input = array ( 74 var_dump( array_walk_recursive($input, "callback_private", 1)); 76 var_dump( array_walk_recursive($input, "callback_public")); 78 var_dump( array_walk_recursive($input, "callback_protected"));
|
H A D | shuffle_basic2.phpt | 13 * changes in the input array by printing the input array 26 // printing the input array before the shuffle operation 27 echo "\n-- input array before shuffle() function is applied --\n"; 30 // applying shuffle() function on the input array 42 -- input array before shuffle() function is applied --
|
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_slice_variation9.phpt | 7 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]]) 15 * 2. $input argument is passed by reference 25 $input = array(3 => &$val1, 2 => &$val2, 1 => &$val3); 26 var_dump(array_slice($input, 1, 2)); 30 var_dump(array_slice($input, 1, 2, true));
|
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_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_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_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));
|
/PHP-5.3/tests/run-test/ |
H A D | test010.phpt | 2 STDIN input 11 use this to input some thing to the php script 14 use this to input some thing to the php script
|
/PHP-5.3/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-5.3/ext/hash/ |
H A D | hash_salsa.c | 121 static inline void SalsaTransform(PHP_SALSA_CTX *context, const unsigned char input[64]) in SalsaTransform() 126 fprintf(stderr, "> INPUT: %.*s\n", 64, input); in SalsaTransform() 130 a[i] = ((php_hash_uint32) input[j + 3]) | (((php_hash_uint32) input[j + 2]) << 8) | in SalsaTransform() 131 (((php_hash_uint32) input[j + 1]) << 16) | (((php_hash_uint32) input[j]) << 24); in SalsaTransform() 155 PHP_HASH_API void PHP_SALSAUpdate(PHP_SALSA_CTX *context, const unsigned char *input, size_t len) in PHP_SALSAUpdate() argument 158 memcpy(&context->buffer[context->length], input, len); in PHP_SALSAUpdate() 165 memcpy(&context->buffer[context->length], input, i); in PHP_SALSAUpdate() 171 SalsaTransform(context, input + i); in PHP_SALSAUpdate() 174 memcpy(context->buffer, input + i, r); in PHP_SALSAUpdate()
|
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-5.3/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-5.3/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-5.3/ext/intl/normalizer/ |
H A D | normalizer_normalize.c | 35 char* input = NULL; in PHP_FUNCTION() local 57 &input, &input_len, &form ) == FAILURE ) in PHP_FUNCTION() 90 intl_convert_utf8_to_utf16(&uinput, &uinput_len, input, input_len, &status ); in PHP_FUNCTION() 173 char* input = NULL; in PHP_FUNCTION() local 188 &input, &input_len, &form) == FAILURE ) in PHP_FUNCTION() 216 intl_convert_utf8_to_utf16(&uinput, &uinput_len, input, input_len, &status ); in PHP_FUNCTION()
|
/PHP-5.3/ext/intl/tests/ |
H A D | msgfmt_fail2.phpt | 63 'msgfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR' 66 'msgfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR' 69 'msgfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR' 72 'msgfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR' 75 'msgfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR' 78 'msgfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR' 87 'msgfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR' 90 'msgfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR' 93 'msgfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR'
|
H A D | msgfmt_fail.phpt | 63 'msgfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR' 66 'msgfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR' 69 'msgfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR' 72 'msgfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR' 75 'msgfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR' 78 'msgfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR' 87 'msgfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR' 90 'msgfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR' 93 'msgfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR'
|