diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-06-09 15:42:32 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-06-09 15:42:32 +0400 |
commit | dbaef7c03836c671534b1ad1f85a5629b4e9b95f (patch) | |
tree | 572b21121aca3890f0d3c4ceae650c94e6055333 /ext/pcre/php_pcre.h | |
parent | 7bf4fa69be02b4ae716c5277d4c65e7a4d5db250 (diff) | |
download | php-git-dbaef7c03836c671534b1ad1f85a5629b4e9b95f.tar.gz |
Avoid unnecessary memory allocation/deallocations and pcre calls
Diffstat (limited to 'ext/pcre/php_pcre.h')
-rw-r--r-- | ext/pcre/php_pcre.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |