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'

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 )

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

ANSWER DOWNLOAD EXAMIANS APP