Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; 1234 2 Error 1 1234 2 Error 1 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; Error 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 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add $add = $add + 1 $add = $add + $add + 1 $add = $add +$add $add = $add $add = $add + 1 $add = $add + $add + 1 $add = $add +$add 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 . . . . . . 0 gibberish value NULL an empty string 0 gibberish value NULL an empty string ANSWER DOWNLOAD EXAMIANS APP
Basic PHP As the namespace size grows, using namespaces can become a little repetitious, but PHP also provides the . . . . . statement, which allows you to alias a specific namespace. grant php label use grant php label use ANSWER DOWNLOAD EXAMIANS APP