From: [EMAIL PROTECTED] Operating system: win32/linux PHP version: 4.2.3 PHP Bug Type: Filesystem function related Bug description: fgets, fgetc
Hi, maybe only a doc problem. fgetc seems to be binary safe, while fgets not. assume: fopen a lokal file, read it with fgetc or fgets, you'll get bogus results with fgets if the opened file contains \0 Friedhelm Betz -- Edit bug report at http://bugs.php.net/?id=19959&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19959&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19959&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19959&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19959&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19959&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19959&r=support Expected behavior: http://bugs.php.net/fix.php?id=19959&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19959&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19959&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19959&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19959&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=19959&r=dst IIS Stability: http://bugs.php.net/fix.php?id=19959&r=isapi
