Basic PHP
What will be the output of the following code?
function track() {
static $count = 0;
$count++;
echo $count;
}
track();
track();
track();

123
000
011
111

ANSWER DOWNLOAD EXAMIANS APP

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
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

Basic PHP
strval()

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

ANSWER DOWNLOAD EXAMIANS APP