comparing strings with comparison operators php
<p>I'm comparing strings with comparison operators. </p>

<p>I needs some short of explanations for the below two comparisons and their result.</p>

<pre><code>if('ai' &gt; 'i')
{
    echo 'Yes';
}
else
{
    echo 'No';
}

output: No
</code></pre>

<p>Why?</p>

<pre><code>if('ia' &gt; 'i')
{
    echo 'Yes';
}
else
{
    echo 'No';
}

Output: Yes
</code></pre>

<p>Again, Why?</p>

<p>May be I forgot some basics, but I really need some explanation of these comparison examples.</p>
