Basic PHP What will be the output of the following code?function track() {static $count = 0;$count++;echo $count;}track();track();track(); 111 000 011 123 111 000 011 123 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 function contains only one parameter 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 Never When the function contains only one parameter 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 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP It is possible to create a hierarchy of namespaces in PHP. TRUE FALSE TRUE FALSE 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 We can use _________ to comment a single line?1. /?2. //3. #4. /* */ Both 2 and 4 Only 2 1, 3 and 4 2, 3 and 4 Both 2 and 4 Only 2 1, 3 and 4 2, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP With the introduction of namespaces, the same function name can be used in multiple places. FALSE TRUE FALSE TRUE ANSWER DOWNLOAD EXAMIANS APP