What will be the output of the following PHP code?
<?php function calc($price, $tax="") { $total = $price + ($price * $tax); echo "$total"; } calc(42); ?>
(c).42
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
(c).42
need an explanation for this answer? contact us directly to get an explanation for this answer