PHP Arrays What will be the output of the following PHP code?$fruits = array ("apple", "orange", "banana");echo (next($fruits));echo (next($fruits)); appleapple appleorange orangeorange orangebanana appleapple appleorange orangeorange orangebanana 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. Integer, string String, Boolean Float, string Even number, string Positive number, negative number Integer, string String, Boolean Float, string Even number, string Positive number, negative number ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Which array function checks if the specified key exists in the array? arrays_key_exists() array_keys_exists() array_key_exist() array_key_exists() arrays_key_exists() array_keys_exists() array_key_exist() array_key_exists() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code ?$a = array(12, 5, 2);echo(array_product($a)); 024 060 010 120 024 060 010 120 ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What functions count elements in an array?1. count2. Sizeof3. Array_Count4. Count_array Option 3 and 4 Option 1 and 4 Option 2 and 4 Option 1 and 2 Option 3 and 4 Option 1 and 4 Option 2 and 4 Option 1 and 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$names = array("Sam", "Bob", "Jack");echo $names[0] . "is the brother of " . $names[1] . " and " . $names[1] . "."; Sam is the brother of Bob and Jack Error Sam is the brother of Bob and Bob) Sam is the brother of Jack and Bob) Sam is the brother of Bob and Jack Error Sam is the brother of Bob and Bob) Sam is the brother of Jack and Bob) ANSWER DOWNLOAD EXAMIANS APP