200-710 practice question 21 of 30

What is the output of the following code? class Foo Implements ArrayAccess { function offsetExists($k) { return true;} function offsetGet($k) {return 'a';} function offsetSet($k, $v) {} function offsetUnset($k) {} } $x = new Foo(); echo array_key_exists('foo', $x)?'true':'false';

Full set: 232 questions
Answer options
A: true
B: false Correct answer
Correct Answer:
B. false
Scroll to Top