mirror of
https://github.com/php/php-src.git
synced 2024-10-20 16:02:44 +00:00
9 lines
185 B
Plaintext
9 lines
185 B
Plaintext
|
--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
|