summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2002-06-13 01:04:40 +0000
committerfoobar <sniper@php.net>2002-06-13 01:04:40 +0000
commitb5e46c5e0569746bae0858272231beafefc40ad3 (patch)
tree38338754ac93b77fb4f870ec6bf19d2d508c77b7
parentbe39b3fabcf1bd08f735cb7c816c46ddf84e1d04 (diff)
downloadphp-git-b5e46c5e0569746bae0858272231beafefc40ad3.tar.gz
Fix build in ZTS mode
-rw-r--r--ext/pcre/php_pcre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index d8a4df8e5d..9045d43bcd 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -383,7 +383,7 @@ static void php_pcre_match(INTERNAL_FUNCTION_PARAMETERS, int global)
subpats_order = Z_LVAL_PP(flags) & 0xff;
if ((global && (subpats_order < PREG_PATTERN_ORDER || subpats_order > PREG_SET_ORDER)) ||
(!global && subpats_order != 0)) {
- zend_error(E_WARNING, "Wrong value for parameter 4 in call to %s()", get_active_function_name());
+ zend_error(E_WARNING, "Wrong value for parameter 4 in call to %s()", get_active_function_name(TSRMLS_C));
return;
}
break;