problems with pcre functions after php update