/PHP-5.3/ext/standard/tests/strings/ |
H A D | strlen_variation1.phpt | 2 Test strlen() function : usage variations - unexpected input for '$string' argument 11 echo "*** Testing strlen() : with unexpected input for 'string' argument ***\n"; 27 // array with different values for $input 75 foreach($inputs as $input) { 77 var_dump( strlen($input) ); 86 *** Testing strlen() : with unexpected input for 'string' argument ***
|
H A D | crc32.phpt | 5 $input = array("foo", "bar", "baz", "grldsajkopallkjasd"); 6 foreach($input AS $i) {
|
H A D | str_pad_variation2.phpt | 5 /* 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) );
|
/PHP-5.3/tests/run-test/ |
H A D | test004.phpt | 4 arg_separator.input== 7 var_dump(ini_get('arg_separator.input'));
|
/PHP-5.3/ext/standard/tests/array/ |
H A D | array_values_error.phpt | 5 /* Prototype : array array_values(array $input) 6 * Description: Return just the values from the input array 22 $input = array(1, 2); 24 var_dump( array_values($input, $extra_arg) );
|
H A D | array_unique_variation4.phpt | 5 /* Prototype : array array_unique(array $input) 12 * associative arrays having different values to $input argument. 15 echo "*** Testing array_unique() : assoc. array with diff. values to \$input argument ***\n"; 58 foreach($inputs as $input) { 60 var_dump( array_unique($input) ); 69 *** Testing array_unique() : assoc. array with diff. values to $input argument ***
|
H A D | array_walk_recursive_variation9.phpt | 5 /* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata]) 18 $input = array(array('Apple', 'Banana'), 'Mango', array('Orange')); 29 var_dump( array_walk_recursive($input, 'callback_two_parameter')); 39 var_dump( array_walk_recursive($input, 'callback_one_parameter')); 46 var_dump( array_walk_recursive($input, 'callback_no_parameter')); 49 var_dump( array_walk_recursive($input, 'callback_two_parameter', 10));
|
H A D | array_slice_variation6.phpt | 5 /* 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); 21 var_dump(array_slice($input, $offset, $i)); 24 var_dump(array_slice($input, $offset, PHP_INT_MAX)); 27 var_dump(array_slice($input, $offset, -PHP_INT_MAX));
|
H A D | array_splice_variation1.phpt | 6 * proto array array_splice(array input, int offset [, int length [, array replacement]]) 11 echo "test behaviour when input array is in a reference set\n"; 18 echo "Test behaviour of input arrays containing references \n"; 49 test behaviour when input array is in a reference set 66 Test behaviour of input arrays containing references
|
H A D | array_values_variation2.phpt | 5 /* Prototype : array array_values(array $input) 6 * Description: Return just the values from the input array 11 * Pass arrays of different data types as $input argument to array_values() to test behaviour 36 // arrays of different data types to be passed as $input 109 foreach($inputs as $key => $input) { 111 var_dump( array_values($input) );
|
H A D | array_values_variation3.phpt | 5 /* Prototype : array array_values(array $input) 6 * Description: Return just the values from the input array 11 * Pass arrays where the keys are different data types as $input argument 26 // unexpected values to be passed as $input 98 foreach($inputs as $key => $input) { 100 var_dump( array_values($input) );
|
H A D | array_count_values_error.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 23 $input = array(1, 2); 25 var_dump( array_count_values($input, $extra_arg) );
|
H A D | array_slice_error.phpt | 5 /* 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 D | array_rand_variation4.phpt | 2 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
|
/PHP-5.3/ext/standard/ |
H A D | pack.c | 521 char *format, *input, *formatarg, *inputarg; in PHP_FUNCTION() local 532 input = inputarg; in PHP_FUNCTION() 680 if (input[inputpos + len] != pad) in PHP_FUNCTION() 708 char cc = (input[inputpos + ipos] >> nibbleshift) & 0xf; in PHP_FUNCTION() 733 int issigned = (type == 'c') ? (input[inputpos] & 0x80) : 0; in PHP_FUNCTION() 755 v = php_unpack(&input[inputpos], 2, issigned, map); in PHP_FUNCTION() 785 issigned = input[inputpos] & 0x80; in PHP_FUNCTION() 788 issigned = input[inputpos + 3] & 0x80; in PHP_FUNCTION() 796 v |= php_unpack(&input[inputpos], 4, issigned, map); in PHP_FUNCTION() 811 memcpy(&v, &input[inputpos], sizeof(float)); in PHP_FUNCTION() [all …]
|
H A D | sha1.c | 207 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 D | cyr_convert.c | 274 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.3/ext/pcre/tests/ |
H A D | preg_grep_error2.phpt | 6 * proto array preg_grep(string regex, array input [, int flags]) 11 * Testing how preg_grep reacts to being passed the wrong type of input argument 15 $input = array('this is a string', array('this is', 'a subarray'),); 16 foreach($input as $value) {
|
/PHP-5.3/ext/mbstring/tests/ |
H A D | htmlent.phpt | 2 HTML input/output 12 arg_separator.input=x 22 // @... are must be decoded on input these are not reencoded on output. 23 // If you see @AB on output this means input encoding fails.
|
H A D | mb_encode_mimeheader_basic.phpt | 29 foreach ($english as $lang => $input) { 32 var_dump(mb_encode_mimeheader($input, 'UTF-8', 'B')); 34 var_dump(mb_encode_mimeheader($input, 'UTF-8', 'Q')); 39 foreach ($nonEnglish as $lang => $input) { 42 var_dump(mb_encode_mimeheader($input, 'UTF-8', 'B')); 44 var_dump(mb_encode_mimeheader($input, 'UTF-8', 'Q'));
|
/PHP-5.3/ext/json/tests/ |
H A D | json_encode_basic_utf8.phpt | 2 Test json_encode() function : basic functionality with UTF8 string input 16 echo "*** Testing json_encode() : basic functionality with UTF-8 input***\n"; 24 *** Testing json_encode() : basic functionality with UTF-8 input***
|
/PHP-5.3/ext/intl/tests/ |
H A D | formatter_fail.phpt | 55 'numfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR' 58 'numfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR' 61 'numfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR' 67 'numfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR' 70 'numfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR' 73 'numfmt_create: unable to parse input parameters: U_ILLEGAL_ARGUMENT_ERROR'
|
/PHP-5.3/ext/soap/tests/ |
H A D | classmap.wsdl | 26 <input message="tns:dotestRequest"/> 30 <input message="tns:dotest2Request"/> 38 <input> 40 </input> 47 <input> 49 </input>
|
/PHP-5.3/ext/standard/tests/filters/ |
H A D | filter_errors_user.phpt | 94 Warning: stream_filter_append(): Unprocessed filter buckets remaining on input brigade in %s 99 Warning: stream_get_contents(): Unprocessed filter buckets remaining on input brigade in %s 116 Warning: stream_filter_append(): Unprocessed filter buckets remaining on input brigade in %s 121 Warning: stream_get_contents(): Unprocessed filter buckets remaining on input brigade in %s 126 Warning: stream_filter_append(): Unprocessed filter buckets remaining on input brigade in %s 131 Warning: stream_get_contents(): Unprocessed filter buckets remaining on input brigade in %s 135 Warning: stream_get_contents(): Unprocessed filter buckets remaining on input brigade in %s 146 Warning: stream_get_contents(): Unprocessed filter buckets remaining on input brigade in %s 151 Warning: stream_get_contents(): Unprocessed filter buckets remaining on input brigade in %s 161 Warning: stream_get_contents(): Unprocessed filter buckets remaining on input brigade in %s [all …]
|
/PHP-5.3/ext/soap/tests/interop/Round3/GroupF/ |
H A D | round3_groupF_headers.inc | 4 function Header1($input) 8 function Header2($input)
|