Basic PHP Which of the looping statements is/are supported by PHP?1. for loop2. while loop3. do-while loop4. foreach loop 1, 2 and 3 None of the mentioned All of the mentioned 1 and 2 1, 2 and 3 None of the mentioned All of the mentioned 1 and 2 ANSWER DOWNLOAD EXAMIANS APP
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 Which of the following is not valid PHP code? $10_somethings ${“MyVar”} $_10 &$something $aVaR $10_somethings ${“MyVar”} $_10 &$something $aVaR 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 . . . . . . an empty string 0 NULL gibberish value an empty string 0 NULL gibberish value 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 As the namespace size grows, using namespaces can become a little repetitious, but PHP also provides the . . . . . statement, which allows you to alias a specific namespace. grant php use label grant php use label ANSWER DOWNLOAD EXAMIANS APP