Home
last modified time | relevance | path

Searched refs:preg_replace_callback (Results 1 – 25 of 42) sorted by path

12

/php-src/Zend/tests/
H A Dclosure_008.phpt2 Closure 008: Use in preg_replace_callback()
10 return preg_replace_callback('/( +) /', $lambda, $text);
H A Dclosure_047.phpt2 Closure 047: Use in preg_replace_callback() using variables by reference
8 preg_replace_callback( '/(\?)/', function($matches) use (&$params, &$text) {
H A Dclosure_048.phpt2 Closure 048: Use in preg_replace_callback() using variables by reference
12 preg_replace_callback( '/(\?)/', $c, $text );
/php-src/Zend/tests/fibers/
H A Dgh9735-004.phpt20 preg_replace_callback('#.#', f(...), '.');
/php-src/Zend/tests/stack_limit/
H A Dstack_limit_001.phpt38 return preg_replace_callback('#.#', function () {
H A Dstack_limit_002.phpt37 return preg_replace_callback('#.#', function () {
H A Dstack_limit_003.phpt29 return preg_replace_callback('#.#', function () {
H A Dstack_limit_006.phpt288 return preg_replace_callback('#.#', function () {
H A Dstack_limit_007.phpt17 return preg_replace_callback('#.#', function () {
H A Dstack_limit_008.phpt17 return preg_replace_callback('#.#', function () {
32 return preg_replace_callback('#.#', function () {
H A Dstack_limit_011.phpt23 return preg_replace_callback('#.#', function () {
H A Dstack_limit_012.phpt17 return preg_replace_callback('#.#', function () {
/php-src/Zend/
H A Dzend_vm_gen.php793 $code = preg_replace_callback(
829 $code = preg_replace_callback(
863 $code = preg_replace_callback(
887 $code = preg_replace_callback(
/php-src/ext/pcre/
H A Dphp_pcre.c2403 PHP_FUNCTION(preg_replace_callback) in PHP_FUNCTION() argument
H A Dphp_pcre.stub.php127 function preg_replace_callback(string|array $pattern, callable $callback, string|array $subject, in… function
H A Dphp_pcre_arginfo.h82 ZEND_FUNCTION(preg_replace_callback);
95 ZEND_FE(preg_replace_callback, arginfo_preg_replace_callback)
/php-src/ext/pcre/tests/
H A D007.phpt2 preg_replace_callback() with callback that modifies subject string
20 var_dump(preg_replace_callback('#.#u', 'evil', $txt));
24 var_dump(preg_replace_callback('#.#u', 'evil', $txt));
H A Dbug21732.phpt17 var_dump(preg_replace_callback("/(ab)(cd)(e)/", array(new foo(), "cb"), 'abcde'));
H A Dbug21758.phpt2 Bug #21758 (preg_replace_callback() not working with class methods)
10 var_dump(preg_replace_callback(
H A Dbug37911.phpt2 Bug #37911 (preg_replace_callback ignores named groups)
12 var_dump(preg_replace_callback('|(?P<name>blub)|', 'callback', 'bla blub blah'));
17 var_dump(preg_replace_callback('|(?P<1>blub)|', 'callback', 'bla blub blah'));
40 Warning: preg_replace_callback(): Compilation failed: %s name must start with a non-digit at offset…
H A Dbug44214.phpt2 Bug #44214 (crash with preg_replace_callback() and global variable)
15 var_dump(preg_replace_callback( '`a+`', 'myCallBack', $string));
H A Dbug44214_2.phpt2 Bug #44214-2 (crash with preg_replace_callback() and global variable)
15 var_dump(preg_replace_callback( '`a+`', 'myCallBack', $string));
H A Dbug69864.phpt2 Bug #69864 (Segfault in preg_replace_callback)
13 var_dump(preg_replace_callback('/a/', function($m) {
19 var_dump(preg_replace_callback('/a/', function($m) {
25 var_dump(preg_replace_callback('/a/', function($m) {
31 var_dump(preg_replace_callback('/a/', function($m) {
H A Dbug73483.phpt7 var_dump(preg_replace_callback($regex, function (array $matches) use($regex) {
H A Dbug73612.phpt15 preg_replace_callback('/./', 'count', 'x', -1, $obj);

Completed in 67 milliseconds

12