/php-src/ext/spl/tests/ |
H A D | bug71617.phpt | 11 public function __construct(array $input) 13 parent::__construct($input, ArrayObject::ARRAY_AS_PROPS);
|
/php-src/ext/mbstring/ucgendat/ |
H A D | ucgendat.php | 212 function parseDataFile(string $input) { argument 213 $lines = explode("\n", $input); 231 function parseUnicodeData(UnicodeData $data, string $input) : void { argument 232 $lines = parseDataFile($input); 288 function parseCaseFolding(UnicodeData $data, string $input) : void { argument 289 foreach (parseDataFile($input) as $fields) { 343 function parseSpecialCasing(UnicodeData $data, string $input) : void { argument 344 foreach (parseDataFile($input) as $fields) { 369 foreach (parseDataFile($input) as $fields) { 390 function parseEastAsianWidth(string $input) : array { argument [all …]
|
/php-src/ext/standard/tests/array/ |
H A D | array_rand_variation3.phpt | 7 * is passed to 'input' argument 13 $input = array( 41 var_dump( array_rand($input, $num_req) ); 46 foreach($input as $arr) {
|
H A D | array_filter_variation10.phpt | 11 $input = array(0, 1, -1, 10, 100, 1000, 'Hello', null); 19 var_dump( array_filter($input, 'dump', true) ); 28 var_dump( array_filter($input, 'dump2', true) );
|
H A D | array_diff_assoc_variation6.phpt | 64 foreach($inputs as $input) { 66 var_dump(array_diff_assoc($array, $input)); 67 var_dump(array_diff_assoc($input, $array));
|
/php-src/ext/standard/tests/strings/ |
H A D | crc32.phpt | 5 $input = array("foo", "bar", "baz", "grldsajkopallkjasd"); 6 foreach($input AS $i) {
|
H A D | str_repeat.phpt | 22 foreach($variations as $input) { 23 echo "\n--- str_repeat() of '$input' ---\n" ; 26 echo str_repeat($input, $n)."\n"; 32 str_repeat($input[0], -1); // Invalid arg for multiplier
|
H A D | stristr_variation2.phpt | 18 // array with different values for $input 55 foreach($inputs as $input) { 58 var_dump( stristr("Hello World", $input) );
|
H A D | print_variation1.phpt | 22 // array with different values for $input 67 foreach($inputs as $input) { 69 $res = print($input);
|
/php-src/ext/hash/ |
H A D | hash_haval.c | 97 static void Encode(unsigned char *output, uint32_t *input, unsigned int len) in Encode() argument 102 output[j] = (unsigned char) (input[i] & 0xff); in Encode() 103 output[j + 1] = (unsigned char) ((input[i] >> 8) & 0xff); in Encode() 104 output[j + 2] = (unsigned char) ((input[i] >> 16) & 0xff); in Encode() 105 output[j + 3] = (unsigned char) ((input[i] >> 24) & 0xff); in Encode() 114 static void Decode(uint32_t *output, const unsigned char *input, unsigned int len) in Decode() argument 119 output[i] = ((uint32_t) input[j]) | (((uint32_t) input[j + 1]) << 8) | in Decode() 120 (((uint32_t) input[j + 2]) << 16) | (((uint32_t) input[j + 3]) << 24); in Decode() 299 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_HAVALUpdate() 303 context->Transform(context->state, &input[i]); in PHP_HAVALUpdate() [all …]
|
H A D | hash_adler32.c | 26 PHP_HASH_API void PHP_ADLER32Update(PHP_ADLER32_CTX *context, const unsigned char *input, size_t le… in PHP_ADLER32Update() argument 33 s[0] += input[i]; in PHP_ADLER32Update()
|
H A D | hash_gost.c | 223 static inline void GostTransform(PHP_GOST_CTX *context, const unsigned char input[32]) in GostTransform() 229 data[i] = ((uint32_t) input[j]) | (((uint32_t) input[j + 1]) << 8) | in GostTransform() 230 (((uint32_t) input[j + 2]) << 16) | (((uint32_t) input[j + 3]) << 24); in GostTransform() 252 PHP_HASH_API void PHP_GOSTUpdate(PHP_GOST_CTX *context, const unsigned char *input, size_t len) in PHP_GOSTUpdate() argument 263 memcpy(&context->buffer[context->length], input, len); in PHP_GOSTUpdate() 270 memcpy(&context->buffer[context->length], input, i); in PHP_GOSTUpdate() 275 GostTransform(context, input + i); in PHP_GOSTUpdate() 278 memcpy(context->buffer, input + i, r); in PHP_GOSTUpdate()
|
/php-src/ext/xsl/tests/ |
H A D | xpath_callables.inc | 27 …. implode('', array_map(fn($input) => '<xsl:value-of select="php:function(' . $input . ')" />', $i…
|
H A D | php_function_edge_cases.phpt | 8 function test($input) { 15 <xsl:value-of select="php:function(' . $input . ')" />
|
/php-src/ext/spl/tests/SplObjectStorage/ |
H A D | SplObjectStorage_unserialize_invalid_parameter2.phpt | 16 foreach($data_provider as $input) { 21 $s->unserialize($input);
|
/php-src/ext/soap/tests/bugs/ |
H A D | bug65018.phpt | 14 $input = $input = 24 $soap->handle($input);
|
/php-src/ext/mbstring/ |
H A D | mbstring.h | 59 const char *input, size_t length, 62 const char *input, size_t length, const mbfl_encoding *to_encoding, 68 MBSTRING_API bool php_mb_check_encoding(const char *input, size_t length, const mbfl_encoding *enco…
|
/php-src/Zend/tests/ |
H A D | runtime_compile_time_binary_operands.phpt | 45 $input = [ 153 foreach ($input as $left) { 154 foreach ($input as $right) { 163 foreach ($input as $right) {
|
/php-src/ext/json/tests/ |
H A D | json_decode_basic.phpt | 32 foreach($inputs as $input) { 34 var_dump(json_decode($input)); 35 var_dump(json_decode($input, true));
|
/php-src/ext/mbstring/tests/ |
H A D | bug43994.phpt | 20 foreach($inputs as $input) { 27 var_dump( mb_ereg($input, 'hello, world') ); 34 var_dump(mb_ereg($input, 'hello, world', $mb_regs));
|
H A D | mb_encode_mimeheader_basic3.phpt | 22 foreach ($inputs as $lang => $input) { 27 var_dump(mb_encode_mimeheader($input, $outEncoding, 'B')); 29 var_dump(mb_encode_mimeheader($input, $outEncoding, 'Q'));
|
H A D | mb_encode_mimeheader_basic2.phpt | 22 foreach ($inputs as $lang => $input) { 27 var_dump(mb_encode_mimeheader($input, $outEncoding, 'B')); 29 var_dump(mb_encode_mimeheader($input, $outEncoding, 'Q'));
|
/php-src/tests/output/ |
H A D | stream_isatty.inc | 16 'Invalid stream (php://input)' => fopen('php://input', 'wb'),
|
/php-src/.github/ISSUE_TEMPLATE/ |
H A D | bug_report.yml | 25 - type: input 32 - type: input
|
/php-src/ext/hash/sha3/generic64lc/ |
H A D | KeccakP-1600-opt64.c | 399 …InLane(const void *state, unsigned int lanePosition, const unsigned char *input, unsigned char *ou… in KeccakP1600_ExtractAndAddBytesInLane() argument 412 output[i] = input[i] ^ ((UINT8*)lane1)[offset+i]; in KeccakP1600_ExtractAndAddBytesInLane() 418 output[i] = input[i] ^ (lane & 0xFF); in KeccakP1600_ExtractAndAddBytesInLane() 426 void KeccakP1600_ExtractAndAddLanes(const void *state, const unsigned char *input, unsigned char *o… in KeccakP1600_ExtractAndAddLanes() argument 436 ((UINT64*)output)[i] = ((UINT64*)input)[i] ^ ((const UINT64*)state)[i]; in KeccakP1600_ExtractAndAddLanes() 440 output[i*8+j] = input[i*8+j] ^ temp[j]; in KeccakP1600_ExtractAndAddLanes() 467 void KeccakP1600_ExtractAndAddBytes(const void *state, const unsigned char *input, unsigned char *o… in KeccakP1600_ExtractAndAddBytes() argument 469 …SnP_ExtractAndAddBytes(state, input, output, offset, length, KeccakP1600_ExtractAndAddLanes, Kecca… in KeccakP1600_ExtractAndAddBytes()
|