Lines Matching refs:replace
3392 zend_string *str_key, *replace; local
3402 replace = zval_get_string(entry);
3408 ZSTR_VAL(replace),
3409 ZSTR_LEN(replace),
3416 ZSTR_VAL(replace), ZSTR_LEN(replace), &dummy));
3418 zend_string_release(replace);
3862 static zend_long php_str_replace_in_subject(zval *search, zval *replace, zval *subject, zval *resul… argument
3888 if (Z_TYPE_P(replace) == IS_ARRAY) {
3892 replace_value = Z_STRVAL_P(replace);
3893 replace_len = Z_STRLEN_P(replace);
3901 if (Z_TYPE_P(replace) == IS_ARRAY) {
3909 if (Z_TYPE_P(replace) == IS_ARRAY) {
3911 while (replace_idx < Z_ARRVAL_P(replace)->nNumUsed) {
3912 replace_entry = &Z_ARRVAL_P(replace)->arData[replace_idx].val;
3918 if (replace_idx < Z_ARRVAL_P(replace)->nNumUsed) {
3993 Z_STRVAL_P(replace),
3994 Z_STRLEN_P(replace),
4001 Z_STRVAL_P(replace), Z_STRLEN_P(replace), &replace_count));
4006 Z_STRVAL_P(replace), Z_STRLEN_P(replace), &replace_count));
4022 zval *subject, *search, *replace, *subject_entry, *zcount = NULL; local
4031 Z_PARAM_ZVAL(replace)
4040 if (Z_TYPE_P(replace) != IS_STRING) {
4041 convert_to_string_ex(replace);
4043 } else if (Z_TYPE_P(replace) != IS_ARRAY) {
4044 convert_to_string_ex(replace);
4056 count += php_str_replace_in_subject(search, replace, subject_entry, &result, case_sensitivity);
4068 count = php_str_replace_in_subject(search, replace, subject, return_value, case_sensitivity);