Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; Error 1234 2 1 Error 1234 2 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following code?function track() {static $count = 0;$count++;echo $count;}track();track();track(); 011 111 000 123 011 111 000 123 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This 2 and 4 2, 3 and 4 Only 2 All of the mentioned 2 and 4 2, 3 and 4 Only 2 All of the mentioned 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 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 arsenal I love arsenalI love mancI love manu Error I love arsenalI love manc I love arsenal I love arsenalI love mancI love manu Error I love arsenalI love manc ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the conditional statements is/are supported by PHP?1. if statements2. if-else statements3. if-elseif statements4. switch statements 2, 3 and 4 Only 1 1, 2 and 4 All of the mentioned. 2, 3 and 4 Only 1 1, 2 and 4 All of the mentioned. ANSWER DOWNLOAD EXAMIANS APP