PHP Arrays What will be the output of the following PHP code ?$a = array(12, 5, 2);echo(array_product($a)); 024 060 010 120 024 060 010 120 ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$fname = array("Peter", "Ben", "Joe");$age = array("35", "37", "43");$c = array_combine($age, $fname);print_r($c); Array ( Peter Ben Joe ) Array ( [35] => Peter [37] => Ben [43] => Joe ) Array ( 35 37 43 ) Array ( [Peter] => 35 [Ben] => 37 [Joe] => 43 ) Array ( Peter Ben Joe ) Array ( [35] => Peter [37] => Ben [43] => Joe ) Array ( 35 37 43 ) Array ( [Peter] => 35 [Ben] => 37 [Joe] => 43 ) ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$state = array ("Karnataka", "Goa", "Tamil Nadu", "Andhra Pradesh");echo (array_search ("Tamil Nadu", $state) ); False 2 1 True False 2 1 True 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”); 3 and 4 Only 1 2, 3 and 4 2 and 3 3 and 4 Only 1 2, 3 and 4 2 and 3 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 object as the array's elements An array with properties of that array as the object's elements An array with properties of that object as the Key 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 array as the object's elements An array with properties of that object as the Key elements An array with keys of that object as the array's elements ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays There are three different kind of arrays: Numeric array, String array, Multidimensional array Numeric array, Associative array, Multidimensional array Const array, Associative array, Multidimensional array Numeric array, Associative array, Dimensional array Numeric array, String array, Multidimensional array Numeric array, Associative array, Multidimensional array Const array, Associative array, Multidimensional array Numeric array, Associative array, Dimensional array ANSWER DOWNLOAD EXAMIANS APP