mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
9 lines
185 B
PHP
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
|