can === and != be used interchangably?
<p>Can the relational operator === (used for identical) be used interchangeably with the != operator" and get the same results? Or will I eventually run into issues later down the road when I do larger programs?</p>

<p>I know I will get the same results in the example below, will this always be true?</p>

<pre><code>//example 1  
   &lt;?php
        $a = 1; //integer
        $b = '1'; //string
        if ($a === $b) {     
            echo 'Values and types are same'; 
        }
        else {
            echo 'Values and types are not same';
        }
    ?&gt; 

 // example 2
    &lt;?php
        $a = 1; //integer
        $b = '1'; //string
        if ($a != $b) {     
            echo 'Values and types are not same'; 
        }
        else {
            echo 'Values and types are same';
        }
    ?&gt;
</code></pre>
