Basic PHP We can use _________ to comment a single line?1. /?2. //3. #4. /* */ Both 2 and 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 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which version of PHP introduced Try/catch Exception? PHP 6 PHP 4 PHP 5 PHP 5.3 PHP 6 PHP 4 PHP 5 PHP 5.3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed? 5 Error 1 12 5 Error 1 12 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following PHP statements will output Hello World on the screen?1. echo (“Hello World”);2. print (“Hello World”);3. printf (“Hello World”);4. sprintf (“Hello World”); 1, 2 and 3 1, 2 and 4 All of the mentioned 1 and 2 1, 2 and 3 1, 2 and 4 All of the mentioned 1 and 2 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 Both 1 and 2 Both 2 and 4 Only 2 Both 1 and 3 Both 1 and 2 Both 2 and 4 Only 2 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 returns True only if they are both of the same type and value It bases its comparison on the C strcmp function exclusively 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 returns True only if they are both of the same type and value It bases its comparison on the C strcmp function exclusively If the two values are strings, it performs a lexical comparison ANSWER DOWNLOAD EXAMIANS APP