Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54238 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34864 invoked from network); 28 Jul 2011 22:34:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jul 2011 22:34:13 -0000 Authentication-Results: pb1.pair.com header.from=arraypad@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=arraypad@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.42 as permitted sender) X-PHP-List-Original-Sender: arraypad@gmail.com X-Host-Fingerprint: 209.85.212.42 mail-vw0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:51652] helo=mail-vw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E1/2F-35879-3E3E13E4 for ; Thu, 28 Jul 2011 18:34:11 -0400 Received: by vwl1 with SMTP id 1so2646290vwl.29 for ; Thu, 28 Jul 2011 15:34:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=4bdxxUcSR81XgUVJ9Wqyp0YGM8fNp3MpcweNu4/LxIY=; b=i/YQerRgTEpdPXrtKk+bGdzmlnbUtBzViE2e+SAj2m/i+tEoQqI0tTxtQJi4MOriYs 4a+7IK2YkxSwo0lDtEUeyTUrzZH/C07OCaO5KzfFhH+oAqmDRlP6VZJEPRAqeXr/ub5S 6dFXbZpm74/DLIxpPpK5beABLu9Slr7W/N33A= MIME-Version: 1.0 Received: by 10.52.89.194 with SMTP id bq2mr600745vdb.374.1311892448135; Thu, 28 Jul 2011 15:34:08 -0700 (PDT) Received: by 10.52.113.168 with HTTP; Thu, 28 Jul 2011 15:34:08 -0700 (PDT) Date: Thu, 28 Jul 2011 23:34:08 +0100 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: [PATCH] Add SORT_NATURAL and SORT_CASE support to array_multisort From: arraypad@gmail.com (Arpad Ray) Hi, https://bugs.php.net/patch-display.php?bug_id=55158&patch=trunk-multisort-natural&revision=latest adds the flags SORT_NATURAL and SORT_CASE to array_multisort. The SORT_NATURAL flag is well explained by the request the patch is attached to: https://bugs.php.net/bug.php?id=55158 SORT_CASE can be combined with SORT_STRING or SORT_NATURAL for a case-insensitive sort. I think it's a useful feature with no BC issues, and I'd appreciate any feedback. Regards, Arpad