> fails when value negative
<p>I have the following code:</p>

<pre><code>// evaluates to negative numbers, i.e. -2 
$group_vids_count = $_videos-&gt;countGroupVids($series['id']) - 3; 
if ( $group_vids_count &gt; 0 )
{
   $xmore = $group_vids_count . ' is more';
}
else
{
   $xmore = $group_vids_count;
}
</code></pre>

<p>Everything works as expected if <code>$group_vids_count</code> evaluates to a positive number. As far as it evaluates to a negative number, like -2 I still get results as if <code>$group_vids_count &gt; 0</code>, although -2 is &lt; 0... </p>

<p><code>$_videos-&gt;countGroupVids($series['id']) - 3</code> is intended as there are 3 videos displayed directly. I need to find out how many more there are...</p>

<p>I have tried to use <code>max()</code> but still the same issue...</p>
