note 36472 deleted from function.array-key-exists by aidan

From: Date: Wed, 04 Aug 2004 08:15:44 +0000
Subject: note 36472 deleted from function.array-key-exists by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-73901@lists.php.net to get a copy of this message
Note Submitter: jeff@procata.com ---- In PHP 4.1.2, passing a NULL for the first parameter will result in an error: Wrong datatype for first argument in call to array_key_exists By 4.3.2 this message has been removed. use short circuit operators to emulate the more current behavior under older versions of PHP: (is_null($key) || !array_key_exists($key, $search))

« previous php.notes (#73901) next »