PHP Arrays What elements will the following script output?$array = array (true => 'a', 1 => 'b');var_dump ($array); It will output NULL True => 'a', 1 => 'b' None 1 => 'b' It will output NULL True => 'a', 1 => 'b' None 1 => 'b' ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$a1 = array("a"=>"red", "b"=>"green", "c"=>"blue", "d"=>"yellow");$a2 = array("e"=>"red", "f"=>"green", "g"=>"blue");$result = array_diff($a1, $a2);print_r($result); Array ( [e] => yellow ) Array ( [c] => blue ) Array ( [d] => yellow ) Array ( [a] => red ) Array ( [e] => yellow ) Array ( [c] => blue ) Array ( [d] => yellow ) Array ( [a] => red ) ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code ?$a = array("a" => "Jaguar", "b" => "Land Rover", "c" => "Audi", "d" => "Maseratti");echo array_search("Audi", $a); a c b d a c b d 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) Array ( [0] => LA [1] => Paris [2] => Paris ) Array ( [0] => NYC [1] => LA [2] => Paris [3] => Paris ) None of the mentioned Array ( [0] => NYC [1] => LA [2] => Paris) Array ( [0] => LA [1] => Paris [2] => Paris ) Array ( [0] => NYC [1] => LA [2] => Paris [3] => Paris ) ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays PHP’s numerically indexed array begin with position ______. 2 -1 0 1 2 -1 0 1 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 object as the Key elements An array with properties of that array as the object's 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 object as the Key elements An array with properties of that array as the object's elements An array with keys of that object as the array's elements ANSWER DOWNLOAD EXAMIANS APP