PHP 4.0 Bug #7494: Unpack("H*",... doesn't work

From: Date: Fri, 27 Oct 2000 20:12:49 +0000
Subject: PHP 4.0 Bug #7494: Unpack("H*",... doesn't work
Groups: php.dev 
Request: Send a blank email to php-dev+get-36136@lists.php.net to get a copy of this message
From: honzam@ecn.cz Operating system: Linux PHP version: 4.0.3pl1 PHP Bug Type: Unknown/Other Function Bug description: Unpack("H*",... doesn't work It looks, that unpack("H*", ... doesn't work correctly - it gives me no result. The script: $a = 'abcdefg'; $arr = unpack("H*",$a); echo "<BR>H*: ". $arr[""]; $arr = unpack("H14",$a); echo "<BR>H14: ". $arr[""]; gives me this otput: H*: H14: 61626364656667 In 3.0.16 workt the first unpack() line correctly (the second not, but never mind). Honza honzam@ecn.cz -- Edit Bug report at: http://bugs.php.net/?id=7494&edit=1

« previous php.dev (#36136) next »