Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "J.O. Aho" Newsgroups: comp.lang.php Subject: Re: array search part 2 Date: Mon, 18 Nov 2013 20:03:50 +0100 Lines: 16 Message-ID: References: <93xuovoqvo59.1wcgm8i5gn2hb$.dlg@40tude.net> <1shntpb6vcf5h.krh15ofjwrfm$.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net KuXJiTCEioybRsNuPRe+OAV7dqDO0wgN0WazR7Wfs9OUQ/znSy Cancel-Lock: sha1:K7pBmJuRedZiTA8zKqSCI1oTLZk= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: Xref: csiph.com comp.lang.php:11847 On 18/11/13 19:28, Denis McMahon wrote: > On Mon, 18 Nov 2013 19:10:41 +0100, J.O. Aho wrote: > >> It dosen't stop after finding one match, you have only one match. Please >> indent your code better, makes it easier to read and a lot easier for >> you to spot errors. > > Objection m'lud. He couldn't spot an error in his code if it had a > flashing neon sign pointing at it. I have to admit you are right about that. -- //Aho