|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-12-09 18:25 UTC] sniper@php.net
[2003-12-14 21:15 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 18 08:00:02 2025 UTC |
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.