note 9416 deleted from function.substr-count by nlopess

From: Date: Mon, 07 Jun 2004 09:36:08 +0000
Subject: note 9416 deleted from function.substr-count by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-70472@lists.php.net to get a copy of this message
Note Submitter: ender@sbox.tu-graz.ac.at ---- that's true, but your function substr_count () has a big BUG in it. if the $haystack starts with an occurence of $needle the algorithm fails.

« previous php.notes (#70472) next »