Re: preg_match too greedy

From: Date: Thu, 30 Jul 2009 16:36:53 +0000
Subject: Re: preg_match too greedy
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-296068@lists.php.net to get a copy of this message
Ben Dunlap wrote: > have -- "($x != false)" -- will be true whether $x is 0, NULL, an empty string, [8<] > But "$x !== false" will only be true in the last case. Sorry, replace "be true" with "be false" above. -Ben

« previous php.general (#296068) next »