/
proc
/
self
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
standard
/
tests
/
strings
/
File Upload :
llllll
Current File: //proc/self/root/usr/local/lsws/phpbuild/php-8.0.7/ext/standard/tests/strings/bug35817.phpt
--TEST-- Bug #35817 (unpack() does not decode odd number of hexadecimal values) --FILE-- <?php $a = pack("H3","181"); $b = unpack("H3", $a); var_dump($b); $a = pack("H2","18"); $b = unpack("H2", $a); var_dump($b); $a = pack("H","1"); $b = unpack("H", $a); var_dump($b); ?> --EXPECT-- array(1) { [1]=> string(3) "181" } array(1) { [1]=> string(2) "18" } array(1) { [1]=> string(1) "1" }
Copyright ©2k19 -
Hexid
|
Tex7ure