Location: PHPKode > projects > ObsceneClean > words9.php
<?PHP
echo '<br>  1st try';
$WordsAroundMatchedOW = "cunt cunt";
	echo ' here $WordsAroundMatchedOW=' . $WordsAroundMatchedOW;
	echo '<br>';
	var_dump($WordsAroundMatchedOW);
	echo '<br>'; 
	$AWordAroundMatchedOW = str_word_count($WordsAroundMatchedOW, 2);  //put each word in an element of array for spell check later
	echo '<br>';
	echo ' $AWordAroundMatchedOW =';
	var_dump($AWordAroundMatchedOW);
	echo '<br>';
	var_dump($AWordAroundMatchedOW);
	echo '<br>'; 
echo '<br> 2nd try';
$WordsAroundMatchedOW = "сϋήϯ сϋήϮ";
	echo ' here $WordsAroundMatchedOW=' . $WordsAroundMatchedOW;
	echo '<br>';
	var_dump($WordsAroundMatchedOW);
	echo '<br>'; 
	$AWordAroundMatchedOW = str_word_count($WordsAroundMatchedOW, 2);  //put each word in an element of array for spell check later
	echo '<br>';
	echo ' $AWordAroundMatchedOW =';
	var_dump($AWordAroundMatchedOW);
	echo '<br>';
	var_dump($AWordAroundMatchedOW);
	echo '<br>'; 
?>
Return current item: ObsceneClean