PHP Functions What will be the output of the following PHP code?function calc($price, $tax="") {$total = $price + ($price * $tax);echo "$total";}calc(42); 84 Error 0 42 84 Error 0 42 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following PHP functions can be used for generating unique id’s? mdid() md5() uniqueid() id() mdid() md5() uniqueid() id() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function onespan>() {define("const","I am awesome!");echo constant("const");}one(); “const”,”I am awesome!” const const, I am awesome!! I am awesome!! “const”,”I am awesome!” const const, I am awesome!! I am awesome!! 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 $num 3 5 None of the mentioned $num 3 5 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"); Time Pass Towe Pa55 Towe Pass Time Pa55 Time Pass Towe Pa55 Towe Pass Time Pa55 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions A function in PHP which starts with ______ (double underscore) is know as. Inbuilt Function Magic Function Default Function User Defined Function Inbuilt Function Magic Function Default Function User Defined Function ANSWER DOWNLOAD EXAMIANS APP