note 48609 deleted from function.unpack by felipe

From: Date: Thu, 03 Jan 2008 02:05:24 +0000
Subject: note 48609 deleted from function.unpack by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-134695@lists.php.net to get a copy of this message
Note Submitter: tomlove at gmail dot com ---- If you have one packed item, here's a quick way to get it out of its array when unpacking: <? $packed = pack("s*", 123); list(,$unpacked) = unpack("s*", $packed); ?> $unpacked now holds the value 123, not an array.

« previous php.notes (#134695) next »