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