PHP Arrays PHP’s numerically indexed array begin with position ______. 1 0 -1 2 1 0 -1 2 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 3 and 4 2 and 3 Only 1 2, 3 and 4 3 and 4 2 and 3 Only 1 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"]; karnataka population karnataka 11,35,000 11,35,000 population 11,35,000 karnataka population karnataka 11,35,000 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? this_array() do_array() in_array() is_array() this_array() do_array() in_array() is_array() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Which in-built function will add a value to the end of an array? inend_array() into_array() array_unshift() array_push() inend_array() into_array() array_unshift() array_push() ANSWER DOWNLOAD EXAMIANS APP