New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Zend PHP 5 Certification 200-500 Question # 34 Topic 4 Discussion

Zend PHP 5 Certification 200-500 Question # 34 Topic 4 Discussion

200-500 Exam Topic 4 Question 34 Discussion:
Question #: 34
Topic #: 4

Which is the most efficient way to determine if a key is present in an array,assuming the array has no NULL values?


A.

in_array('key', array_keys($a))


B.

isset($a['key'])


C.

array_key_exists('key', $a)


D.

None of the above


Get Premium 200-500 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.