1--TEST-- 2backreferences not replaced recursively 3--FILE-- 4<?php $a="a\\2bxc"; 5 echo ereg_replace("a(.*)b(.*)c","\\1",$a)?> 6--EXPECTF-- 7Deprecated: Function ereg_replace() is deprecated in %s on line %d 8\2 9