ID: 34652 Updated by: [EMAIL PROTECTED] Reported By: karoly at negyesi dot net -Status: Open +Status: Feedback Bug Type: Filesystem function related Operating System: Kubuntu Linux PHP Version: 4.4.0 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Works just fine on my 4_4 from CVS. Previous Comments: ------------------------------------------------------------------------ [2005-09-27 07:00:46] karoly at negyesi dot net Description: ------------ feof does not report TRUE when fopen failed thus any script that expects this will fail into an infinite loop. This has been reported before but that report is closed. Reproduce code: --------------- php -r "var_dump(feof(FALSE));" Expected result: ---------------- bool(true) Actual result: -------------- Warning: feof(): supplied argument is not a valid stream resource in Command line code on line 1 bool(false) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34652&edit=1
