Lines Matching refs:is_callable_replace
961 zval *replace_val, int is_callable_replace, in php_pcre_replace() argument
972 is_callable_replace, result_len, limit, replace_count TSRMLS_CC); in php_pcre_replace()
978 int is_callable_replace, int *result_len, int limit, int *replace_count TSRMLS_DC) in php_pcre_replace_impl() argument
1018 if (is_callable_replace) { in php_pcre_replace_impl()
1089 } else if (is_callable_replace) { in php_pcre_replace_impl()
1131 if (eval || is_callable_replace) { in php_pcre_replace_impl()
1216 …ex, zval *replace, zval **subject, int *result_len, int limit, int is_callable_replace, int *repla… in php_replace_in_subject() argument
1241 if (Z_TYPE_P(replace) == IS_ARRAY && !is_callable_replace) in php_replace_in_subject()
1250 if (Z_TYPE_P(replace) == IS_ARRAY && !is_callable_replace) { in php_replace_in_subject()
1253 if (!is_callable_replace) { in php_replace_in_subject()
1271 is_callable_replace, in php_replace_in_subject()
1293 is_callable_replace, in php_replace_in_subject()
1304 static void preg_replace_impl(INTERNAL_FUNCTION_PARAMETERS, int is_callable_replace, int is_filter) in preg_replace_impl() argument
1325 if (!is_callable_replace && Z_TYPE_PP(replace) == IS_ARRAY && Z_TYPE_PP(regex) != IS_ARRAY) { in preg_replace_impl()
1331 if (Z_TYPE_PP(replace) != IS_ARRAY && (Z_TYPE_PP(replace) != IS_OBJECT || !is_callable_replace)) { in preg_replace_impl()
1334 if (is_callable_replace) { in preg_replace_impl()
1364 …n_subject(*regex, *replace, subject_entry, &result_len, limit_val, is_callable_replace, &replace_c… in preg_replace_impl()
1386 …lace_in_subject(*regex, *replace, subject, &result_len, limit_val, is_callable_replace, &replace_c… in preg_replace_impl()