note 17759 deleted from function.array-key-exists by jimw
| From: | jimw@php.net | Date: | Wed, 02 Jan 2002 00:44:46 +0000 |
| Subject: | note 17759 deleted from function.array-key-exists by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-24056@lists.php.net to get a copy of this message | ||
A possible solution for php 4.0.6 users could be:<br>
$array = ("secure" => "https://",
"normal" => "http://");
$keys = array_keys ($array);
if(in_array("secure", $keys)) {
return true;
}