/php-src/ext/opcache/tests/ |
H A D | blacklist.phpt | 25 $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 D | curl_setopt_basic002.phpt | 30 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 D | frameless_jmp_003.phpt | 6 preg_replace('/foo/', '', '');
|
H A D | frameless_jmp_005.phpt | 6 var_dump(preg_replace("/foo/", '', '', 1));
|
H A D | closure_047.phpt | 10 $text = preg_replace( '/(\?)/', array_shift( $params ), $text, 1 );
|
H A D | closure_048.phpt | 9 $text = preg_replace( '/(\?)/', array_shift( $params ), $text, 1 );
|
/php-src/ext/standard/tests/file/ |
H A D | flock_basic.phpt | 12 $lock_file = preg_replace("~\.phpt?$~", '', __FILE__); 22 $lock_dir = sprintf("%s.dir", preg_replace("~\.phpt?$~", '', __FILE__));
|
/php-src/sapi/fuzzer/ |
H A D | generate_unserializehash_corpus.php | 8 $algx = preg_replace('/[^-_a-zA-Z0-9]/', '_', $algo);
|
/php-src/ext/pcre/tests/ |
H A D | bug71537.phpt | 6 var_dump(preg_replace(array("/Monkey/"), array(2016), "Happy Year of Monkey"));
|
H A D | bug73483.phpt | 9 $ret = preg_replace($regex, "okey", $matches[0]);
|
H A D | bug73612.phpt | 11 preg_replace('/./', '', 'x', -1, $obj);
|
H A D | bug70232.phpt | 9 var_dump(preg_replace($pattern, "*", $subject));
|
H A D | invalid_utf8_offset.phpt | 2 preg_replace() and invalid UTF8 offset
|
H A D | bug69864.phpt | 21 preg_replace('/foo' . $i . 'bar/', 'baz', '???foo' . $i . 'bar???');
|
/php-src/ext/standard/tests/streams/ |
H A D | proc_open_bug60120.phpt | 7 $file = preg_replace( 93 $file = preg_replace("~\.clean\.php$~", ".io.php", __FILE__);
|
/php-src/ext/pcre/ |
H A D | php_pcre_arginfo.h | 72 ZEND_FRAMELESS_FUNCTION(preg_replace, 3); 74 { ZEND_FRAMELESS_FUNCTION_NAME(preg_replace, 3), 3 }, 80 ZEND_FUNCTION(preg_replace);
|
H A D | php_pcre.stub.php | 115 function preg_replace(string|array $pattern, string|array $replacement, string|array $subject, int … function
|
/php-src/ext/mbstring/tests/ |
H A D | php_gr_jp_dev_884-1.phpt | 12 var_dump(preg_replace("/.*/", "b", "a"));
|
/php-src/ext/spl/tests/ |
H A D | bug70868.phpt | 19 preg_replace('/\.phpt$/', '', '');
|
/php-src/pear/ |
H A D | fetch.php | 58 'proxy' => preg_replace('/^http/i', 'tcp', $_ENV['http_proxy']),
|
/php-src/scripts/dev/ |
H A D | check_parameters.php | 312 $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 D | tidy.php | 88 return preg_replace('/\h+$/m', '', $code);
|
/php-src/ext/dom/tests/ |
H A D | dom_set_attr_node.phpt | 33 echo preg_replace('/object\(DOMAttr\).+\{.*?\}/s', 'DOMAttr', $contents);
|
H A D | dom003.phpt | 19 echo preg_replace('/object\(DOMElement\).+\{.*?\}/s', 'DOMElement', $contents);
|
/php-src/sapi/cli/tests/ |
H A D | php_cli_server_014.phpt | 51 echo preg_replace("/<style>(.*?)<\/style>/s", "<style>AAA</style>", $output), "\n";
|