PHP 4.0 Bug #5014 Updated: Can read files that dont exist causing memory leak
| From: | Bug Database | Date: | Thu, 15 Jun 2000 09:57:42 +0000 |
| Subject: | PHP 4.0 Bug #5014 Updated: Can read files that dont exist causing memory leak | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21403@lists.php.net to get a copy of this message | ||
ID: 5014
User Update by: adam@perfectgenius.com
Status: Open
Bug Type: Scripting Engine problem
Description: Can read files that dont exist causing memory leak
Sorry, I din't mean include();
$file = "/this/file/does/not/exist/.../hopefully";
$fp = fopen("$file","r");
while (!feof($fp)) {
$buffer = fread($fp,512);
}
Full Bug description available at: http://bugs.php.net/version4/?id=5014