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 BobBob My name is Bob Bob My name is BobMy name is Bob Error My name is BobBob My name is Bob Bob My name is BobMy name is Bob ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What does PHP stand for?1. Personal Home Page2. Hypertext Preprocessor3. Pretext Hypertext Processor4. Preprocessor Home Page Both 2 and 4 Both 1 and 3 Only 2 Both 1 and 2 Both 2 and 4 Both 1 and 3 Only 2 Both 1 and 2 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"; 25 students 35 Error 35 students 25 students 35 Error 35 students 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 1, 2 and 4 Only 1 All of the mentioned. 2, 3 and 4 1, 2 and 4 Only 1 All of the mentioned. 2, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP strval() Accepts a value and converts it into string equivalent None of above Accepts a value and converts it into a string array Accepts a value and converts it into an string dictionary Accepts a value and converts it into string equivalent None of above Accepts a value and converts it into a string array Accepts a value and converts it into an string dictionary ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add + 1 $add = $add +$add $add = $add + $add + 1 $add = $add $add = $add + 1 $add = $add +$add $add = $add + $add + 1 $add = $add ANSWER DOWNLOAD EXAMIANS APP