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 4 All of the mentioned 1, 2 and 3 1 and 2 1, 2 and 4 All of the mentioned 1, 2 and 3 1 and 2 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(); 123 011 111 000 123 011 111 000 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP How does the identity operator === compare two values? It returns True only if they are both of the same type and value It converts both values to strings and compares them It bases its comparison on the C strcmp function exclusively If the two values are strings, it performs a lexical comparison 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 converts both values to strings and compares them It bases its comparison on the C strcmp function exclusively If the two values are strings, it performs a lexical comparison It converts them to a common compatible data type and then compares the resulting values ANSWER DOWNLOAD EXAMIANS APP
Basic PHP strval() Accepts a value and converts it into an string dictionary Accepts a value and converts it into a string array Accepts a value and converts it into string equivalent None of above Accepts a value and converts it into an string dictionary Accepts a value and converts it into a string array Accepts a value and converts it into string equivalent None of above ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Variables always start with a ........ in PHP Yen-sign Pond-sign Dollar-sign Euro-sign Yen-sign Pond-sign Dollar-sign Euro-sign ANSWER DOWNLOAD EXAMIANS APP
Basic PHP We can use _________ to comment a single line?1. /?2. //3. #4. /* */ Only 2 2, 3 and 4 1, 3 and 4 Both 2 and 4 Only 2 2, 3 and 4 1, 3 and 4 Both 2 and 4 ANSWER DOWNLOAD EXAMIANS APP