Home
last modified time | relevance | path

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

123

/PHP-7.4/ext/phar/tests/
H A Dbug70091.phpt18 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 Dphar_createdefaultstub.phpt153 $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 Dphar_setdefaultstub.phpt173 $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 Dmkdist.php194 …$hdr = unpack("a100filename/a8mode/a8uid/a8gid/a12size/a12mtime/a8checksum/a1typeflag/a100link/a6m…
/PHP-7.4/ext/standard/
H A Dbasic_functions.c3228 PHP_FE(unpack, arginfo_unpack)
H A Dpack.c723 PHP_FUNCTION(unpack) in PHP_FUNCTION() argument
H A Dpack.h24 PHP_FUNCTION(unpack);
/PHP-7.4/ext/mbstring/tests/
H A Dmb_str_split_utf8_utf16.phpt38 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 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
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 Dbug69522.phpt2 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 Dunpack.phpt5 var_dump(unpack("-2222", 1));
9 Warning: unpack(): Invalid format type - in %sunpack.php on line %d
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]);
H A Dhtml_entity_decode_cp866.phpt139 $d = unpack("H*", $res);
145 $res = unpack("H*", $res)[1];
H A Dhtml_entity_decode_iso8859-15.phpt107 $d = unpack("H*", $res);
113 $res = unpack("H*", $res)[1];
H A Dhtml_entity_decode_win1251.phpt143 $d = unpack("H*", $res);
149 $res = unpack("H*", $res)[1];
H A Dhtml_entity_decode_win1252.phpt63 $d = unpack("H*", $res);
69 $res = unpack("H*", $res)[1];
H A Dpack64_32.phpt2 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 Dbug74798.phpt77 var_dump(unpack('H*', $originalEnvelopeData)[1], unpack('H*', $envelopeData)[1]);
/PHP-7.4/ext/gd/tests/
H A Dbug73155.phpt16 $header = unpack('@10/nchunk_size/nformat/nx_count/ny_count', $buffer);
H A Dbug73157.phpt16 $header = unpack('@10/nchunk_size', $buffer);
H A Dbug73159.phpt15 $header = unpack('@12/nformat', $buffer);
H A Dimagegd_truecolor.phpt21 $header = unpack('nsignature/nwidth/nheight/Ctruecolor', $buffer);
/PHP-7.4/ext/dba/tests/
H A Dbug38698.phpt12 return 0x00FF === current(unpack('v', pack('S',0x00FF)));
/PHP-7.4/Zend/tests/array_unpack/
H A Dalready_occupied.phpt2 Appending to an array via unpack may fail

Completed in 42 milliseconds

123