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 We can use _________ to comment a single line?1. /?2. //3. #4. /* */ 2, 3 and 4 Both 2 and 4 1, 3 and 4 Only 2 2, 3 and 4 Both 2 and 4 1, 3 and 4 Only 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Variables always start with a ........ in PHP Pond-sign Dollar-sign Yen-sign Euro-sign Pond-sign Dollar-sign Yen-sign Euro-sign 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 Which of the following is/are a PHP code editor?1. Notepad2. Notepad++3. Adobe Dreamweaver4. PDT All of the mentioned Only 3 Only 4 1, 2 and 3 All of the mentioned Only 3 Only 4 1, 2 and 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP If you echo a Boolean variable, the value FALSE displays as a .... and the value TRUE echoes as a ..... blank string, 2 0, 1 blank string, 1 empty variable, 1 blank string, 2 0, 1 blank string, 1 empty variable, 1 ANSWER DOWNLOAD EXAMIANS APP