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, BMW and Toyota I like Volvo, Toyota and BMW I like BMW, Volvo and Toyota I like Toyota, BMW and Volvo I like Volvo, BMW and Toyota I like Volvo, Toyota and BMW I like BMW, Volvo and Toyota I like Toyota, BMW and Volvo ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Which function can be used to move the pointer to the previous array position? previous() before() prev() last() previous() before() prev() last() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code ?$age = array("Harry" => "21", "Ron" => "23","Malfoy" => "21");array_change_key_case($age, CASE_UPPER);array_pop($age);print_r($age); Array ( [Harry] => 21 [Ron] => 23 [Malfoy] => 21 ) Array ( [HARRY] => 21 [RON] => 23 ) Array ( [Harry] => 21 [Ron] => 23 ) Array ( [HARRY] => 21 [RON] => 23 [MALFOY] => 21 ) Array ( [Harry] => 21 [Ron] => 23 [Malfoy] => 21 ) Array ( [HARRY] => 21 [RON] => 23 ) Array ( [Harry] => 21 [Ron] => 23 ) Array ( [HARRY] => 21 [RON] => 23 [MALFOY] => 21 ) ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What array will you get if you convert an object to an array? An array with properties of that array as the object's elements An array with keys of that object as the array's elements An array with properties of that object as the array's elements An array with properties of that object as the Key elements An array with properties of that array as the object's elements An array with keys of that object as the array's elements An array with properties of that object as the array's elements An array with properties of that object as the Key elements ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What function computes the difference of arrays? diff_array array_diff diff_arrays arrays_diff diff_array array_diff diff_arrays arrays_diff ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code ?$people = array("Peter", "Susan", "Edmund", "Lucy");echo pos($people); Edmund Susan Peter Lucy Edmund Susan Peter Lucy ANSWER DOWNLOAD EXAMIANS APP