Basic PHP PHP ..... demand that you declare a data type when you create a variable. does not does does not does ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? ${“MyVar”} $aVaR &$something $10_somethings $_10 ${“MyVar”} $aVaR &$something $10_somethings $_10 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; Error 1234 1 2 Error 1234 1 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed? Error 12 5 1 Error 12 5 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"; } I love arsenalI love mancI love manu Error I love arsenal I love arsenalI love manc I love arsenalI love mancI love manu Error I love arsenal I love arsenalI love manc ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which statement will output $x on the screen? echo “$$x”; echo “$x;”; echo “/$x”; echo “\$x”; echo “$$x”; echo “$x;”; echo “/$x”; echo “\$x”; ANSWER DOWNLOAD EXAMIANS APP