note 7653 added to pack

From: Date: Thu, 10 Aug 2000 08:14:26 +0000
Subject: note 7653 added to pack
Groups: php.notes 
Request: Send a blank email to php-notes+get-767@lists.php.net to get a copy of this message
Note that the the upper command in perl looks like this:<br> $binarydata = pack ("n v c*", 0x1234, 0x5678, 65, 66);<br> In PHP it seems that no whitespaces are allowed in the first parameter. So if you want to convert your pack command from perl -> PHP, don't forget to remove the whitespaces! http://www.php.net/manual/de/function.pack.php

« previous php.notes (#767) next »