function addition( $x = 10 ){
echo $x + 10;
}
addition(40); // outputs : 50
addition(); // passing no value. outputs : 20
function addition( $x = 10, $y = 20 ){
echo $x + $y;
}
addition(5); // passing one argument. outputs : 25
addition(); // passing no value. outputs : 30