ID: 21457
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-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] [EMAIL PROTECTED]
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