Re: Remove punctuation
| From: | Jason Davidson | Date: | Thu, 09 Sep 2004 20:11:35 +0000 |
| Subject: | Re: Remove punctuation | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-196253@lists.php.net to get a copy of this message | ||
ya, no doubt, i was going to repost my message, i should have said, that
manual suggests using str_replace over ereg_replace... without reason..
i just assumed it was speed and resources..
eitherway, both would work, try em both. :)
Jason
John Nichel <john@kegworks.com> wrote:
>
> Jason Davidson wrote:
> > i think str_replace is faster that ereg_replace
> >
> > Jason
>
> We tested that theory a while back on here (I don't remember the subject
> of the emails, so finding it would be kind of hard), and it came out to
> be almost exactally the same speed.
>
> --
> John C. Nichel
> ÜberGeek
> KegWorks.com
> 716.856.9675
> john@kegworks.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>