CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 65: 200-550: Zend Certified PHP Engineer

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';

Nội dung câu hỏi

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';

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. true
  2. B. false — đáp án hiện tại

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề