PHP Arrays What will be the output of the following PHP code?$names = array("Sam", "Bob", "Jack");echo $names[0] . "is the brother of " . $names[1] . " and " . $names[1] . "."; Sam is the brother of Bob and Jack Error Sam is the brother of Jack and Bob) Sam is the brother of Bob and Bob) Sam is the brother of Bob and Jack Error Sam is the brother of Jack and Bob) Sam is the brother of Bob and Bob) ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays There are three different kind of arrays: Numeric array, Associative array, Multidimensional array Numeric array, String array, Multidimensional array Numeric array, Associative array, Dimensional array Const array, Associative array, Multidimensional array Numeric array, Associative array, Multidimensional array Numeric array, String array, Multidimensional array Numeric array, Associative array, Dimensional array Const array, Associative array, Multidimensional array ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Which array function checks if the specified key exists in the array? array_key_exist() arrays_key_exists() array_key_exists() array_keys_exists() array_key_exist() arrays_key_exists() array_key_exists() array_keys_exists() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays PHP’s numerically indexed array begin with position ______. 1 0 -1 2 1 0 -1 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$a = array("A", "Cat", "Dog", "A", "Dog");print_r(array_count_values($a)); Array ( [A] => 1 [Cat] => 1 [Dog] => 2 ) Array ( [A] => 2 [Cat] => 1 [Dog] => 2 ) Array ( [A] => 2 [Cat] => 1 [Dog] => 1) Array ( [A] => 2 [Cat] => 2 [Dog] => 1 ) Array ( [A] => 1 [Cat] => 1 [Dog] => 2 ) Array ( [A] => 2 [Cat] => 1 [Dog] => 2 ) Array ( [A] => 2 [Cat] => 1 [Dog] => 1) Array ( [A] => 2 [Cat] => 2 [Dog] => 1 ) 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() do_array() is_array() this_array() in_array() do_array() is_array() this_array() ANSWER DOWNLOAD EXAMIANS APP