phalcon/cphalcon — pull request #2691 by mruz (2014-08-09 13:32:54+00:00)
Title: Integrate Utils\Slug into Tag::friendlyTitle()

Code for `replace` could be:
```zephir
if replace {
if typeof replace != "array" && typeof replace != "string"{
throw new Exception("Parameter replace must be an array or a string");
}
let text = str_replace(replace, " ", text);
}
```
but https://github.com/phalcon/zephir/issues/480