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 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 My name is Bob Bob ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? $_10 $10_somethings ${“MyVar”} &$something $aVaR $_10 $10_somethings ${“MyVar”} &$something $aVaR ANSWER DOWNLOAD EXAMIANS APP
Basic PHP All classes in the same namespace or subnamespace don’t have to the declared in the same PHP file. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following code?function track() {static $count = 0;$count++;echo $count;}track();track();track(); 000 011 111 123 000 011 111 123 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP considers the following values as False constant NULL both A and B the one-character string 0 All of Above the integer 0 constant NULL both A and B the one-character string 0 All of Above the integer 0 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