Re: twodimensional array / word-frequencylist

From: Date: Thu, 26 Jun 2003 11:47:22 +0000
Subject: Re: twodimensional array / word-frequencylist
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-152959@lists.php.net to get a copy of this message
if (!isset($words[$word]
        $words[$word]=0;
else
        $words[$word]++;
} change the 0 to 1 of course. Anyway the function Jason suggested is probably faster.


« previous php.general (#152959) next »