Home
last modified time | relevance | path

Searched refs:unpack (Results 1 – 25 of 67) sorted by last modified time

123

/php-src/ext/standard/
H A Dbasic_functions.stub.php3311 function unpack(string $format, string $string, int $offset = 0): array|false {}
H A Dbasic_functions_arginfo.h2802 ZEND_FUNCTION(unpack);
H A Dpack.c708 PHP_FUNCTION(unpack) in PHP_FUNCTION() argument
/php-src/ext/openssl/tests/
H A DServerClientTestCase.inc41 $length = unpack("n", substr($rawData, $offset + 3, 2))[1];
/php-src/ext/opcache/jit/ir/dynasm/
H A Ddasm_x86.lua26 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 Dmb_strcut.phpt12 return join(unpack('H*', $char));
H A Dmb_strimwidth.phpt13 return join(unpack('H*', $char));
H A Dmb_str_split_jp.phpt50 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 Dprecision.phpt28 $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 Dbug61764.phpt11 print_r(unpack('I', pack('L', -30000)));
H A Dgh10940.phpt6 unpack('h2147483647', $a);
9 Warning: unpack(): Type h: not enough input values, need 1073741824 values but only 12 were provide…
H A Dpack_Z.phpt2 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 Dbug61038.phpt2 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 Dhtml_entity_decode_iso8859-5.phpt107 $d = unpack("H*", $res);
113 $res = unpack("H*", $res)[1];
H A Dunpack_offset.phpt2 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 Dunpack_bug68225.phpt2 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 Dunpack_error.phpt2 Test unpack() function : error conditions
7 var_dump(unpack("B", pack("I", 65534)));
H A Dhtml_entity_decode_koi8-r.phpt139 $d = unpack("H*", $res);
145 $res = unpack("H*", $res)[1];
/php-src/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます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 Dmagic3433 # 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 Dmkdist.php194 …$hdr = unpack("a100filename/a8mode/a8uid/a8gid/a12size/a12mtime/a8checksum/a1typeflag/a100link/a6m…
/php-src/ext/gd/tests/
H A Dimagegd_truecolor.phpt25 $header = unpack('nsignature/nwidth/nheight/Ctruecolor', $buffer);
H A Dbug73155.phpt20 $header = unpack('@10/nchunk_size/nformat/nx_count/ny_count', $buffer);
H A Dbug73157.phpt20 $header = unpack('@10/nchunk_size', $buffer);
H A Dbug73159.phpt19 $header = unpack('@12/nformat', $buffer);

Completed in 217 milliseconds

123