note 17447 deleted from function.strstr by jimw

From: Date: Thu, 20 Dec 2001 22:38:11 +0000
Subject: note 17447 deleted from function.strstr by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23514@lists.php.net to get a copy of this message
Apparently strstr($haystack, $needle) fails if $needle is the empty string. That seems like the wrong thing to do.

« previous php.notes (#23514) next »