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/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));
172 &replace,
178 zval_ptr_dtor(&replace);
183 ZVAL_STRING(&replace, PHP_WIN32_MAIL_RMVDBL_PATTERN);
188 &replace,
/PHP_TRUNK/ext/standard/
H A Darray.c1936 static void php_splice(HashTable *in_hash, int offset, int length, HashTable *replace, HashTable *removed) /* {{{ */ argument
1963 zend_hash_init(&out_hash, (length > 0 ? num_in - length : 0) + (replace ? zend_hash_num_elements(replace) : 0), NULL, ZVAL_PTR_DTOR, 0);
2021 if (replace) {
2022 ZEND_HASH_FOREACH_VAL_IND(replace, entry) {
2278 Removes the elements designated by offset and length and replace them with supplied array */
2611 static void php_array_merge_or_replace_wrapper(INTERNAL_FUNCTION_PARAMETERS, int recursive, int replace) /* {{{ */ argument
2645 if (replace) {
H A Dstring.c3481 zend_string *str_key, *replace; local
3491 replace = zval_get_string(entry);
3497 replace->val,
3498 replace->len,
3505 replace->val, replace->len, &dummy));
3507 zend_string_release(replace);
3957 static zend_long php_str_replace_in_subject(zval *search, zval *replace, zval *subject, zval *result, int case_sensitivity) argument
3983 if (Z_TYPE_P(replace) == IS_ARRAY) {
3984 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(replace),
4108 zval *subject, *search, *replace, *subject_entry, *zcount = NULL; local
[all...]
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c1027 char *replace=NULL, /* Replacement string */ local
1052 replace = Z_STRVAL_P(replace_val);
1054 replace_end = replace + replace_len;
1121 walk = replace;
1159 walk = replace;
1245 static zend_string *php_replace_in_subject(zval *regex, zval *replace, zval *subject, int limit, int is_callable_replace, int *replace_count) argument
1260 replace_value = replace;
1268 /* If replace is an array and not a callable construct */
1269 if (Z_TYPE_P(replace) == IS_ARRAY && !is_callable_replace) {
1272 while (replace_idx < Z_ARRVAL_P(replace)
1331 *replace, local
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dphp_mbregex.c793 char *replace; local
834 &replace, &replace_len,
878 description = zend_make_compiled_string_description("mbregex replace");
917 p = replace;
1037 Case insensitive replace regular expression for multibyte string */

Completed in 29 milliseconds