Name

array_key_exists

Synopsis

bool array_key_exists(mixed key, array array)

Returns true if array contains a key with the value key. If no such key is available, returns false.

Get Programming PHP, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.