Question:
function calculate($price, $price2="", $price3="") { echo $price + $price2 + $price3; }You can then call calculate(), passing along just $price and $price3, like so: calculate(10, "", 3); This returns the following value:
A 13
B 10, "", 3
C 10,00, 3
D 10null3
+ AnswerA
+ Report