Basic PHP We can use _________ to comment a single line?1. /?2. //3. #4. /* */ 2, 3 and 4 1, 3 and 4 Only 2 Both 2 and 4 2, 3 and 4 1, 3 and 4 Only 2 Both 2 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP When a simple data type is casted to an array, an array is created with the original value in the first element. False True False True ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = "1";$num1 = "2";print $num+$num1; Error 1+2 12 3 Error 1+2 12 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP As the namespace size grows, using namespaces can become a little repetitious, but PHP also provides the . . . . . statement, which allows you to alias a specific namespace. label use php grant label use php grant ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Some PHP code might not have a namespace and therefore lives in the . . . . . . namespace. Default Global PRE Automatic Default Global PRE Automatic 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 and 2 1, 2 and 3 All of the mentioned None of the mentioned 1 and 2 1, 2 and 3 All of the mentioned None of the mentioned ANSWER DOWNLOAD EXAMIANS APP