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 What does PHP stand for?1. Personal Home Page2. Hypertext Preprocessor3. Pretext Hypertext Processor4. Preprocessor Home Page Both 1 and 2 Both 1 and 3 Both 2 and 4 Only 2 Both 1 and 2 Both 1 and 3 Both 2 and 4 Only 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP With the introduction of namespaces, the same function name can be used in multiple places. FALSE TRUE FALSE TRUE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP If you echo a Boolean variable, the value FALSE displays as a .... and the value TRUE echoes as a ..... 0, 1 blank string, 2 empty variable, 1 blank string, 1 0, 1 blank string, 2 empty variable, 1 blank string, 1 ANSWER DOWNLOAD EXAMIANS APP
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"; } Error I love arsenalI 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 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP All classes in the same namespace or subnamespace don’t have to the declared in the same PHP file. FALSE TRUE FALSE TRUE ANSWER DOWNLOAD EXAMIANS APP