What is the output of the following code?

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

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.