"snitch.php" calculates the true meaning of parenthetical "stop snitching" statements
if ($REQUEST_METHOD=="POST") {
function snitch($x) {
if (($x & 1) == "0") {
echo "Pro-Snitching";
}
else {
echo "Anti-Snitching";}
}
$text2 = explode(' ',strtolower($text1));
foreach ($text2 as $key => $word ) {
$words[] = $word;
}
$count = array_count_values($words);
array_multisort($count,SORT_DESC);
$i = 1;
echo "
$text1 is
";
foreach ($count as $key => $value) {
if( $i <= 20 ) {
$keyword[] = $key;
if ($key == "stop") {
echo "
";}
$i++;
} else {
print_r($keyword);
exit();
}
}
}
?>