Basic PHP What will be the output of the following PHP code?$color = "maroon";$var = $color[2];echo "$var"; Error $var r a Error $var r a ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = 1;$num1 = 2;print $num . "+". $num1; 3 1.+.2 1+2 Error 3 1.+.2 1+2 Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP considers the following values as False both A and B the one-character string 0 constant NULL the integer 0 All of Above both A and B the one-character string 0 constant NULL the integer 0 All of Above 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 manc Error I love arsenalI love mancI love manu I love arsenal I love arsenalI love manc Error I love arsenalI love mancI love manu I love arsenal ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? $_10 $aVaR ${“MyVar”} $10_somethings &$something $_10 $aVaR ${“MyVar”} $10_somethings &$something ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Multiple namespaces cannot be defined in the same file. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP