Basic PHP What does PHP stand for?1. Personal Home Page2. Hypertext Preprocessor3. Pretext Hypertext Processor4. Preprocessor Home Page Only 2 Both 1 and 3 Both 2 and 4 Both 1 and 2 Only 2 Both 1 and 3 Both 2 and 4 Both 1 and 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; 2 1 1234 Error 2 1 1234 Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$total = "25 students";$more = 10;$total = $total + $more;echo "$total"; 35 Error 25 students 35 students 35 Error 25 students 35 students 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 gibberish value an empty string 0 NULL gibberish value an empty string 0 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add + $add + 1 $add = $add + 1 $add = $add +$add $add = $add $add = $add + $add + 1 $add = $add + 1 $add = $add +$add $add = $add 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 BobBob 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 ANSWER DOWNLOAD EXAMIANS APP