PHP Functions Which of the following are valid function names?1. function()2. €()3. .function()4. $function() All of the mentioned Only 2 None of the mentioned 3 and 4 All of the mentioned Only 2 None of the mentioned 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "cos($total)";}sum(5,-5); 0 -0.5 1 0.5 0 -0.5 1 0.5 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will happen in this function call?function calc($price, $tax) {$total = $price + $tax;}$pricetag = 15;$taxtag = 3;calc($pricetag, $taxtag); Call By Reference Type Hinting Call By Value Default Argument Value Call By Reference Type Hinting Call By Value Default Argument Value ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following PHP functions can be used for generating unique id’s? md5() mdid() id() uniqueid() md5() mdid() id() uniqueid() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function TV($string){echo "my favourite TV show is ".$string;function b() {echo " I am here to spoil this code";}}a("Sherlock");b(); my favourite TV show is SherlockI am here ro spoil this code None of the mentioned Error I am here to spoil this code my favourite TV show is SherlockI am here ro spoil this code None of the mentioned Error I am here to spoil this code ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo hex2bin("48656c6c6f20576f726c6421"); MCQ questons welcome to india Hello World! This is PHP! MCQ questons welcome to india Hello World! This is PHP! ANSWER DOWNLOAD EXAMIANS APP