php-src/ext/standard/tests/reg/014.phpt
2004-05-19 08:45:46 +00:00

8 lines
138 B
PHP

--TEST--
backreferences not replaced recursively
--FILE--
<?php $a="a\\2bxc";
echo ereg_replace("a(.*)b(.*)c","\\1",$a)?>
--EXPECT--
\2