Return the requested key from input in a safe way. This function is safe to use for recursive arrays and either returns a non-empty string or the (optional) default.
This method is based on pnVarCleanFromInput but array-safe.
Tags:
return:
requested input key or the specified default
Parameters:
key
$key
The field to return
default
$default
The value to return if the requested field is not found (optional) (default=false)