strpos problem with 0==false?
<p>I'm using strpos to find the position of a string in another string. I first check if the string is found at all in there. Here's my line:</p>

<pre><code>if (strpos($grafik['data'],$ss1)&lt;&gt;false &amp;&amp; strpos($grafik['data'],$ss2)&lt;&gt;false &amp;&amp; strpos($grafik['data'],$ss1) &lt; strpos($grafik['data'],$ss2))
</code></pre>

<p>I check if both strings are contained and then I want the first one to be placed before the second one. In the php manual it says that strpos returns false when string is not found. However if my string starts at the zero position (strpos returns 0 since its the beginning), it seems like this statement </p>

<pre><code>strpos($grafik['data'],$ss1)&lt;&gt;false
</code></pre>

<p>is false. Somehow 0==false ? How do I make the statement true when strops returns 0 ?</p>
