public function replace($pattern, $replacement , $subject, $limit = -1, &$count = null)
    {
        return $this->sandbox->run('preg_replace', func_get_args(), $this->throw);
    }
public function replace($pattern, $replacement , $subject, $limit = -1, &$count = null)
    {
        return $this->sandbox->run('preg_replace', func_get_args(), $this->throw);
    }
public function replace ( $ pattern , $ replacement , $ subject , $ limit = - 1 , & $ count = null ) { return $ this -> sandbox -> run ( 'preg_replace' , func_get_args ( ) , $ this -> throw ) ; }
Same as \preg_replace but throws exception when an invalid pcre string is given

@link http://php.net/manual/en/function.preg-replace.php
Same as \ preg_replace but throws exception when an invalid pcre string is given