php-src/ext/ereg/tests/006.phpt
2004-05-19 08:45:46 +00:00

9 lines
185 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);
?>
--EXPECT--
That is a nice and simple string