Basic PHP Multiple namespaces cannot be defined in the same file. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following code?$foo = 'Bob';$bar = &$foo;$bar = "My name is $bar";echo $bar;echo $foo; My name is Bob Bob My name is BobBob My name is BobMy name is Bob Error My name is Bob Bob My name is BobBob My name is BobMy name is Bob Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP It is possible to create a hierarchy of namespaces in PHP. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$user = array("Ashley", "Bale", "Shrek", "Blank");for ($x=0; $x < count($user); $x++){if ($user[$x] == "Shrek")continue;printf ($user[$x]);} Shrek ShrekBlank AshleyBaleBlank AshleyBale Shrek ShrekBlank AshleyBaleBlank AshleyBale ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$a = 5;$b = 5;echo ($a === $b); 5 === 5 1 False Error 5 === 5 1 False Error 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 2 Error 1 1234 2 Error ANSWER DOWNLOAD EXAMIANS APP