Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62368 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57377 invoked from network); 21 Aug 2012 21:47:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Aug 2012 21:47:19 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.54 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 74.125.82.54 mail-wg0-f54.google.com Received: from [74.125.82.54] ([74.125.82.54:57449] helo=mail-wg0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 88/3A-10139-6E104305 for ; Tue, 21 Aug 2012 17:47:19 -0400 Received: by wgx1 with SMTP id 1so201935wgx.11 for ; Tue, 21 Aug 2012 14:47:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=ecUYIJDyjNcwSeS5XLlE8sXCJf8zImJnXnGsTaOkvKM=; b=cG1aq0QGOZOLVS8tE3hOEaWdqGP1G0ktHIHqJhii1zMQf1dH9EDh+3lYRvmoqGHE0Y OyyT/G7gyf/AhuMn1ab67ZIXBk7RFaL22i+lr3yr3EgDgcu8Skcp0hLQ2YqFVwwg09jc jukpv2FFL2ftClzZ59kLyKo2IHiNUjDP6EW6eIA1szxLaWa4lb+Wu5BVvT4ahfitD5Pi Of1SxP1/mO7riHbFTARfRkX8mbh+tfksWFacd89nDsA81BG+RP8AH67GxcuxNptotoIW LOr4WPPKJ0lJ8lE2xDlDCWexkAK15XB4QAgm6UxenA1uGnazG2XXyOcTq0Aaw/q8MzFf uR+A== Received: by 10.216.192.85 with SMTP id h63mr9568351wen.7.1345585635949; Tue, 21 Aug 2012 14:47:15 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.223.86.201 with HTTP; Tue, 21 Aug 2012 14:46:35 -0700 (PDT) In-Reply-To: References: <5033E0BC.8040507@ajf.me> <5033EAAB.6090502@ajf.me> <5033F1EA.4070701@ajf.me> <5033FD9C.6080106@ajf.me> <5033FF96.5030105@ajf.me> Date: Wed, 22 Aug 2012 06:46:35 +0900 X-Google-Sender-Auth: 8lTFYU7Xw-GYLVCrvXXx1J1ZmAQ Message-ID: To: Levi Morrison Cc: Andrew Faulds , Tjerk Anne Meesters , Rasmus Schultz , internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] re: removing an item from an array From: yohgaki@ohgaki.net (Yasuo Ohgaki) Hi, 2012/8/22 Levi Morrison : > There is a reason to have a callable provided: custom comparison. > Other array functions solve this by providing a `u` alternative: > > `int array_udelete(&$array, $value, bool function($value, $key))` > > Let's not deviate from established array naming conventions. (Yasuo, > I'm looking at you) Good suggestion. Written to the wiki page. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net