What elements will the following script output?
$array = array (true => 'a', 1 => 'b'); var_dump ($array);
This question tries to attract your attention to a problem that doesn’t bear on its answer. The $array array will contain only one element, since true evaluates to the integer 1.