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 PHP considers the following values as False the integer 0 All of Above both A and B the one-character string 0 constant NULL the integer 0 All of Above both A and B the one-character string 0 constant NULL 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; 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 Under what circumstance is it impossible to assign a default value to a parameter while declaring a function? When the parameter is Boolean When the function is being declared as a member of a class When the parameter is being declared as passed by reference When the function contains only one parameter Never When the parameter is Boolean When the function is being declared as a member of a class When the parameter is being declared as passed by reference When the function contains only one parameter Never ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = "1";$num1 = "2";print $num+$num1; 3 Error 1+2 12 3 Error 1+2 12 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following must be installed on your computer so as to run PHP script?1. Adobe Dreamweaver2. PHP3. Apache4. IIS 2 and 3 Only 2 All of the mentioned. 2, 3 and 4 2 and 3 Only 2 All of the mentioned. 2, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP