PHP Arrays What will be the output of the following PHP code?$cars = array("Volvo", "BMW", "Toyota");echo "I like " . $cars[2] . ", " . $cars[1] . " and " . $cars[0] . "."; I like Volvo, Toyota and BMW I like Toyota, BMW and Volvo I like BMW, Volvo and Toyota I like Volvo, BMW and Toyota I like Volvo, Toyota and BMW I like Toyota, BMW and Volvo I like BMW, Volvo and Toyota I like Volvo, BMW and Toyota 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 Positive number, negative number Float, string Even number, string String, Boolean Integer, string Positive number, negative number Float, string Even number, string String, Boolean ANSWER DOWNLOAD EXAMIANS APP
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 What will be the output of the following PHP code ?$a = array("a" => "Jaguar", "b" => "Land Rover", "c" => "Audi", "d" => "Maseratti");echo array_search("Audi", $a); a c d b a c d b ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Which array function checks if the specified key exists in the array? array_keys_exists() array_key_exists() array_key_exist() arrays_key_exists() array_keys_exists() array_key_exists() array_key_exist() arrays_key_exists() 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? krsort() ksort() sort() usort() asort() krsort() ksort() sort() usort() asort() ANSWER DOWNLOAD EXAMIANS APP