/PHP-5.3/ext/standard/tests/array/ |
H A D | array_walk_recursive_error2.phpt | 5 /* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata]) 13 $input = array(1); 25 var_dump( array_walk_recursive($input, "callback1") ); 26 var_dump( array_walk_recursive($input, "callback2", 4) ); 29 var_dump( @array_walk_recursive($input, "callback1") ); 30 var_dump( @array_walk_recursive($input, "callback2", 4) ); 33 var_dump( array_walk_recursive($input, "callback1", 20, 10) );
|
H A D | array_walk_recursive_variation5.phpt | 2 Test array_walk_recursive() function : usage variations - 'input' argument containing reference var… 5 /* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata]) 21 // 'input' array containing references to above variables 22 $input = array(&$value1, array(&$value2, -35), array(&$value3, 0), array(&$value4)); 26 * Parameters : $value - values in given input array 27 * $key - keys in given input array 39 var_dump( array_walk_recursive($input, "callback"));
|
H A D | array_pad_variation5.phpt | 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 13 * The $input and $pad_size arguments passed are fixed values. 18 // initialize the $input and $pad_size argument 19 $input = array(1, 2, 3); 29 var_dump( array_pad($input, $pad_size, $pad_value) ); // positive 'pad_value' 30 var_dump( array_pad($input, -$pad_size, $pad_value) ); // negative 'pad_value'
|
H A D | array_walk_variation4.phpt | 2 Test array_walk() function : usage variations - 'input' array with subarray 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 31 $input = array( 39 var_dump( array_walk( $input, "callback"));
|
H A D | array_filter_object.phpt | 5 /* Prototype : array array_filter(array $input [, callback $callback]) 10 /* This file uses 'input' array with different types of objects and passes 69 function always_true($input) 75 function always_false($input) 80 // 'input' array containing objects as elements 81 $input = array( 91 var_dump( array_filter($input) ); 94 var_dump( array_filter($input, "always_true") ); 97 var_dump( array_filter($input, "always_false") );
|
H A D | array_filter_variation3.phpt | 2 Test array_filter() function : usage variations - Different types of array for 'input' argument 5 /* Prototype : array array_filter(array $input [, callback $callback]) 11 * Passing different types of array as 'input' argument. 15 function always_false($input) 21 function always_true($input) 26 echo "*** Testing array_filter() : usage variations - different types of array for 'input' argument… 28 // different types of 'input' array 41 // loop through each element of 'input' with default callback 53 *** Testing array_filter() : usage variations - different types of array for 'input' argument***
|
H A D | array_pad_error.phpt | 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 18 $input = array(1, 2); 22 var_dump( array_pad($input, $pad_size, $pad_value, $extra_arg) ); 26 $input = array(1, 2); 28 var_dump( array_pad($input, $pad_size) ); 29 var_dump( array_pad($input) );
|
H A D | array_flip_variation2.phpt | 2 Test array_flip() function : usage variations - 'input' array with different keys 5 /* Prototype : array array_flip(array $input) 11 * Trying different keys in $input array argument 14 echo "*** Testing array_flip() : different keys for 'input' array argument ***\n"; 29 $input = array( 67 var_dump( array_flip($input) ); 72 *** Testing array_flip() : different keys for 'input' array argument ***
|
H A D | shuffle_basic1.phpt | 13 * changes in the input array by printing the input array 27 // printing the input array with integers before the shuffle operation 28 echo "\n-- input array of integers before shuffle() function is applied --\n"; 31 // applying shuffle() function on the input array of integers 40 // printing the input array with strings before the shuffle operation 41 echo "\n-- input array of strings before shuffle() function is applied --\n"; 44 // applying shuffle() function on the input array of strings 56 -- input array of integers before shuffle() function is applied -- 103 -- input array of strings before shuffle() function is applied --
|
H A D | array_values_basic.phpt | 5 /* Prototype : array array_values(array $input) 6 * Description: Return just the values from the input array 18 $input = array('zero', 'one', 'two', 'three' => 3, 10 => 'ten'); 21 var_dump( array_values($input) );
|
H A D | array_filter_variation9.phpt | 5 /* Prototype : array array_filter(array $input [, callback $callback]) 16 $input = array(0, 1, -1, 10, 100, 1000, 'Hello', null); 19 var_dump( array_filter($input, 'is_int') ); 22 var_dump( array_filter($input, 'chr') ); 25 var_dump( array_filter($input, 'echo') ); 28 var_dump( array_filter($input, 'exit') );
|
H A D | array_walk_recursive_variation4.phpt | 2 Test array_walk_recursive() function : usage variations - 'input' array with subarray 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 31 $input = array( 39 var_dump( array_walk_recursive( $input, "callback"));
|
H A D | array_walk_variation3.phpt | 2 Test array_walk() function : usage variations - 'input' array with different values 5 /* Prototype : bool array_walk(array $input, string $funcname [, mixed $userdata]) 11 * Testing array_walk() with following types of 'input' arrays: 19 * $key - keys in given input array 28 echo "*** Testing array_walk() : 'input' array with different values***\n"; 30 // different arrays as input 65 *** Testing array_walk() : 'input' array with different values***
|
H A D | array_flip_variation3.phpt | 2 Test array_flip() function : usage variations - 'input' argument with different valid values 5 /* Prototype : array array_flip(array $input) 11 * In 'input' array argument, values are expected to be valid keys i.e. string/integer 15 echo "*** Testing array_flip() : different valid values in 'input' array argument ***\n"; 29 $input = array( 66 var_dump( array_flip($input) ); 71 *** Testing array_flip() : different valid values in 'input' array argument ***
|
H A D | array_slice_variation10.phpt | 5 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]]) 16 $input = array ('one' => 'un', 'two' => 'deux', 23 => 'twenty-three', 'zero'); 19 var_dump($result = array_slice($input, 2)); 24 echo key($input) . " => " . current ($input) . "\n";
|
H A D | array_change_key_case_variation5.phpt | 5 /* Prototype : array array_change_key_case(array $input [, int $case]) 16 $input = array ('one' => 'un', 'two' => 'deux', 'three' => 'trois'); 19 var_dump($result = array_change_key_case($input, CASE_UPPER)); 24 echo key($input) . " => " . current ($input) . "\n";
|
H A D | array_walk_variation7.phpt | 5 /* Prototype : proto bool array_walk(array $input, string $funcname [, mixed $userdata]) 21 $input = array(2, 5, 10, 0); 24 var_dump( array_walk($input, create_function('$value', 'var_dump($value); echo "\n";'))); 27 var_dump( array_walk($input, create_function('$value, $key', 'var_dump($key); var_dump($value); ech… 30 var_dump( array_walk($input, create_function('$value, $key, $user_data', 'var_dump($key); var_dump(… 33 var_dump( array_walk($input, create_function('$value, $key, $user_data', 'var_dump($key); var_dump(… 36 var_dump( array_walk( $input, create_function(null, 'echo "1\n";')));
|
/PHP-5.3/ext/soap/tests/interop/Round4/GroupH/ |
H A D | round4_groupH_complex_rpcenc.inc | 4 function echoSOAPStructFault($input) { 5 …return new SoapFault("Server", "Fault in response to 'echoSOAPStructFault'.", null, $input, "Compl… 8 function echoBaseStructFault($input) { 9 …return new SoapFault("Server", "Fault in response to 'echoBaseStructFault'.", null, $input, "Compl… 12 function echoExtendedStructFault($input) { 13 …return new SoapFault("Server", "Fault in response to 'echoExtendedStructFault'.", null, $input, "C…
|
/PHP-5.3/ext/soap/tests/bugs/ |
H A D | bug40609.wsdl | 26 …input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" message="axis2:updateMessage" wsaw:Ac…
|
/PHP-5.3/ext/standard/tests/strings/ |
H A D | parse_str_basic2.phpt | 2 Test parse_str() function : non-default arg_separator.input specified 4 arg_separator.input = "/" 12 echo "*** Testing parse_str() : non-default arg_separator.input specified ***\n"; 21 *** Testing parse_str() : non-default arg_separator.input specified ***
|
H A D | str_pad_variation1.phpt | 2 Test str_pad() function : usage variations - unexpected inputs for '$input' argument 5 /* Prototype : string str_pad ( string $input , int $pad_length [, string $pad_string [, int $… 10 /* Test str_pad() function: with unexpected inputs for '$input' 14 echo "*** Testing str_pad() function: with unexpected inputs for 'input' argument ***\n"; 30 // array with different values for $input 78 foreach($inputs as $input) { 80 var_dump( str_pad($input, $pad_length) ); 89 *** Testing str_pad() function: with unexpected inputs for 'input' argument ***
|
H A D | str_pad_variation5.phpt | 14 /* Prototype : string str_pad ( string $input , int $pad_length [, string $pad_string [, int $… 20 * and expected type for '$input' 25 //defining '$input' argument 26 $input = "Test string"; 28 var_dump( str_pad($input, $pad_length) );
|
/PHP-5.3/ext/hash/ |
H A D | hash_sha.c | 64 output[i] = ((php_hash_uint32) input[j + 3]) | (((php_hash_uint32) input[j + 2]) << 8) | in SHADecode32() 65 (((php_hash_uint32) input[j + 1]) << 16) | (((php_hash_uint32) input[j]) << 24); in SHADecode32() 357 SHA1Transform(context->state, &input[i]); in PHP_SHA1Update() 564 SHA256Transform(context->state, &input[i]); in PHP_SHA224Update() 641 SHA256Transform(context->state, &input[i]); in PHP_SHA256Update() 760 ((php_hash_uint64) input[j + 7]) | (((php_hash_uint64) input[j + 6]) << 8) | in SHADecode64() 761 (((php_hash_uint64) input[j + 5]) << 16) | (((php_hash_uint64) input[j + 4]) << 24) | in SHADecode64() 762 (((php_hash_uint64) input[j + 3]) << 32) | (((php_hash_uint64) input[j + 2]) << 40) | in SHADecode64() 763 (((php_hash_uint64) input[j + 1]) << 48) | (((php_hash_uint64) input[j]) << 56); in SHADecode64() 855 SHA512Transform(context->state, &input[i]); in PHP_SHA384Update() [all …]
|
/PHP-5.3/ext/mcrypt/tests/ |
H A D | bug43143.phpt | 9 $input = 'to be encrypted'; 11 $data = mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $mkey, $input, MCRYPT_MODE_ECB); 13 $input = 'to be encrypted'; 15 $data = mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $mkey, $input, MCRYPT_MODE_CFB);
|
/PHP-5.3/ext/xmlrpc/libxmlrpc/ |
H A D | system_methods.c | 292 static XMLRPC_VALUE xsm_system_multicall_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userD… 293 static XMLRPC_VALUE xsm_system_get_capabilities_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void… 315 XMLRPC_VALUE xsm_system_multicall_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData) { in xsm_system_multicall_cb() argument 316 XMLRPC_VALUE xArray = XMLRPC_VectorRewind(XMLRPC_RequestGetData(input)); in xsm_system_multicall_cb() 348 XMLRPC_VALUE xsm_system_get_capabilities_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userD… in xsm_system_get_capabilities_cb() argument
|