function SomeFunction($a, $b='', $c=1) {
}
In the above function the variable $a is required, $b is optional, and will use '' when the function is not called with a value, and $c is optional and will use '1' as a default.
It's best to put optional arguments as the last argument(s) in your function.