Home
last modified time | relevance | path

Searched refs:repl (Results 1 – 6 of 6) sorted by relevance

/PHP-5.3/ext/standard/tests/strings/
H A Dsubstr_replace.phpt6 $repl = "bala ";
79 $repl = "bala ";
100 $repl = "bala ";
119 $repl = "bala ";
137 $repl = "bala ";
153 $repl = "bala ";
174 $repl = "bala ";
193 $repl = "bala ";
211 $repl = "bala ";
228 $repl = "bala ";
[all …]
/PHP-5.3/ext/fileinfo/libmagic/
H A Dfuncs.c440 zval *repl; local
458 MAKE_STD_ZVAL(repl);
459 ZVAL_STRINGL(repl, rep, strlen(rep), 0);
461 res = php_pcre_replace_impl(pce, ms->o.buf, strlen(ms->o.buf), repl,
464 FREE_ZVAL(repl);
/PHP-5.3/ext/pspell/
H A Dpspell.c170 ZEND_ARG_INFO(0, repl)
891 char *repl; in PHP_FUNCTION() local
895 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ls", &conf, &repl, &repl_len) == FAILURE) { in PHP_FUNCTION()
903 if (strlen(repl) != repl_len) { in PHP_FUNCTION()
907 if (PG(safe_mode) && (!php_checkuid(repl, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { in PHP_FUNCTION()
911 if (php_check_open_basedir(repl TSRMLS_CC)) { in PHP_FUNCTION()
915 pspell_config_replace(config, "repl", repl); in PHP_FUNCTION()
/PHP-5.3/ext/standard/
H A Dstring.c2218 zval **repl; local
2238 if (Z_TYPE_PP(repl) != IS_ARRAY) {
2239 if (Z_ISREF_PP(repl)) {
2240 SEPARATE_ZVAL(repl);
2242 convert_to_string_ex(repl);
2315 if (Z_TYPE_PP(repl) == IS_ARRAY) {
2322 repl_len = Z_STRLEN_PP(repl);
2353 if (Z_TYPE_PP(repl) == IS_ARRAY) {
2438 if (Z_TYPE_PP(repl) == IS_ARRAY) {
2468 result_len += Z_STRLEN_PP(repl);
[all …]
H A Darray.c2074 ***repl = NULL; /* Replacement elements */ in PHP_FUNCTION() local
2101 repl = (zval ***)safe_emalloc(repl_num, sizeof(zval **), 0); in PHP_FUNCTION()
2103 repl[i] = ((zval **)p->pData); in PHP_FUNCTION()
2132 new_hash = php_splice(Z_ARRVAL_P(array), offset, length, repl, repl_num, rem_hash); in PHP_FUNCTION()
2145 efree(repl); in PHP_FUNCTION()
/PHP-5.3/ext/fileinfo/
H A Dlibmagic.patch1889 + zval *repl;
1907 + MAKE_STD_ZVAL(repl);
1908 + ZVAL_STRINGL(repl, rep, strlen(rep), 0);
1915 + res = php_pcre_replace_impl(pce, ms->o.buf, strlen(ms->o.buf), repl,
1918 + FREE_ZVAL(repl);

Completed in 75 milliseconds