Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add + 1 $add = $add +$add $add = $add + $add + 1 $add = $add $add = $add + 1 $add = $add +$add $add = $add + $add + 1 $add = $add ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the conditional statements is/are supported by PHP?1. if statements2. if-else statements3. if-elseif statements4. switch statements Only 1 All of the mentioned. 2, 3 and 4 1, 2 and 4 Only 1 All of the mentioned. 2, 3 and 4 1, 2 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP strval() 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 Accepts a value and converts it into a string array Accepts a value and converts it into an string dictionary None of above ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = "1";$num1 = "2";print $num+$num1; Error 3 1+2 12 Error 3 1+2 12 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the looping statements is/are supported by PHP?1. for loop2. while loop3. do-while loop4. foreach loop 1, 2 and 3 All of the mentioned None of the mentioned 1 and 2 1, 2 and 3 All of the mentioned None of the mentioned 1 and 2 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 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