What is the output of the following code?
$a= array(‘a’, ‘b’=>’c’);
echo property_exists((object) $a, ‘a’)?’true’:’false’;
echo’-‘;
echo property_exists((object) $a, ‘b’)?’true’:’false’;
A . false-false
B . false-true
C . true-false
D . true-true
Answer: B