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 BobMy name is Bob Error My name is Bob Bob My name is BobBob My name is BobMy name is Bob Error My name is Bob Bob ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the looping statements is/are supported by PHP?1. for loop2. while loop3. do-while loop4. foreach loop 1 and 2 None of the mentioned All of the mentioned 1, 2 and 3 1 and 2 None of the mentioned All of the mentioned 1, 2 and 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP We can use _________ to comment a single line?1. /?2. //3. #4. /* */ 2, 3 and 4 Both 2 and 4 Only 2 1, 3 and 4 2, 3 and 4 Both 2 and 4 Only 2 1, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$color = "maroon";$var = $color[2];echo "$var"; Error a r $var Error a r $var ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP does not support numbers written in hexadecimal, octal or scientific notation. True False True False ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What is the limit of a PHP integer value? 16384 1048576 2147483647 65536 16384 1048576 2147483647 65536 ANSWER DOWNLOAD EXAMIANS APP