Q. What is the result of the following PHP code?
Code:
<?php
$array = array (true => 'a', 1 => 'b');
var_dump ($array);
?>
β
Correct Answer: (B)
1 => ‘b’
<?php
$array = array (true => 'a', 1 => 'b');
var_dump ($array);
?>
You must be Logged in to update hint/solution