Searched refs:replace (Results 1 - 15 of 15) sorted by relevance

/PHP_TRUNK/ext/phar/phar/
H A Dclicommand.inc238 $r = str_replace("\n", "\n".$sp, $r); // in remainder replace \n's
/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...]
H A Dphp_ereg.h38 PHP_EREG_API char *php_ereg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended TSRMLS_DC);
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c1637 php_error_docref("ref.mbstring" TSRMLS_CC, E_WARNING, "mbstring couldn't replace function %s.", p->orig_func);
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/main/
H A DSAPI.c627 SAPI_API int sapi_add_header_ex(char *header_line, uint header_line_len, zend_bool duplicate, zend_bool replace TSRMLS_DC)
635 r = sapi_header_op(replace ? SAPI_HEADER_REPLACE : SAPI_HEADER_ADD,
H A DSAPI.h188 SAPI_API int sapi_add_header_ex(char *header_line, uint header_line_len, zend_bool duplicate, zend_bool replace TSRMLS_DC);
/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/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/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 Dbasic_functions.c1414 ZEND_ARG_INFO(0, replace)
2267 ZEND_ARG_INFO(0, replace)
2332 ZEND_ARG_INFO(0, replace)
2339 ZEND_ARG_INFO(0, replace)
H A Darray.c2168 * hashtable and replace it with new one */
2181 Removes the elements designated by offset and length and replace them with supplied array */
2520 static void php_array_merge_or_replace_wrapper(INTERNAL_FUNCTION_PARAMETERS, int recursive, int replace) /* {{{ */ argument
2557 if (!replace) {
/PHP_TRUNK/win32/build/
H A Dbuildconf.js81 + c.replace(new RegExp('(["\\\\])', "g"), '\\$1') + "'));\r\n";
119 C.WriteLine("\"" + mod_name.replace(/_/g, "-") + "\",");
251 modules = modules.replace(re, "/* $1 */");
H A Dconfutils.js216 this.symval = optname.toUpperCase().replace(new RegExp("-", "g"), "_");
532 thing_to_find = thing_to_find.replace(new RegExp("/", "g"), "\\");
669 name = name.replace(rExp,"_debug.lib");
794 // AC_DEFINE("HAVE_" + header_name.toUpperCase().replace(new RegExp("/\\\\-\.", "g"), "_"), have);
810 sym = sym.replace(new RegExp("[\\\\/\.-]", "g"), "_");
904 sym = sym.replace(new RegExp("[\\\\/\.-]", "g"), "_");
1391 dir = dir.replace(new RegExp("/", "g"), "\\");
1405 var build_dir = dir.replace(new RegExp("^..\\\\"), "");
1406 var mangle_dir = build_dir.replace(new RegExp("[\\\\/.-]", "g"), "_");
1410 var build_dir = obj_dir.replace(ne
[all...]
H A Dphpize.js.in28 var PHP_DIR=FSO.GetParentFolderName(WScript.ScriptFullName).replace(re,"");
92 + c.replace(new RegExp('(["\\\\])', "g"), '\\$1') + "'));\r\n";
112 + c.replace(new RegExp('(["\\\\])', "g"), '\\$1') + "'));\r\n";
213 C.WriteLine("var PHP_DIR = " + '"' + PHP_DIR.replace(new RegExp('(["\\\\])', "g"), '\\$1') + '"');
214 C.WriteLine("var PHP_PREFIX = " + '"' + PHP_PREFIX.replace(new RegExp('(["\\\\])', "g"), '\\$1') + '"');
256 modules = modules.replace(re, "/* $1 */");

Completed in 42 milliseconds