ID: 26568 Updated by: [EMAIL PROTECTED] Reported By: kyle at kylemaxwell dot com -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: WinXP Pro PHP Version: 4.3.4 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 I can not reproduce this with the latest CVS snapshot. (make sure you replace php4ts.dll with the one from the snapshot package) Previous Comments: ------------------------------------------------------------------------ [2003-12-09 16:46:57] kyle at kylemaxwell dot com Description: ------------ I have Apache 1.3 and PHP 4.3 set up on a WinXP Pro laptop for testing. Asking for the file_get_contents($file) when $file points to an empty text file causes Apache to crash. Reproduce code: --------------- <? $string = file_get_contents("path/to/empty_text_file.txt"); ?> Expected result: ---------------- $string == "" Actual result: -------------- One of those MS dialog boxes telling me Apache has experienced an error, and to report it to MS. Also, a 404 in the page called. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26568&edit=1
