1--TEST--
2Test ereg_replace of start-of-line
3--FILE--
4<?php $a="This is a nice and simple string";
5 echo ereg_replace("^This","That",$a);
6?>
7--EXPECTF--
8Deprecated: Function ereg_replace() is deprecated in %s on line %d
9That is a nice and simple string
10