codice:
function funzione( $a, $b = '' )
{
...
}
http://www.php.net/manual/it/functions.arguments.php