<?php $text1 = "He is a"; $var = is_stop_word($text1); if ($var == True) echo "<i>'$text1'</i> is a stopword"; else echo "<i>'$text1'</i> is not a stopword"; echo "<br><br>"; $text2 = "This is a ball"; $var = is_stop_word($text2); if ($var == True) echo "<i>'$text2'</i> is a stopword"; else echo "<i>'$text2'</i> is not a stopword"; ?>