Basic PHP What will be the output of the following PHP code?$team = "arsenal";switch ($team) {case "manu":echo "I love man u";case "arsenal":echo "I love arsenal";case "manc":echo "I love manc"; } I love arsenalI love mancI love manu I love arsenal Error I love arsenalI love manc I love arsenalI love mancI love manu I love arsenal Error I love arsenalI love manc ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$num = 10;echo 'What is her age? \n She is $num years old'; What is her age? She is 10 years old What is her age? She is $num years old What is her age?n She is 10 years old What is her age? n She is $num years old What is her age? She is 10 years old What is her age? She is $num years old What is her age?n She is 10 years old What is her age? n She is $num years old ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following PHP statements will output Hello World on the screen?1. echo (“Hello World”);2. print (“Hello World”);3. printf (“Hello World”);4. sprintf (“Hello World”); 1, 2 and 3 All of the mentioned 1, 2 and 4 1 and 2 1, 2 and 3 All of the mentioned 1, 2 and 4 1 and 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following must be installed on your computer so as to run PHP script?1. Adobe Dreamweaver2. PHP3. Apache4. IIS 2, 3 and 4 Only 2 2 and 3 All of the mentioned. 2, 3 and 4 Only 2 2 and 3 All of the mentioned. ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Variables always start with a ........ in PHP Yen-sign Dollar-sign Euro-sign Pond-sign Yen-sign Dollar-sign Euro-sign Pond-sign ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following code?$foo = 'Bob';$bar = &$foo;$bar = "My name is $bar";echo $bar;echo $foo; My name is Bob Bob My name is BobMy name is Bob My name is BobBob Error My name is Bob Bob My name is BobMy name is Bob My name is BobBob Error ANSWER DOWNLOAD EXAMIANS APP