Re: [Newman] function to use
| From: | Evan Nemerson | Date: | Mon, 05 May 2003 07:20:02 +0000 |
| Subject: | Re: [Newman] function to use | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146406@lists.php.net to get a copy of this message | ||
If you're only matching fixed strings, not regular expressions, use strstr-
it's faster. php.net/strstr
On Sunday 04 May 2003 10:05 pm, Greg Donald wrote:
> > I'm looking for a function that dose the following.
> >
> > $foo = "should i say hello world?";
> >
> > if $foo (has the word hello in it continue)
> >
> > else don't
> >
> > any ideas
>
> php.net/eregi