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 1 -0.5 0.5 0 1 -0.5 0.5 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ucwords("i love all country"); I Love All Country I love all country i love all Country I love all Country I Love All Country I love all country i love all Country I love all Country 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); Type Hinting Call By Reference Call By Value Default Argument Value Type Hinting Call By Reference Call By Value Default Argument Value ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function email(){$email = ’contact@examians.com’;$new = strstr($email, ‘@');echo $new;}email(); @examians.com contact@examians.com contact examians.com @examians.com contact@examians.com contact examians.com 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(); Error I am here to spoil this code None of the mentioned my favourite TV show is SherlockI am here ro spoil this code Error I am here to spoil this code None of the mentioned my favourite TV show is SherlockI am here ro spoil this code ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo "chr(52)"; 4 3 1 2 4 3 1 2 ANSWER DOWNLOAD EXAMIANS APP