Re: [SMARTY-DEV] [PATCH] use file_get_contents instead fread($fp, filesize($filename))

From: Date: Tue, 06 Jul 2004 17:00:21 +0000
Subject: Re: [SMARTY-DEV] [PATCH] use file_get_contents instead fread($fp, filesize($filename))
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2443@lists.php.net to get a copy of this message
--- Antony Dovgal <tony2001@phpclub.net> wrote: > Regardless of the fact that this bug will be fixed (I hope), this > fopen-fread-filesize-fclose mess can be safely replaced by one > file_get_contents() calls. > > Please, review it. I think this has been discussed (?). A problem with file_get_contents is that it would increase the requirements of Smarty to PHP >= 4.3 xo boots

« previous php.smarty.dev (#2443) next »