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

From: Date: Mon, 30 Oct 2000 14:48:22 +0000
Subject: PHP 4.0 Bug #7494 Updated: Unpack("H*",... doesn't work
Groups: php.dev 
Request: Send a blank email to php-dev+get-36402@lists.php.net to get a copy of this message
ID: 7494 Updated by: stas Reported By: honzam@ecn.cz Status: Closed Bug Type: Unknown/Other Function Assigned To: Comments: H14 works OK H* fixed in CVS. Previous Comments: --------------------------------------------------------------------------- [2000-10-27 16:12:49] honzam@ecn.cz 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 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7494

« previous php.dev (#36402) next »