Re: PHP 4.0 Bug #5014 Updated: Can read files that dont exist causing memory leak

From: Date: Thu, 15 Jun 2000 10:35:01 +0000
Subject: Re: PHP 4.0 Bug #5014 Updated: Can read files that dont exist causing memory leak
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-21407@lists.php.net to get a copy of this message
On Thu, Jun 15, 2000 at 01:27:34PM +0300, Stanislav Malyshev wrote: > >> > $fp = fopen("$file","r"); > >> if ($fp) { > > This won't work with virtual_dir on. See my previous message - virtual_dir > allows you to open empty file (this would be current dir) and then you get > endless loop because feof doesn't return true on it. that something for andi and/or sascha. tc > > -- > Stanislav Malyshev stas@zend.com > +972-3-6139665 -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.dev (#21407) next »