Suppose I have a function defined as following :
public function test($title, $body, $role = 0, $place = 0)
{
//do something
}
so, when i call the function like this :
test('myname', 'sometext', third_arg);
I want 'third_arg' to be the argument for $place and no argument for $role.
I also don't know which of the $role or $place will have a value passed when the function is called everytime.
How do I pass the argument for $place ?
Thanks in advance!