Re: Re: NULLS vs Empty result in PHP

From: Date: Wed, 23 Sep 2009 13:28:06 +0000
Subject: Re: Re: NULLS vs Empty result in PHP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-298274@lists.php.net to get a copy of this message
Ralph Deffke wrote:
using empty() is ´the right way to check a var for NULL or ""
Empty will also match a string containing 0. And, to me, that doesn't at all seem empty :) Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP

« previous php.general (#298274) next »