@@ -2142,8 +2142,8 @@ static zend_always_inline zend_string *php_replace_in_subject(
2142
2142
}
2143
2143
/* }}} */
2144
2144
2145
- static zend_string * php_replace_in_subject_func (zend_string * regex_str , HashTable * regex_ht ,
2146
- zend_fcall_info * fci , zend_fcall_info_cache * fcc ,
2145
+ static zend_string * php_replace_in_subject_func (zend_string * regex_str , const HashTable * regex_ht ,
2146
+ zend_fcall_info_cache * fcc ,
2147
2147
zend_string * subject , size_t limit , size_t * replace_count , zend_long flags )
2148
2148
{
2149
2149
zend_string * result ;
@@ -2194,7 +2194,7 @@ static size_t preg_replace_func_impl(zval *return_value,
2194
2194
2195
2195
if (subject_str ) {
2196
2196
result = php_replace_in_subject_func (
2197
- regex_str , regex_ht , fci , fcc , subject_str , limit_val , & replace_count , flags );
2197
+ regex_str , regex_ht , fcc , subject_str , limit_val , & replace_count , flags );
2198
2198
if (result != NULL ) {
2199
2199
RETVAL_STR (result );
2200
2200
} else {
@@ -2218,7 +2218,7 @@ static size_t preg_replace_func_impl(zval *return_value,
2218
2218
zend_string * subject_entry_str = zval_get_tmp_string (subject_entry , & tmp_subject_entry_str );
2219
2219
2220
2220
result = php_replace_in_subject_func (
2221
- regex_str , regex_ht , fci , fcc , subject_entry_str , limit_val , & replace_count , flags );
2221
+ regex_str , regex_ht , fcc , subject_entry_str , limit_val , & replace_count , flags );
2222
2222
if (result != NULL ) {
2223
2223
/* Add to return array */
2224
2224
ZVAL_STR (& zv , result );
0 commit comments