PHP Arrays
What elements will the following script output?
$array = array (true => 'a', 1 => 'b');
var_dump ($array);

True => 'a', 1 => 'b'
It will output NULL
None
1 => 'b'

ANSWER DOWNLOAD EXAMIANS APP

PHP Arrays
What will be the output of the following PHP code ?
$array = array("red", "green");
array_push($array, "blue", "yellow");
print_r($array);

Array ( [0] => blue [1] => yellow [2] => red [3] => green )
Array ( [0] => red [1] => green [2] => blue [3] => yellow )
Array ( [0] => blue [1] => yellow )
Array ( [0] => red [1] => green )

ANSWER DOWNLOAD EXAMIANS APP