1--TEST-- 2\0 back reference 3--FILE-- 4<?php $a="abc123"; 5 echo ereg_replace("123","def\\0ghi",$a)?> 6--EXPECTF-- 7Deprecated: Function ereg_replace() is deprecated in %s on line %d 8abcdef123ghi 9