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. Positive number, negative number Float, string Integer, string Even number, string String, Boolean Positive number, negative number Float, string Integer, string Even number, string String, Boolean 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 ( 35 37 43 ) Array ( [35] => Peter [37] => Ben [43] => Joe ) Array ( Peter Ben Joe ) Array ( [Peter] => 35 [Ben] => 37 [Joe] => 43 ) Array ( 35 37 43 ) Array ( [35] => Peter [37] => Ben [43] => Joe ) Array ( Peter Ben Joe ) Array ( [Peter] => 35 [Ben] => 37 [Joe] => 43 ) ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$a = array("a"=>"red", "b"=>"green", "c"=>"blue");echo array_shift($a);print_r ($a); none of the mentioned blue green red none of the mentioned blue green red ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What elements will the following script output?$array = array (true => 'a', 1 => 'b');var_dump ($array); True => 'a', 1 => 'b' None It will output NULL 1 => 'b' True => 'a', 1 => 'b' None It will output NULL 1 => 'b' ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$place = array("NYC", "LA", "Paris");array_pop($place);$place1 = array("Paris");$place = array_merge($place, $place1);print_r($place); None of the mentioned Array ( [0] => NYC [1] => LA [2] => Paris [3] => Paris ) Array ( [0] => NYC [1] => LA [2] => Paris) Array ( [0] => LA [1] => Paris [2] => Paris ) None of the mentioned Array ( [0] => NYC [1] => LA [2] => Paris [3] => Paris ) Array ( [0] => NYC [1] => LA [2] => Paris) Array ( [0] => LA [1] => Paris [2] => Paris ) ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$fruits = array ("apple", "orange", "banana");echo (next($fruits));echo (next($fruits)); orangeorange orangebanana appleorange appleapple orangeorange orangebanana appleorange appleapple ANSWER DOWNLOAD EXAMIANS APP