Use array_key_exist to check for posted keys when matching with function prototype instead of isset(). Because isset returns FALSE even if the parameter exist but its value is NULL. But NULL values are perfectly valid!