PHP Arrays Which function returns an array consisting of associative key/value pairs? array_count() count() array_count_values() count_values() array_count() count() array_count_values() count_values() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will the following script output?$array = array (1, 2, 3, 5, 8, 13, 21, 34, 55);$sum = 0;for ($i = 0; $i < 5; $i++) {$sum += $array[$array[$i]];}echo $sum; 19 78 NULL 5 19 78 NULL 5 ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code ?$array = array("red", "green");array_push($array, "blue", "yellow");print_r($array); Array ( [0] => blue [1] => yellow ) Array ( [0] => red [1] => green [2] => blue [3] => yellow ) Array ( [0] => blue [1] => yellow [2] => red [3] => green ) Array ( [0] => red [1] => green ) Array ( [0] => blue [1] => yellow ) Array ( [0] => red [1] => green [2] => blue [3] => yellow ) Array ( [0] => blue [1] => yellow [2] => red [3] => green ) Array ( [0] => red [1] => green ) 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"]; 11,35,000 karnataka 11,35,000 karnataka population population 11,35,000 11,35,000 karnataka 11,35,000 karnataka population population 11,35,000 ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What function computes the difference of arrays? arrays_diff diff_array diff_arrays array_diff arrays_diff diff_array diff_arrays array_diff 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. Even number, string Positive number, negative number Integer, string String, Boolean Float, string Even number, string Positive number, negative number Integer, string String, Boolean Float, string ANSWER DOWNLOAD EXAMIANS APP