array searches in strict types mode