ParseError thrown

syntax error, unexpected 'preg_match_all' (T_STRING), expecting ',' or ';'