Re: fault in preg_replace example
| From: | Sander Roobol | Date: | Fri, 21 Feb 2003 20:16:35 +0000 |
| Subject: | Re: fault in preg_replace example | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969351908@lists.php.net to get a copy of this message | ||
This has already been fixed in CVS 4 weeks ago :)
Thanks anyway,
Sander
On Fri, Feb 21, 2003 at 09:03:47PM +0100, Konstantin Schukraft wrote:
> hi,
>
> i just foung a little fault in the first example to preg_replace:
> first used:
> $str = "April 15, 2003"; //$str instead $string
> but later:
> print preg_replace($pattern, $replacement, $string); //$string
>
> I don't have a CVS-Acc yet, so someone else should fix this :)
>
> Konstantin Schukraft
>
> --
> PHP Documentation Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php