Home
last modified time | relevance | path

Searched refs:preg_replace (Results 26 – 50 of 68) sorted by relevance

123

/php-src/ext/opcache/tests/
H A Dblacklist.phpt25 $conf[3] = preg_replace("!^\\Q".__DIR__."\\E!", "__DIR__", $conf[3]);
26 $conf[4] = preg_replace("!^\\Q".__DIR__."\\E!", "__DIR__", $conf[4]);
/php-src/ext/curl/tests/
H A Dcurl_setopt_basic002.phpt30 var_dump(preg_replace('/[\r\n]/', ' ', file_get_contents($temp_file)));
42 var_dump(preg_replace('/[\r\n]/', ' ', file_get_contents($temp_file)));
/php-src/Zend/tests/
H A Dframeless_jmp_003.phpt6 preg_replace('/foo/', '', '');
H A Dframeless_jmp_005.phpt6 var_dump(preg_replace("/foo/", '', '', 1));
H A Dclosure_047.phpt10 $text = preg_replace( '/(\?)/', array_shift( $params ), $text, 1 );
H A Dclosure_048.phpt9 $text = preg_replace( '/(\?)/', array_shift( $params ), $text, 1 );
/php-src/ext/standard/tests/file/
H A Dflock_basic.phpt12 $lock_file = preg_replace("~\.phpt?$~", '', __FILE__);
22 $lock_dir = sprintf("%s.dir", preg_replace("~\.phpt?$~", '', __FILE__));
/php-src/sapi/fuzzer/
H A Dgenerate_unserializehash_corpus.php8 $algx = preg_replace('/[^-_a-zA-Z0-9]/', '_', $algo);
/php-src/ext/pcre/tests/
H A Dbug71537.phpt6 var_dump(preg_replace(array("/Monkey/"), array(2016), "Happy Year of Monkey"));
H A Dbug73483.phpt9 $ret = preg_replace($regex, "okey", $matches[0]);
H A Dbug73612.phpt11 preg_replace('/./', '', 'x', -1, $obj);
H A Dbug70232.phpt9 var_dump(preg_replace($pattern, "*", $subject));
H A Dinvalid_utf8_offset.phpt2 preg_replace() and invalid UTF8 offset
H A Dbug69864.phpt21 preg_replace('/foo' . $i . 'bar/', 'baz', '???foo' . $i . 'bar???');
/php-src/ext/standard/tests/streams/
H A Dproc_open_bug60120.phpt7 $file = preg_replace(
93 $file = preg_replace("~\.clean\.php$~", ".io.php", __FILE__);
/php-src/ext/pcre/
H A Dphp_pcre_arginfo.h72 ZEND_FRAMELESS_FUNCTION(preg_replace, 3);
74 { ZEND_FRAMELESS_FUNCTION_NAME(preg_replace, 3), 3 },
80 ZEND_FUNCTION(preg_replace);
H A Dphp_pcre.stub.php115 function preg_replace(string|array $pattern, string|array $replacement, string|array $subject, int … function
/php-src/ext/mbstring/tests/
H A Dphp_gr_jp_dev_884-1.phpt12 var_dump(preg_replace("/.*/", "b", "a"));
/php-src/ext/spl/tests/
H A Dbug70868.phpt19 preg_replace('/\.phpt$/', '', '');
/php-src/pear/
H A Dfetch.php58 'proxy' => preg_replace('/^http/i', 'tcp', $_ENV['http_proxy']),
/php-src/scripts/dev/
H A Dcheck_parameters.php312 $txt = preg_replace('@//.*@S', '', $txt);
314 return preg_replace("/[^\r\n]+/S", "", $matches[0]);
341 check_function(preg_replace('/\s*,\s*/S', '::', $split[$i][0]), $f, $split[$i][1]);
H A Dtidy.php88 return preg_replace('/\h+$/m', '', $code);
/php-src/ext/dom/tests/
H A Ddom_set_attr_node.phpt33 echo preg_replace('/object\(DOMAttr\).+\{.*?\}/s', 'DOMAttr', $contents);
H A Ddom003.phpt19 echo preg_replace('/object\(DOMElement\).+\{.*?\}/s', 'DOMElement', $contents);
/php-src/sapi/cli/tests/
H A Dphp_cli_server_014.phpt51 echo preg_replace("/<style>(.*?)<\/style>/s", "<style>AAA</style>", $output), "\n";

Completed in 38 milliseconds

123