PHP: get min value greater than zero

Use this PHP code function to pass an array with values and return the lowest value (min) which is greater than zero (not null, not 0, ignore zero and strings).
Works with int and float values.

Leave a Reply

Your email address will not be published. Required fields are marked *