Basic PHP What will be the output of the following PHP code?$user = array("Ashley", "Bale", "Shrek", "Blank");for ($x=0; $x < count($user); $x++){if ($user[$x] == "Shrek")continue;printf ($user[$x]);} AshleyBaleBlank Shrek AshleyBale ShrekBlank AshleyBaleBlank Shrek AshleyBale ShrekBlank ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP ..... demand that you declare a data type when you create a variable. does does not does does not ANSWER DOWNLOAD EXAMIANS APP
Basic PHP How does the identity operator === compare two values? It bases its comparison on the C strcmp function exclusively It returns True only if they are both of the same type and value 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 bases its comparison on the C strcmp function exclusively It returns True only if they are both of the same type and value 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 Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This 2 and 4 Only 2 All of the mentioned 2, 3 and 4 2 and 4 Only 2 All of the mentioned 2, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
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 following PHP statements will output Hello World on the screen?1. echo (“Hello World”);2. print (“Hello World”);3. printf (“Hello World”);4. sprintf (“Hello World”); 1 and 2 1, 2 and 4 All of the mentioned 1, 2 and 3 1 and 2 1, 2 and 4 All of the mentioned 1, 2 and 3 ANSWER DOWNLOAD EXAMIANS APP