/php-src/ext/standard/ |
H A D | basic_functions.stub.php | 3311 function unpack(string $format, string $string, int $offset = 0): array|false {}
|
H A D | basic_functions_arginfo.h | 2802 ZEND_FUNCTION(unpack);
|
H A D | pack.c | 708 PHP_FUNCTION(unpack) in PHP_FUNCTION() argument
|
/php-src/ext/openssl/tests/ |
H A D | ServerClientTestCase.inc | 41 $length = unpack("n", substr($rawData, $offset + 3, 2))[1];
|
/php-src/ext/opcache/jit/ir/dynasm/ |
H A D | dasm_x86.lua | 26 local assert, unpack, setmetatable = assert, unpack or table.unpack, setmetatable 175 local chunk = char(unpack(al, offset+1, #al))
|
/php-src/ext/mbstring/tests/ |
H A D | mb_strcut.phpt | 12 return join(unpack('H*', $char));
|
H A D | mb_strimwidth.phpt | 13 return join(unpack('H*', $char));
|
H A D | mb_str_split_jp.phpt | 50 echo " " . unpack("H*", $split[$i])[1]; 69 last array element: %s expected: %s\n", unpack("H*", end($array))[1],unpack("H*", $enc)[1]);
|
/php-src/ext/standard/tests/serialize/ |
H A D | precision.phpt | 28 $num = unpack("d", pack("H*", $ns)); $num = reset($num); 31 $repr = unpack("H*", pack("d", $num2)); $repr = reset($repr);
|
/php-src/ext/standard/tests/strings/ |
H A D | bug61764.phpt | 11 print_r(unpack('I', pack('L', -30000)));
|
H A D | gh10940.phpt | 6 unpack('h2147483647', $a); 9 Warning: unpack(): Type h: not enough input values, need 1073741824 values but only 12 were provide…
|
H A D | pack_Z.phpt | 2 pack()/unpack(): "Z" format 11 unpack("Z*", "foo\0\rbar\0 \t\r\n"), 12 unpack("Z9", "foo\0\rbar\0 \t\r\n"), 13 unpack("Z2", "\0"), 14 unpack("Z2", "\0\0"), 15 unpack("Z2", "A\0"), 16 unpack("Z2", "AB\0"), 17 unpack("Z2", "ABC") 21 Warning: unpack(): Type Z: not enough input values, need 2 values but only 1 was provided in %s on …
|
H A D | bug61038.phpt | 2 Bug #61038: unpack("a5", "str\0\0") does not work as expected 5 var_dump(unpack("a4", "str\0\0")); 6 var_dump(unpack("a5", "str\0\0")); 7 var_dump(unpack("a6", "str\0\0")); 8 var_dump(unpack("a*", "str\0\0")); 20 Warning: unpack(): Type a: not enough input values, need 6 values but only 5 were provided in %s on…
|
H A D | html_entity_decode_iso8859-5.phpt | 107 $d = unpack("H*", $res); 113 $res = unpack("H*", $res)[1];
|
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]); 15 unpack("l", "foo", 10); 20 unpack("l", "foo", -1); 28 unpack(): Argument #3 ($offset) must be contained in argument #2 ($data) 29 unpack(): Argument #3 ($offset) must be contained in argument #2 ($data)
|
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 7 var_dump(unpack("B", pack("I", 65534)));
|
H A D | html_entity_decode_koi8-r.phpt | 139 $d = unpack("H*", $res); 145 $res = unpack("H*", $res)[1];
|
/php-src/ext/fileinfo/tests/ |
H A D | magic私はガラスを食べられます | 3433 # extracted by `unpack seahelp.hl_` 3440 # probably original file name with directory like: \OS2\unpack.exe \SYSTEM\8514.DRV MAHJONGG.EXE 24842 # length of total files when unpacked only used when pack and unpack on the fly
|
H A D | magic | 3433 # extracted by `unpack seahelp.hl_` 3440 # probably original file name with directory like: \OS2\unpack.exe \SYSTEM\8514.DRV MAHJONGG.EXE 24842 # length of total files when unpacked only used when pack and unpack on the fly
|
/php-src/win32/build/ |
H A D | mkdist.php | 194 …$hdr = unpack("a100filename/a8mode/a8uid/a8gid/a12size/a12mtime/a8checksum/a1typeflag/a100link/a6m…
|
/php-src/ext/gd/tests/ |
H A D | imagegd_truecolor.phpt | 25 $header = unpack('nsignature/nwidth/nheight/Ctruecolor', $buffer);
|
H A D | bug73155.phpt | 20 $header = unpack('@10/nchunk_size/nformat/nx_count/ny_count', $buffer);
|
H A D | bug73157.phpt | 20 $header = unpack('@10/nchunk_size', $buffer);
|
H A D | bug73159.phpt | 19 $header = unpack('@12/nformat', $buffer);
|