PHP Functions What will be the output of the following PHP code?function calc($price, $tax="") {$total = $price + ($price * $tax);echo "$total";}calc(42); 42 84 0 Error 42 84 0 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function mine($num){$num = 2 + $num;echo $num;}mine(3); None of the mentioned 5 $num 3 None of the mentioned 5 $num 3 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$title = "O'malley wins the heavyweight championship!";echo ucwords($title); O’malley Wins The Heavyweight Championship! O’Malley Wins The Heavyweight Championship! O’Malley wins the heavyweight championship! o’malley wins the heavyweight championship! O’malley Wins The Heavyweight Championship! O’Malley Wins The Heavyweight Championship! O’Malley wins the heavyweight championship! o’malley wins the heavyweight championship! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following PHP functions can be used to find files? glob() fold() get_file() file() glob() fold() get_file() file() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function time($string){echo strtr("Towe Pa55", "ow5", $string);}time("ims"); Towe Pa55 Towe Pass Time Pass Time Pa55 Towe Pa55 Towe Pass Time Pass Time Pa55 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function movie($int){$movies = array("Fight Club", "Kill Bill", "Pulp Fiction");echo "You Do Not Talk About ". $movie[$integer];}movie(0); None of the mentioned You Do Not Talk About Fight Club I You Do Not Talk About Pulp Fiction None of the mentioned You Do Not Talk About Fight Club I You Do Not Talk About Pulp Fiction ANSWER DOWNLOAD EXAMIANS APP