PHP Arrays Which function can be used to move the pointer to the previous array position? prev() last() before() previous() prev() last() before() previous() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Which function returns an array consisting of associative key/value pairs? count() count_values() array_count_values() array_count() count() count_values() array_count_values() array_count() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following php code?$states = array("karnataka" => array( "population" => "11,35,000", "captial" => "Bangalore"),"Tamil Nadu" => array( "population" => "17,90,000","captial" => "Chennai") );echo $states["karnataka"]["population"]; population 11,35,000 karnataka 11,35,000 karnataka population 11,35,000 population 11,35,000 karnataka 11,35,000 karnataka population 11,35,000 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)); orangebanana orangeorange appleorange appleapple orangebanana orangeorange appleorange appleapple ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$a1 = array("a" => "red", "b" => "green", "c" => "blue", "d" => "yellow");$a2 = array("e" => "red", "f" => "green", "g" => "blue", "h" => "orange");$a3 = array("i" => "orange");$a4 = array_combine($a2, $a3);$result = array_diff($a4, $a2);print_r($result); Array ( [d] => yellow [h] => orange ) Array ( [d] => yellow ) Array ( [i] => orange ) Array ( [h] => orange ) Array ( [d] => yellow [h] => orange ) Array ( [d] => yellow ) Array ( [i] => orange ) Array ( [h] => orange ) ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$number = array ("4", "hello", 2);echo (array_sum ($number)); 4 6 2 4hello2 4 6 2 4hello2 ANSWER DOWNLOAD EXAMIANS APP