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 String values must be enclosed in ...... none of above double quotes single quotes both A and B none of above double quotes single quotes both A and B ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Under what circumstance is it impossible to assign a default value to a parameter while declaring a function? Never When the parameter is being declared as passed by reference When the parameter is Boolean When the function is being declared as a member of a class When the function contains only one parameter Never When the parameter is being declared as passed by reference When the parameter is Boolean When the function is being declared as a member of a class When the function contains only one parameter 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 ..... 0, 1 blank string, 1 empty variable, 1 blank string, 2 0, 1 blank string, 1 empty variable, 1 blank string, 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? $aVaR $_10 &$something ${“MyVar”} $10_somethings $aVaR $_10 &$something ${“MyVar”} $10_somethings ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$user = array("Ashley", "Bale", "Shrek", "Blank");for ($x=0; $x < count($user); $x++){if ($user[$x] == "Shrek")continue;printf ($user[$x]);} AshleyBale AshleyBaleBlank ShrekBlank Shrek AshleyBale AshleyBaleBlank ShrekBlank Shrek ANSWER DOWNLOAD EXAMIANS APP