#21457 [Opn->Bgs]: Error in pack() function
| From: | shadow at ring dot by | Date: | Mon, 06 Jan 2003 10:56:35 +0000 |
| Subject: | #21457 [Opn->Bgs]: Error in pack() function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29191@lists.php.net to get a copy of this message | ||
ID: 21457
User updated by: shadow@ring.by
Reported By: shadow@ring.by
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Windows 98 SE
PHP Version: 4.3.0
New Comment:
:)
Previous Comments:
------------------------------------------------------------------------
[2003-01-06 04:32:36] shadow@ring.by
Error in pack() function, see code below.
<?
$type = "n";
// n unsigned short (*always 16 bit*, big endian byte order)
$fa = fopen("test","w");
fwrite($fa,pack($type,266));
?>
file "test":
00000000: 01 0D 0A
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21457&edit=1