Let's simplify this to: `Builds united array of params from given $path and $params. Also extracts anchor.`.