Basic PHP How does the identity operator === compare two values? 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 If the two values are strings, it performs a lexical comparison It converts both values to strings and compares them It bases its comparison on the C strcmp function exclusively 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 If the two values are strings, it performs a lexical comparison It converts both values to strings and compares them It bases its comparison on the C strcmp function exclusively ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? $10_somethings ${“MyVar”} &$something $aVaR $_10 $10_somethings ${“MyVar”} &$something $aVaR $_10 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 and 2 1, 2 and 4 All of the mentioned 1, 2 and 3 1 and 2 1, 2 and 4 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 2 and 4 Both 1 and 3 Only 2 Both 1 and 2 Both 2 and 4 Both 1 and 3 Only 2 Both 1 and 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following code?$foo = 'Bob';$bar = &$foo;$bar = "My name is $bar";echo $bar;echo $foo; My name is BobMy name is Bob Error My name is Bob Bob My name is BobBob My name is BobMy name is Bob Error My name is Bob Bob My name is BobBob ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This 2, 3 and 4 All of the mentioned Only 2 2 and 4 2, 3 and 4 All of the mentioned Only 2 2 and 4 ANSWER DOWNLOAD EXAMIANS APP