PHP Arrays What will be the output of the following PHP code ?$a = array(12, 5, 2);echo(array_product($a)); 024 120 060 010 024 120 060 010 ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Assume you would like to sort an array in ascending order by value while preserving key associations. Which of the following PHP sorting functions would you use? ksort() usort() asort() sort() krsort() ksort() usort() asort() sort() krsort() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What functions count elements in an array?1. count2. Sizeof3. Array_Count4. Count_array Option 2 and 4 Option 1 and 2 Option 3 and 4 Option 1 and 4 Option 2 and 4 Option 1 and 2 Option 3 and 4 Option 1 and 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$fruits = array ("mango", "apple", "pear", "peach");$fruits = array_flip($fruits);echo ($fruits[0]); peach error 0 mango peach error 0 mango ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Which in-built function will add a value to the end of an array? inend_array() array_unshift() into_array() array_push() inend_array() array_unshift() into_array() array_push() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Array values are keyed by ______ values (called indexed arrays) or using ______ values (called associative arrays). Of course, these key methods can be combined as well. String, Boolean Even number, string Integer, string Float, string Positive number, negative number String, Boolean Even number, string Integer, string Float, string Positive number, negative number ANSWER DOWNLOAD EXAMIANS APP