private function _replace(& $str, [string $check = null, [string $repl = null, [integer $m = null]]] )
$str
$check
$repl
$m