php-src/ext/ereg/tests/006.phpt
2008-11-18 17:55:07 +00:00

10 lines
253 B
PHP

--TEST--
Test ereg_replace of start-of-line
--FILE--
<?php $a="This is a nice and simple string";
echo ereg_replace("^This","That",$a);
?>
--EXPECTF--
Deprecated: Function ereg_replace() is deprecated in %s on line %d
That is a nice and simple string