Searched defs:replace (Results 1 - 8 of 8) sorted by relevance

/PHP_TRUNK/ext/ereg/
H A Dereg.c406 PHP_EREG_API char *php_ereg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended) argument
465 walk = replace;
491 walk = replace;
559 zend_string *replace; local
581 replace = zend_string_copy(Z_STR_P(arg_replace));
583 replace = STR_EMPTY_ALLOC();
587 replace = zend_string_alloc(1, 0);
588 replace->val[0] = (char) Z_LVAL_P(arg_replace);
589 replace->val[1] = '\0';
599 ret = php_ereg_replace(pattern->val, replace
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dphp_mbregex.c793 char *replace; local
834 &replace, &replace_len,
876 description = zend_make_compiled_string_description("mbregex replace");
915 p = replace;
1035 Case insensitive replace regular expression for multibyte string */
/PHP_TRUNK/main/
H A DSAPI.c630 SAPI_API int sapi_add_header_ex(char *header_line, uint header_line_len, zend_bool duplicate, zend_bool replace) argument
638 r = sapi_header_op(replace ? SAPI_HEADER_REPLACE : SAPI_HEADER_ADD,
/PHP_TRUNK/sapi/apache_hooks/
H A Dphp_apache.c584 zend_bool replace = 0; local
587 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|zb", &first, &second, &replace) == FAILURE) {
609 if (replace) {
633 if (replace) {
651 /* {{{ proto array apache_request_headers_out([{string name|array list} [, string value [, bool replace = false]]])
670 /* {{{ proto array apache_request_err_headers_out([{string name|array list} [, string value [, bool replace = false]]])
/PHP_TRUNK/win32/
H A Dsendmail.c160 zval replace; local
167 ZVAL_STRINGL(&replace, PHP_WIN32_MAIL_UNIFY_REPLACE, strlen(PHP_WIN32_MAIL_UNIFY_REPLACE));
174 &replace,
180 zval_ptr_dtor(&replace);
185 ZVAL_STRING(&replace, PHP_WIN32_MAIL_RMVDBL_PATTERN);
190 &replace,
/PHP_TRUNK/ext/standard/
H A Darray.c2169 * hashtable and replace it with new one */
2182 Removes the elements designated by offset and length and replace them with supplied array */
2526 static void php_array_merge_or_replace_wrapper(INTERNAL_FUNCTION_PARAMETERS, int recursive, int replace) /* {{{ */ argument
2560 if (replace) {
H A Dstring.c3674 static void php_str_replace_in_subject(zval *search, zval *replace, zval *subject, zval *result, int case_sensitivity, size_t *replace_count) argument
3706 if (Z_TYPE_P(replace) == IS_ARRAY) {
3707 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(replace), &pos);
3710 replace_value = Z_STRVAL_P(replace);
3711 replace_len = Z_STRLEN_P(replace);
3720 if (Z_TYPE_P(replace) == IS_ARRAY) {
3721 zend_hash_move_forward_ex(Z_ARRVAL_P(replace), &pos);
3726 /* If replace is an array. */
3727 if (Z_TYPE_P(replace) == IS_ARRAY) {
3729 if ((replace_entry = zend_hash_get_current_data_ex(Z_ARRVAL_P(replace),
3795 zval *subject, *search, *replace, *subject_entry, *zcount = NULL; local
[all...]
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c1106 char *replace=NULL, /* Replacement string */ local
1133 replace = Z_STRVAL_P(replace_val);
1135 replace_end = replace + replace_len;
1203 eval_result = preg_do_eval(replace, replace_len, subject,
1211 walk = replace;
1250 walk = replace;
1336 static zend_string *php_replace_in_subject(zval *regex, zval *replace, zval *subject, int limit, int is_callable_replace, int *replace_count) argument
1351 replace_value = replace;
1359 /* If replace is an array and not a callable construct */
1360 if (Z_TYPE_P(replace)
1422 *replace, local
[all...]

Completed in 28 milliseconds