function getPrimarySortKey($string) { MediaWiki\suppressWarnings(); $key = $this->primaryCollator->getSortKey($string) . ''; MediaWiki\restoreWarnings(); return $key; }
function getPrimarySortKey($string) { wfSuppressWarnings(); $key = $this->primaryCollator->getSortKey($string) . ''; wfRestoreWarnings(); return $key; }
public function getPrimarySortKey($string) { return $this->primaryCollator->getSortKey($string); }
<?php $coll = new Collator('root'); var_dump(substr_count($coll->getSortKey('Hello'), ""));