summaryrefslogtreecommitdiff
path: root/ext/standard/aggregation.c
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@php.net>2003-03-25 08:07:13 +0000
committerSebastian Bergmann <sebastian@php.net>2003-03-25 08:07:13 +0000
commit5ca078779a7cde0f3a4a9b0cc8b77abd5177a1d7 (patch)
tree4aed82d43faf1aa9cf1f7080dcc1e0197542e9d3 /ext/standard/aggregation.c
parentb671380b6b5b6e1f4f235e810afa4199e989d2ba (diff)
downloadphp-git-5ca078779a7cde0f3a4a9b0cc8b77abd5177a1d7.tar.gz
Eliminate some TSRMLS_FETCH() calls. Tested with Win32 build of SAPI/CGI and SAPI/CLI on Win32.
Diffstat (limited to 'ext/standard/aggregation.c')
-rw-r--r--ext/standard/aggregation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/aggregation.c b/ext/standard/aggregation.c
index b474172f87..539795ffd9 100644
--- a/ext/standard/aggregation.c
+++ b/ext/standard/aggregation.c
@@ -100,7 +100,7 @@ static void aggregate_methods(zend_class_entry *ce, zend_class_entry *from_ce, i
}
#if (HAVE_PCRE || HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE)
else if (aggr_type == AGGREGATE_BY_REGEXP) {
- if ((re = pcre_get_compiled_regex(Z_STRVAL_P(aggr_filter), &re_extra, &re_options)) == NULL) {
+ if ((re = pcre_get_compiled_regex(Z_STRVAL_P(aggr_filter), &re_extra, &re_options TSRMLS_CC)) == NULL) {
return;
}
}
@@ -206,7 +206,7 @@ static void aggregate_properties(zval *obj, zend_class_entry *from_ce, int aggr_
}
#if (HAVE_PCRE || HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE)
else if (aggr_type == AGGREGATE_BY_REGEXP) {
- if ((re = pcre_get_compiled_regex(Z_STRVAL_P(aggr_filter), &re_extra, &re_options)) == NULL) {
+ if ((re = pcre_get_compiled_regex(Z_STRVAL_P(aggr_filter), &re_extra, &re_options TSRMLS_CC)) == NULL) {
return;
}
}