protected function GetMinKey() { if (!$this->force_assoc && is_numeric($this->GetKey(0))) { return min(array_keys($this->values[0])); } return 0; }