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 BobMy name is Bob My name is BobBob Error My name is Bob Bob My name is BobMy name is Bob My name is BobBob ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Who is the father of PHP? List Barely Drek Kolkevi Rasmus Lerdorf Willam Makepiece List Barely Drek Kolkevi Rasmus Lerdorf Willam Makepiece ANSWER DOWNLOAD EXAMIANS APP
Basic PHP We can use _________ to comment a single line?1. /?2. //3. #4. /* */ Both 2 and 4 2, 3 and 4 1, 3 and 4 Only 2 Both 2 and 4 2, 3 and 4 1, 3 and 4 Only 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below symbols is a newline character? /n /r \r \n /n /r \r \n 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 . . . . . . gibberish value an empty string NULL 0 gibberish value an empty string NULL 0 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This 2, 3 and 4 Only 2 All of the mentioned 2 and 4 2, 3 and 4 Only 2 All of the mentioned 2 and 4 ANSWER DOWNLOAD EXAMIANS APP