Basic PHP Which statement will output $x on the screen? echo “$$x”; echo “/$x”; echo “$x;”; echo “\$x”; echo “$$x”; echo “/$x”; echo “$x;”; echo “\$x”; 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 All of the mentioned. 2 and 3 2, 3 and 4 Only 2 All of the mentioned. 2 and 3 2, 3 and 4 Only 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$color = "maroon";$var = $color[2];echo "$var"; Error $var a r Error $var a r 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(); 111 011 000 123 111 011 000 123 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP String values must be enclosed in ...... none of above single quotes both A and B double quotes none of above single quotes both A and B double quotes 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 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 bases its comparison on the C strcmp function exclusively It returns True only if they are both of the same type and value It converts both values to strings and compares them 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 bases its comparison on the C strcmp function exclusively ANSWER DOWNLOAD EXAMIANS APP