note 9142 added to in_array

From: Date: Wed, 18 Oct 2000 17:32:56 +0000
Subject: note 9142 added to in_array
Groups: php.notes 
Request: Send a blank email to php-notes+get-6665@lists.php.net to get a copy of this message
To check if a keys exists, you can do this if (in_array("keyb",array_keys(array("key"=>"a","keyb"=>"b"))))) { ... } http://www.php.net/manual/function.in-array.php

« previous php.notes (#6665) next »