Find count of negative numbers , count of zeros , negative number with least absolute value and product of non - zero numbers
$ max_neg = PHP_INT_MIN ; $ count_neg = 0 ; $ count_zero = 0 ; $ prod = 1 ; for ( $ i = 0 ; $ i < $ n ; $ i ++ ) {