Basic PHP What will be the output of the following php code?$num = "1";$num1 = "2";print $num+$num1; 1+2 Error 3 12 1+2 Error 3 12 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 2, 3 and 4 Only 2 All of the mentioned. 2 and 3 2, 3 and 4 Only 2 All of the mentioned. ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What does PHP stand for?1. Personal Home Page2. Hypertext Preprocessor3. Pretext Hypertext Processor4. Preprocessor Home Page Both 1 and 3 Only 2 Both 1 and 2 Both 2 and 4 Both 1 and 3 Only 2 Both 1 and 2 Both 2 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Some PHP code might not have a namespace and therefore lives in the . . . . . . namespace. Global Automatic PRE Default Global Automatic PRE Default ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$total = "25 students";$more = 10;$total = $total + $more;echo "$total"; 35 students Error 35 25 students 35 students Error 35 25 students ANSWER DOWNLOAD EXAMIANS APP
Basic PHP How does the identity operator === compare two values? It converts both values to strings and compares them It converts them to a common compatible data type and then compares the resulting values It bases its comparison on the C strcmp function exclusively It returns True only if they are both of the same type and value If the two values are strings, it performs a lexical comparison It converts both values to strings and compares them It converts them to a common compatible data type and then compares the resulting values It bases its comparison on the C strcmp function exclusively It returns True only if they are both of the same type and value If the two values are strings, it performs a lexical comparison ANSWER DOWNLOAD EXAMIANS APP