src/Csv.php
private function isAssoc($array) {
	$allIntegerKeys = true;
	foreach ($array as $key => $value) {
		if(!is_integer($key)) {
			$allIntegerKeys = false;
			break;
		}
	}

	return $allIntegerKeys === false;
}
private function isAssoc($array) {
	$allIntegerKeys = true;
	foreach ($array as $key => $value) {
		if(!is_integer($key)) {
			$allIntegerKeys = false;
			break;
		}
	}

	return $allIntegerKeys === false;
}
private function isAssoc ( $ array ) { $ allIntegerKeys = true ; foreach ( $ array as $ key => $ value ) { if ( ! is_integer ( $ key ) ) { $ allIntegerKeys = false ; break ; } } return $ allIntegerKeys === false ; }
Checks whether a given array is associative or indexed.

@param array $array The input array to check

@return bool True if input array is associative, false if the input array is
indexed
Checks whether a given array is associative or indexed .