From dbaef7c03836c671534b1ad1f85a5629b4e9b95f Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Mon, 9 Jun 2014 15:42:32 +0400 Subject: Avoid unnecessary memory allocation/deallocations and pcre calls --- ext/pcre/php_pcre.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/pcre/php_pcre.h') diff --git a/ext/pcre/php_pcre.h b/ext/pcre/php_pcre.h index 266f6760c6..fb90395f75 100644 --- a/ext/pcre/php_pcre.h +++ b/ext/pcre/php_pcre.h @@ -44,6 +44,8 @@ typedef struct { pcre *re; pcre_extra *extra; int preg_options; + int capture_count; + int name_count; #if HAVE_SETLOCALE char *locale; unsigned const char *tables; -- cgit v1.2.1