Basic PHP Which of the looping statements is/are supported by PHP?1. for loop2. while loop3. do-while loop4. foreach loop None of the mentioned 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 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the conditional statements is/are supported by PHP?1. if statements2. if-else statements3. if-elseif statements4. switch statements 1, 2 and 4 All of the mentioned. 2, 3 and 4 Only 1 1, 2 and 4 All of the mentioned. 2, 3 and 4 Only 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Assigning the empty string (like ' ') to a variable automatically renders it empty. False True False True 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
Basic PHP What will be the output of the following code?function track() {static $count = 0;$count++;echo $count;}track();track();track(); 011 000 111 123 011 000 111 123 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This 2, 3 and 4 All of the mentioned 2 and 4 Only 2 2, 3 and 4 All of the mentioned 2 and 4 Only 2 ANSWER DOWNLOAD EXAMIANS APP