Basic PHP What will be the output of the following code?function track() {static $count = 0;$count++;echo $count;}track();track();track(); 000 011 123 111 000 011 123 111 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 Never When the function contains only one parameter When the parameter is being declared as passed by reference When the function is being declared as a member of a class When the parameter is Boolean Never When the function contains only one parameter When the parameter is being declared as passed by reference When the function is being declared as a member of a class ANSWER DOWNLOAD EXAMIANS APP
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 1 and 2 All of the mentioned None of the mentioned 1, 2 and 3 1 and 2 All of the mentioned None of the mentioned 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 All of the mentioned. Only 2 2, 3 and 4 2 and 3 All of the mentioned. Only 2 2, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$a = "clue";$a .= "get";echo "$a"; clueget get false true clueget get false true ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$num = 10;echo 'What is her age? \n She is $num years old'; What is her age?n She is 10 years old What is her age? She is 10 years old What is her age? She is $num years old What is her age? n She is $num years old What is her age?n She is 10 years old What is her age? She is 10 years old What is her age? She is $num years old What is her age? n She is $num years old ANSWER DOWNLOAD EXAMIANS APP