Basic PHP Which of the conditional statements is/are supported by PHP?1. if statements2. if-else statements3. if-elseif statements4. switch statements 1, 2 and 4 Only 1 2, 3 and 4 All of the mentioned. 1, 2 and 4 Only 1 2, 3 and 4 All of the mentioned. ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; 1 1234 Error 2 1 1234 Error 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP It is possible to create a hierarchy of namespaces in PHP. FALSE TRUE FALSE TRUE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$a = "clue";$a .= "get";echo "$a"; false true get clueget false true get clueget ANSWER DOWNLOAD EXAMIANS APP
Basic PHP strval() Accepts a value and converts it into an string dictionary None of above Accepts a value and converts it into a string array Accepts a value and converts it into string equivalent Accepts a value and converts it into an string dictionary None of above Accepts a value and converts it into a string array Accepts a value and converts it into string equivalent 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 mancI love manu I love arsenalI love manc I love arsenal Error I love arsenalI love mancI love manu I love arsenalI love manc I love arsenal ANSWER DOWNLOAD EXAMIANS APP