Home
last modified time | relevance | path

Searched refs:input (Results 126 – 150 of 844) sorted by relevance

12345678910>>...34

/PHP-5.5/ext/standard/tests/array/
H A Darray_slice_error.phpt5 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])
18 $input = array(1, 2);
23 var_dump( array_slice($input, $offset, $length, $preserve_keys, $extra_arg) );
27 var_dump( array_slice($input) );
H A Darray_rand_variation4.phpt2 Test array_rand() function : usage variation - with associative arrays for 'input' parameter
5 /* Prototype : mixed array_rand(array $input [, int $num_req])
12 * the 'input' parameter in the function call
50 foreach($asso_arrays as $input) {
55 var_dump( array_rand($input) );
59 var_dump( array_rand($input, 1) ); // with $num_req=1
61 var_dump( array_rand($input, 2) ); // with $num_req=2
H A Darray_slice_variation5.phpt5 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])
16 $input = array ('one' => 1, 2 => 'two', 'three', 9 => 'nine', 'ten' => 10);
20 var_dump(array_slice($input, $i));
23 var_dump(array_slice($input, PHP_INT_MAX));
26 var_dump(array_slice($input, -PHP_INT_MAX));
H A Darray_filter_variation1.phpt2 Test array_filter() function : usage variations - Unexpected values for 'input' argument
5 /* Prototype : array array_filter(array $input [, callback $callback])
10 /* Passing different scalar and nonscalar values for 'input' argument
12 echo "*** Testing array_filter() : usage variations - unexpected values for 'input'***\n";
15 * Prototype : bool always_true(array $input)
20 function always_true($input)
42 // different values for 'input' argument
90 // loop through each element of the array for input
102 *** Testing array_filter() : usage variations - unexpected values for 'input'***
H A Darray_walk_error1.phpt5 /* Prototype : bool array_walk(array $input, string $funcname [, mixed $userdata])
10 $input = array(1, 2);
27 var_dump( array_walk($input) );
30 var_dump( array_walk($input, "non_existent") );
H A Dbug34982.phpt18 function apply(&$input, $key) {
19 $input = 'changed';
H A Darray_flip_error.phpt5 /* Prototype : array array_flip(array $input)
18 $input = array(1 => 'one', 2 => 'two');
20 var_dump( array_flip($input, $extra_arg) );
H A Darray_unique_error.phpt5 /* Prototype : array array_unique(array $input)
18 $input = array(1, 2);
20 var_dump( array_unique($input, SORT_NUMERIC, $extra_arg) );
H A Darray_sum_error.phpt5 /* Prototype : mixed array_sum(array &input)
18 $input = array(1, 2, 3, 4);
20 var_dump( array_sum($input, $extra_arg) );
H A Darray_change_key_case_variation8.phpt10 /* Prototype : array array_change_key_case(array $input [, int $case])
29 foreach($inputs as $input) {
31 var_dump(array_change_key_case($input));
33 var_dump(array_change_key_case($input, CASE_UPPER));
H A Darray_unique_variation2.phpt2 Test array_unique() function : usage variations - different arrays for 'input' argument
5 /* Prototype : array array_unique(array $input)
11 * Passing different arrays to $input argument and testing whether
15 echo "*** Testing array_unique() : Passing different arrays to \$input argument ***\n";
47 // arrays passed to $input argument
75 foreach($inputs as $input) {
77 var_dump( array_unique($input, SORT_STRING) );
84 *** Testing array_unique() : Passing different arrays to $input argument ***
H A Darray_rand_variation3.phpt5 /* Prototype : mixed array_rand(array $input [, int $num_req])
12 * is passed to 'input' argument
18 $input = array(
46 var_dump( array_rand($input, $num_req) );
51 foreach($input as $arr) {
/PHP-5.5/ext/standard/
H A Dsha1.c207 SHA1Transform(context->state, &input[i]); in PHP_SHA1Update()
372 static void SHA1Encode(output, input, len) in SHA1Encode() argument
374 php_uint32 *input;
380 output[j] = (unsigned char) ((input[i] >> 24) & 0xff);
381 output[j + 1] = (unsigned char) ((input[i] >> 16) & 0xff);
382 output[j + 2] = (unsigned char) ((input[i] >> 8) & 0xff);
383 output[j + 3] = (unsigned char) (input[i] & 0xff);
392 static void SHA1Decode(output, input, len) in SHA1Decode() argument
394 const unsigned char *input;
400 output[i] = ((php_uint32) input[j + 3]) | (((php_uint32) input[j + 2]) << 8) |
[all …]
H A Dcyr_convert.c274 char *input, *fr_cs, *to_cs; in PHP_FUNCTION() local
278 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss", &input, &input_len, &fr_cs, &fr_cs_len… in PHP_FUNCTION()
282 str = (unsigned char*) estrndup(input, input_len); in PHP_FUNCTION()
/PHP-5.5/ext/standard/tests/strings/
H A Dstr_pad_variation2.phpt5 /* Prototype : string str_pad ( string $input , int $pad_length [, string $pad_string [, int $…
11 * and expected type for '$input'
30 // array with different values for $input
72 //defining '$input' argument
73 $input = "Test string";
79 var_dump( str_pad($input, $pad_length) );
H A Daddcslashes_003.phpt8 /* Miscellaneous input */
9 echo "\n*** Testing addcslashes() with miscellaneous input arguments ***\n";
31 *** Testing addcslashes() with miscellaneous input arguments ***
H A Dstrtok_variation7.phpt2 Test strtok() function : usage variations - modifying the input string while tokenising
11 * Testing strtok() : modifying the input string while it is getting tokenised
14 echo "*** Testing strtok() : with modification of input string in between tokenising ***\n";
21 // adding a string to the input string which is being tokenised
31 // adding a string to the input string which is being tokenised
41 *** Testing strtok() : with modification of input string in between tokenising ***
/PHP-5.5/ext/hash/
H A Dphp_hash_crc32.h31 PHP_HASH_API void PHP_CRC32Update(PHP_CRC32_CTX *context, const unsigned char *input, size_t len);
32 PHP_HASH_API void PHP_CRC32BUpdate(PHP_CRC32_CTX *context, const unsigned char *input, size_t len);
H A Dhash_ripemd.c195 output[i] = ((php_hash_uint32) input[j + 0]) | (((php_hash_uint32) input[j + 1]) << 8) | in RIPEMDDecode()
196 (((php_hash_uint32) input[j + 2]) << 16) | (((php_hash_uint32) input[j + 3]) << 24); in RIPEMDDecode()
274 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_RIPEMD128Update()
278 RIPEMD128Transform(context->state, &input[i]); in PHP_RIPEMD128Update()
376 RIPEMD256Transform(context->state, &input[i]); in PHP_RIPEMD256Update()
475 RIPEMD160Transform(context->state, &input[i]); in PHP_RIPEMD160Update()
583 RIPEMD320Transform(context->state, &input[i]); in PHP_RIPEMD320Update()
612 output[j + 3] = (unsigned char) ((input[i] >> 24) & 0xff); in RIPEMDEncode()
613 output[j + 2] = (unsigned char) ((input[i] >> 16) & 0xff); in RIPEMDEncode()
614 output[j + 1] = (unsigned char) ((input[i] >> 8) & 0xff); in RIPEMDEncode()
[all …]
/PHP-5.5/ext/soap/tests/schema/
H A Dtest_schema.inc4 function test($input) {
6 $val = $input;
33 <input message="testMessage"/>
40 <input>
42 </input>
/PHP-5.5/ext/dom/tests/
H A DDOMDocument_loadHTML_error2.phpt2 DOMDocument::loadHTML() should fail if empty string provided as input
15 Warning: DOMDocument::loadHTML(): Empty string supplied as input in %s on line %d
/PHP-5.5/ext/xmlrpc/libxmlrpc/
H A Dxmlrpc_introspection.c67 static XMLRPC_VALUE xi_system_describe_methods_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void*…
68 static XMLRPC_VALUE xi_system_list_methods_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* use…
69 static XMLRPC_VALUE xi_system_method_signature_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void*…
70 static XMLRPC_VALUE xi_system_method_help_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* user…
122 static XMLRPC_VALUE xi_system_describe_methods_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void*… in xi_system_describe_methods_cb() argument
123 XMLRPC_VALUE xParams = XMLRPC_VectorRewind(XMLRPC_RequestGetData(input)); in xi_system_describe_methods_cb()
173 static XMLRPC_VALUE xi_system_list_methods_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* use… in xi_system_list_methods_cb() argument
190 static XMLRPC_VALUE xi_system_method_signature_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void*… in xi_system_method_signature_cb() argument
191 const char* method = XMLRPC_GetValueString(XMLRPC_VectorRewind(XMLRPC_RequestGetData(input))); in xi_system_method_signature_cb()
249 static XMLRPC_VALUE xi_system_method_help_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* user… in xi_system_method_help_cb() argument
[all …]
/PHP-5.5/ext/tidy/tests/
H A D029.phpt16 foreach ($inputs as $input) {
18 $t = tidy_parse_string($input);
/PHP-5.5/ext/pcre/tests/
H A Dpreg_quote_error1.phpt11 * Testing how preg_quote reacts to being passed the wrong type of input argument
14 $input = array('this is a string', array('this is', 'a subarray'),);
15 foreach($input as $value) {
H A Dpreg_split_error2.phpt11 * Testing how preg_split reacts to being passed the wrong type of input argument
15 $input = array(array('this is', 'a subarray'),);
16 foreach($input as $value) {

Completed in 34 milliseconds

12345678910>>...34