note 85538 added to function.in-array

From: Date: Thu, 04 Sep 2008 19:33:46 +0000
Subject: note 85538 added to function.in-array
Groups: php.notes 
Request: Send a blank email to php-notes+get-144139@lists.php.net to get a copy of this message
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. :) ---- Server IP: 64.71.164.2 Probable Submitter: 131.107.0.71 ---- Manual Page -- http://www.php.net/manual/en/function.in-array.php Edit -- https://master.php.net/note/edit/85538 Del: integrated -- https://master.php.net/note/delete/85538/integrated Del: useless -- https://master.php.net/note/delete/85538/useless Del: bad code -- https://master.php.net/note/delete/85538/bad+code Del: spam -- https://master.php.net/note/delete/85538/spam Del: non-english -- https://master.php.net/note/delete/85538/non-english Del: in docs -- https://master.php.net/note/delete/85538/in+docs Del: other reasons-- https://master.php.net/note/delete/85538 Reject -- https://master.php.net/note/reject/85538 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#144139) next »