note 16817 deleted from function.in-array by jimw

From: Date: Fri, 07 Dec 2001 21:08:46 +0000
Subject: note 16817 deleted from function.in-array by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-21982@lists.php.net to get a copy of this message
Perhaps I'm wrong, but I'm finding that a simple 'isset' works just fine when checking for a key in a multidimensional array, even if the key is in another multidimensional array: if (isset($arr1[$subarr1][$subarr1-1][($arr2[$subarr2][$subarr2-1])]) { ...do... } 'in_array' wouldn't work for me in this case...

« previous php.notes (#21982) next »