Re: Cache_Lite patch
| From: | Jon Parise | Date: | Tue, 14 Jan 2003 15:33:49 +0000 |
| Subject: | Re: Cache_Lite patch | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-12416@lists.php.net to get a copy of this message | ||
On Tue, Jan 14, 2003 at 04:30:11PM +0100, Pierre-Alain Joye wrote:
> I remember weird behiavors with older php versions, isset() && ==""
> solved them. Anyway, imho, the best practice is to initialize the
> variable :') as usual.
Yes, I definitely agree. I would still like to see empty() used in
the final code, though.
if (!empty($data) && $this->_memoryCaching) {
--
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)