Basic PHP If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed? 5 12 Error 1 5 12 Error 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Some PHP code might not have a namespace and therefore lives in the . . . . . . namespace. PRE Global Automatic Default PRE Global Automatic Default ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is/are a PHP code editor?1. Notepad2. Notepad++3. Adobe Dreamweaver4. PDT Only 3 All of the mentioned Only 4 1, 2 and 3 Only 3 All of the mentioned Only 4 1, 2 and 3 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”); All of the mentioned 1 and 2 1, 2 and 4 1, 2 and 3 All of the mentioned 1 and 2 1, 2 and 4 1, 2 and 3 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 them to a common compatible data type and then compares the resulting values It bases its comparison on the C strcmp function exclusively It converts both values to strings and compares them If the two values are strings, it performs a lexical comparison It returns True only if they are both of the same type and value 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 converts both values to strings and compares them If the two values are strings, it performs a lexical comparison ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following php statement/statements will store 111 in variable num?1. int $num = 111;2. int mum = 111;3. $num = 111;4. 111 = $num; Both 1 and 2 Only 1 All of the mentioned Only 3 Both 1 and 2 Only 1 All of the mentioned Only 3 ANSWER DOWNLOAD EXAMIANS APP