How to check if a string is one of the known values?
<pre><code>&lt;?php
$a = 'abc';

if($a among array('are','abc','xyz','lmn'))
    echo 'true';
?&gt;
</code></pre>

<p>Suppose I have the code above, how to write the statement "if($a among...)"?
Thank you</p>
