Re: PHP 4.0 Bug #6361 Updated: unpack fails with 'H'
| From: | Stanislav Malyshev | Date: | Thu, 31 Aug 2000 13:42:29 +0000 |
| Subject: | Re: PHP 4.0 Bug #6361 Updated: unpack fails with 'H' | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-31426@lists.php.net to get a copy of this message | ||
BD>> Well, PHP unpack seems to behave differently from perl's unpack
BD>> here. In Perl, number behind H is the number of nibbles, in PHP
BD>> - number of characters (which is different for the unpack). I
BD>> don't know if this is an intended behaviour...
Does somebody knows if it's the desired behaviour that PHP and Perl's
unpack work differently? Won't it break anything if I bring them back in
sync (and thus break compatibility in this point with PHP 3)?
--
Stanislav Malyshev stas@zend.com http://www.zend.com/
+972-3-6139665 ext.106