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 123 000 011 111 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP We can use _________ to comment a single line?1. /?2. //3. #4. /* */ Both 2 and 4 2, 3 and 4 1, 3 and 4 Only 2 Both 2 and 4 2, 3 and 4 1, 3 and 4 Only 2 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 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 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
Basic PHP PHP runs on different platforms (Windows, Linux, Unix, etc.) True False True False ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add $add = $add +$add $add = $add + $add + 1 $add = $add + 1 $add = $add $add = $add +$add $add = $add + $add + 1 $add = $add + 1 ANSWER DOWNLOAD EXAMIANS APP