summaryrefslogtreecommitdiff
path: root/ext/ereg/php_ereg.h
diff options
context:
space:
mode:
authorScott MacVicar <scottmac@php.net>2009-05-28 21:57:24 +0000
committerScott MacVicar <scottmac@php.net>2009-05-28 21:57:24 +0000
commit4044f880e80df4c2f7723805f7edde30d3487710 (patch)
tree11d0dcb7cb3a84505e37587aeb5d7f71f14e8d44 /ext/ereg/php_ereg.h
parent19194ff51bbfffb71b9f91b4de3f3d0ba777a614 (diff)
downloadphp-git-4044f880e80df4c2f7723805f7edde30d3487710.tar.gz
MFH: Fix bug #48416 - Force a cache size for ereg to stop it getting out of control. Lazy LRU here.
Diffstat (limited to 'ext/ereg/php_ereg.h')
-rw-r--r--ext/ereg/php_ereg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/ereg/php_ereg.h b/ext/ereg/php_ereg.h
index fdadd1d3f5..2d148e2624 100644
--- a/ext/ereg/php_ereg.h
+++ b/ext/ereg/php_ereg.h
@@ -39,6 +39,7 @@ PHPAPI PHP_FUNCTION(sql_regcase);
ZEND_BEGIN_MODULE_GLOBALS(ereg)
HashTable ht_rc;
+ unsigned int lru_counter;
ZEND_END_MODULE_GLOBALS(ereg)
/* Module functions */