Searched defs:replace (Results 1 - 7 of 7) 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 TSRMLS_DC) 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/sapi/apache_hooks/
H A Dphp_apache.c584 zend_bool replace = 0; local
587 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "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/ext/mbstring/
H A Dphp_mbregex.c793 char *replace; local
834 &replace, &replace_len,
876 description = zend_make_compiled_string_description("mbregex replace" TSRMLS_CC);
915 p = replace;
1035 Case insensitive replace regular expression for multibyte string */
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c1116 char *replace=NULL, /* Replacement string */ local
1143 replace = Z_STRVAL_P(replace_val);
1145 replace_end = replace + replace_len;
1213 eval_result = preg_do_eval(replace, replace_len, subject,
1221 walk = replace;
1260 walk = replace;
1346 static zend_string *php_replace_in_subject(zval *regex, zval *replace, zval *subject, int limit, int is_callable_replace, int *replace_count TSRMLS_DC) argument
1361 replace_value = replace;
1369 /* If replace is an array and not a callable construct */
1370 if (Z_TYPE_P(replace)
1432 *replace, local
[all...]
/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 */
2521 static void php_array_merge_or_replace_wrapper(INTERNAL_FUNCTION_PARAMETERS, int recursive, int replace) /* {{{ */ argument
2558 if (!replace) {
H A Dstring.c3663 static void php_str_replace_in_subject(zval *search, zval *replace, zval *subject, zval *result, int case_sensitivity, size_t *replace_count TSRMLS_DC) argument
3695 if (Z_TYPE_P(replace) == IS_ARRAY) {
3696 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(replace), &pos);
3699 replace_value = Z_STRVAL_P(replace);
3700 replace_len = Z_STRLEN_P(replace);
3709 if (Z_TYPE_P(replace) == IS_ARRAY) {
3710 zend_hash_move_forward_ex(Z_ARRVAL_P(replace), &pos);
3715 /* If replace is an array. */
3716 if (Z_TYPE_P(replace) == IS_ARRAY) {
3718 if ((replace_entry = zend_hash_get_current_data_ex(Z_ARRVAL_P(replace),
3784 zval *subject, *search, *replace, *subject_entry, *zcount = NULL; local
[all...]
/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,

Completed in 30 milliseconds