From: [EMAIL PROTECTED] Operating system: Windows 98 SE PHP version: 4.3.0 PHP Bug Type: Unknown/Other Function Bug description: Error in pack() function
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 bug report at http://bugs.php.net/?id=21457&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21457&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21457&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21457&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21457&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21457&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21457&r=support Expected behavior: http://bugs.php.net/fix.php?id=21457&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21457&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21457&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21457&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21457&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21457&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21457&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21457&r=gnused