What will be the output of the following PHP code? 1.

🎲 Try a Random Question  |  Total Questions in Quiz: 69  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Practice Test: Functions In PHP — practice the complete quiz, review flashcards, or try a random question.


What will be the output of the following PHP code? 1. <?php 2. function calc($price, $tax=") 3. { 4. $total = $price + ($price * $tax); 5. echo$total"; 6. } 7. calc(42); 8. ?>"