(a) If any of your parameters is boolean, max and min will cast the rest of them to boolean to do the comparison.(b) true > false(c) However, max and min will return the actual parameter value that wins the comparison (not the cast).

- This function is not actually recursive, but fulfills the requirement that it works on sub-arrays. I do this because PHP is not very good at recursion. I also did it because I enjoy doing things this way. - It returns something of type int, never a string representation of an int. The exception is when you provide an array that does not contain any integers. It will then return NULL. - It ignores non-array, non-int values.