mirror of
https://github.com/php/php-src.git
synced 2024-10-19 07:22:40 +00:00
11 lines
202 B
Plaintext
11 lines
202 B
Plaintext
|
--TEST--
|
||
|
Test ereg_replace of start-of-line
|
||
|
--POST--
|
||
|
--GET--
|
||
|
--FILE--
|
||
|
<?php $a="This is a nice and simple string";
|
||
|
echo ereg_replace("^This","That",$a);
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
That is a nice and simple string
|