PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am b';}echo 'I am a';}a();a(); Error I am b I am bI am a I am a Error Error I am b I am bI am a I am a Error 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(); None of the mentioned my favourite TV show is SherlockI am here ro spoil this code I am here to spoil this code Error None of the mentioned my favourite TV show is SherlockI am here ro spoil this code I am here to spoil this code Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "chr($total)";}$var1 = "sum";$var1(5, 44); Error 1 Sum 49 Error 1 Sum 49 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 be the output of the following PHP code?$op2 = "blabla"; function foo($op1) {echo $op1;echo $op2;}foo("hello"); Error hello helloblablablabla helloblabla Error hello helloblablablabla helloblabla 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(); contact @examians.com examians.com contact@examians.com contact @examians.com examians.com contact@examians.com ANSWER DOWNLOAD EXAMIANS APP