note 7699 added to unpack

From: Date: Fri, 11 Aug 2000 23:10:32 +0000
Subject: note 7699 added to unpack
Groups: php.notes 
Request: Send a blank email to php-notes+get-1414@lists.php.net to get a copy of this message
why I packed a data and unpack it, data lost: $image="abcdefg"; $image1=pack("H", $image); $image2=unpack("H", $image1); for ($i=0; $i<=sizeof($image1); $i++){ echo $image[$i]; } result "ab" only.....please help http://www.php.net/manual/function.unpack.php

« previous php.notes (#1414) next »