I know this may be a silly question, but I come across a snippet of php code that check if the $_POST is_array() before execute other functions.
$_POST
is_array()
$_POST is always defined as an array even it doesn't contain any key/value pairs.