I'm still new to PHP, so I wonder if it is possible to write a function with several optional parameters but at least one of those needs to be used?
Something like
function my_func($arg1="", $arg2="", $arg3=""){
//at least one of the args should be set
}
or do I just test within in the function and return false if none was set?