Basic PHP
Which of the conditional statements is/are supported by PHP?
1. if statements
2. if-else statements
3. if-elseif statements
4. switch statements

1, 2 and 4
Only 1
2, 3 and 4
All of the mentioned.

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

ANSWER DOWNLOAD EXAMIANS APP

Basic PHP
strval()

None of above
Accepts a value and converts it into string equivalent
Accepts a value and converts it into a string array
Accepts a value and converts it into an string dictionary

ANSWER DOWNLOAD EXAMIANS APP