RE: [PHP] Odd Strpos Behavior
| From: | Steve Keller | Date: | Mon, 16 Dec 2002 17:47:34 +0000 |
| Subject: | RE: [PHP] Odd Strpos Behavior | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-128435@lists.php.net to get a copy of this message | ||
At 12/14/2002 12:50 AM, John W. Holmes wrote:
And here's a good example of why you should always test each solution and time it to see what's better. I was recommending a preg_replace_callback solution which I thought, as a lot of other people would also think, is a lot faster that your own "method" of doing it.Thanks John, for both the time tests and for fixing my original method. I appreciate the help. -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage, AK 99508 907.770.6200 ext.220 907.336.6205 (fax) Email: skeller@healthtvchannel.org Web: www.healthtvchannel.org