count negative values in an array - php
<p>I have an array which looks like</p>

<p>array(-2, -1, 0, 1, 2, 3, 4) etc</p>

<p>I would like to count the number of negative numbers only. I can't spot where it says how to do this in the manual, is there no function to do this? Do I have to create a loop to go through the array manually?</p>

<p>Thanks</p>
