note 85538 deleted from function.in-array by danbrown
| From: | danbrown@php.net | Date: | Mon, 08 Jun 2009 21:39:06 +0000 |
| Subject: | note 85538 deleted from function.in-array by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-156492@lists.php.net to get a copy of this message | ||
Note Submitter: alishahnovin at hotmail dot com
----
Just caught a small bug in my code below...
As the code is right now, when there are wild cards, it will treat the initial segment as though
it's preceded with a wild card. In other words, the first segment will be searched, not simply
at the beginning of the string, but anywhere. Because it's a simple fix, I'll leave it to
others. :)