/PHP-7.4/ext/phar/tests/ |
H A D | bug70091.phpt | 18 var_dump(unpack('H8sig/@6/nflags', $data)); 22 var_dump(unpack('H8sig/@6/nflags', $data)); 26 var_dump(unpack('H8sig/@8/nflags', $data)); 30 var_dump(unpack('H8sig/@8/nflags', $data));
|
H A D | phar_createdefaultstub.phpt | 153 $L = unpack('V', $a = fread($fp, 4)); 251 $info = unpack('V', substr($m, 0, 4)); 252 $l = unpack('V', substr($m, 10, 4)); 254 $s = unpack('V', substr($m, 0, 4)); 447 $L = unpack('V', $a = fread($fp, 4)); 545 $info = unpack('V', substr($m, 0, 4)); 546 $l = unpack('V', substr($m, 10, 4)); 548 $s = unpack('V', substr($m, 0, 4)); 749 $L = unpack('V', $a = fread($fp, 4)); 848 $l = unpack('V', substr($m, 10, 4)); [all …]
|
H A D | phar_setdefaultstub.phpt | 173 $L = unpack('V', $a = fread($fp, 4)); 271 $info = unpack('V', substr($m, 0, 4)); 272 $l = unpack('V', substr($m, 10, 4)); 274 $s = unpack('V', substr($m, 0, 4)); 468 $L = unpack('V', $a = fread($fp, 4)); 566 $info = unpack('V', substr($m, 0, 4)); 567 $l = unpack('V', substr($m, 10, 4)); 569 $s = unpack('V', substr($m, 0, 4)); 763 $L = unpack('V', $a = fread($fp, 4)); 862 $l = unpack('V', substr($m, 10, 4)); [all …]
|
/PHP-7.4/win32/build/ |
H A D | mkdist.php | 194 …$hdr = unpack("a100filename/a8mode/a8uid/a8gid/a12size/a12mtime/a8checksum/a1typeflag/a100link/a6m…
|
/PHP-7.4/ext/standard/ |
H A D | basic_functions.c | 3228 PHP_FE(unpack, arginfo_unpack)
|
H A D | pack.c | 723 PHP_FUNCTION(unpack) in PHP_FUNCTION() argument
|
H A D | pack.h | 24 PHP_FUNCTION(unpack);
|
/PHP-7.4/ext/mbstring/tests/ |
H A D | mb_str_split_utf8_utf16.phpt | 38 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]); 44 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]); 50 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]); 56 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]); 62 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]); 68 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]);
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | unpack_bug68225.phpt | 2 Bug #68225 unpack and X format code 8 $result = unpack('Va/X' ,$data); 11 $result = unpack('Va/X4' ,$data); 14 $result = unpack('V1a/X4/V1b/V1c/X4/V1d', $data);
|
H A D | unpack_error.phpt | 2 Test unpack() function : error conditions 6 /* Prototype : array unpack ( string $format , string $data ) 11 echo "*** Testing unpack() : error conditions ***\n"; 13 echo "\n-- Testing unpack() function with no arguments --\n"; 14 var_dump( unpack() ); 18 var_dump(unpack("I", pack("I", 65534), 0, $extra_arg)); 22 var_dump(unpack("B", pack("I", 65534))); 26 *** Testing unpack() : error conditions *** 28 -- Testing unpack() function with no arguments -- 38 -- Testing unpack() function with invalid format character -- [all …]
|
H A D | bug69522.phpt | 2 Bug #69522 (heap buffer overflow in unpack()) 6 $b = unpack('h2147483648', $a); 10 Warning: unpack(): Type h: integer overflow in %s on line %d
|
H A D | unpack.phpt | 5 var_dump(unpack("-2222", 1)); 9 Warning: unpack(): Invalid format type - in %sunpack.php on line %d
|
H A D | unpack_offset.phpt | 2 unpack() with offset 7 $a = unpack("l2", $data, 3); 11 unpack("l", $data, 3)[1], 12 unpack("@4/l", $data, 3)[1]);
|
H A D | html_entity_decode_cp866.phpt | 139 $d = unpack("H*", $res); 145 $res = unpack("H*", $res)[1];
|
H A D | html_entity_decode_iso8859-15.phpt | 107 $d = unpack("H*", $res); 113 $res = unpack("H*", $res)[1];
|
H A D | html_entity_decode_win1251.phpt | 143 $d = unpack("H*", $res); 149 $res = unpack("H*", $res)[1];
|
H A D | html_entity_decode_win1252.phpt | 63 $d = unpack("H*", $res); 69 $res = unpack("H*", $res)[1];
|
H A D | pack64_32.phpt | 2 64bit pack()/unpack() tests 16 var_dump(unpack("Q", '')); 17 var_dump(unpack("J", '')); 18 var_dump(unpack("P", '')); 19 var_dump(unpack("q", '')); 34 Warning: unpack(): 64-bit format codes are not available for 32-bit versions of PHP in %s on line %d 37 Warning: unpack(): 64-bit format codes are not available for 32-bit versions of PHP in %s on line %d 40 Warning: unpack(): 64-bit format codes are not available for 32-bit versions of PHP in %s on line %d 43 Warning: unpack(): 64-bit format codes are not available for 32-bit versions of PHP in %s on line %d
|
/PHP-7.4/ext/openssl/tests/ |
H A D | bug74798.phpt | 77 var_dump(unpack('H*', $originalEnvelopeData)[1], unpack('H*', $envelopeData)[1]);
|
/PHP-7.4/ext/gd/tests/ |
H A D | bug73155.phpt | 16 $header = unpack('@10/nchunk_size/nformat/nx_count/ny_count', $buffer);
|
H A D | bug73157.phpt | 16 $header = unpack('@10/nchunk_size', $buffer);
|
H A D | bug73159.phpt | 15 $header = unpack('@12/nformat', $buffer);
|
H A D | imagegd_truecolor.phpt | 21 $header = unpack('nsignature/nwidth/nheight/Ctruecolor', $buffer);
|
/PHP-7.4/ext/dba/tests/ |
H A D | bug38698.phpt | 12 return 0x00FF === current(unpack('v', pack('S',0x00FF)));
|
/PHP-7.4/Zend/tests/array_unpack/ |
H A D | already_occupied.phpt | 2 Appending to an array via unpack may fail
|