PHP Arrays PHP’s numerically indexed array begin with position ______. 0 2 1 -1 0 2 1 -1 ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Which of the following are correct ways of creating an array?1. state[0] = “karnataka”;2. $state[] = array(“karnataka”);3. $state[0] = “karnataka”;4. $state = array(“karnataka”); 2, 3 and 4 Only 1 2 and 3 3 and 4 2, 3 and 4 Only 1 2 and 3 3 and 4 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 population karnataka 11,35,000 population 11,35,000 11,35,000 karnataka population karnataka 11,35,000 population 11,35,000 ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Which function will return true if a variable is an array or false if it is not? in_array() is_array() do_array() this_array() in_array() is_array() do_array() this_array() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Which in-built function will add a value to the end of an array? inend_array() array_unshift() array_push() into_array() inend_array() array_unshift() array_push() into_array() ANSWER DOWNLOAD EXAMIANS APP