src/WPametu/Utility/IteratorWalker.php
public function key_search( array $array, $key, $value ) {
		foreach ( $array as $key => $a ) {
			if ( isset( $a[ $key ] ) && $a[ $key ] == $value ) {
				return $key;
			}
		}

		return false;
	}
public function key_search( array $array, $key, $value ) {
		foreach ( $array as $key => $a ) {
			if ( isset( $a[ $key ] ) && $a[ $key ] == $value ) {
				return $key;
			}
		}

		return false;
	}
public function key_search ( array $ array , $ key , $ value ) { foreach ( $ array as $ key => $ a ) { if ( isset ( $ a [ $ key ] ) && $ a [ $ key ] == $ value ) { return $ key ; } } return false ; }
Get index of array member with specified key

@param array $array
@param string $key
@param mixed $value

@return false|int|string
Get index of array member with specified key