Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; 1 Error 1234 2 1 Error 1234 2 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]);} AshleyBale ShrekBlank Shrek AshleyBaleBlank AshleyBale ShrekBlank Shrek AshleyBaleBlank ANSWER DOWNLOAD EXAMIANS APP
Basic PHP The value of __NAMESPACE__ is a string that contains the current namespace name. In global, un-namespaced code, it contains . . . . . . NULL an empty string gibberish value 0 NULL an empty string gibberish value 0 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This 2, 3 and 4 Only 2 All of the mentioned 2 and 4 2, 3 and 4 Only 2 All of the mentioned 2 and 4 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 Error My name is BobMy name is Bob My name is BobBob My name is Bob Bob Error My name is BobMy name is Bob My name is BobBob ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = "1";$num1 = "2";print $num+$num1; 12 1+2 3 Error 12 1+2 3 Error ANSWER DOWNLOAD EXAMIANS APP