Basic PHP
Which statement will output $x on the screen?

echo “/$x”;
echo “\$x”;
echo “$x;”;
echo “$$x”;

ANSWER DOWNLOAD EXAMIANS APP

Basic PHP
Under what circumstance is it impossible to assign a default value to a parameter while declaring a function?

Never
When the parameter is Boolean
When the function contains only one parameter
When the parameter is being declared as passed by reference
When the function is being declared as a member of a class

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 converts both values to strings and compares them
If the two values are strings, it performs a lexical comparison
It bases its comparison on the C strcmp function exclusively

ANSWER DOWNLOAD EXAMIANS APP