Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54246 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75321 invoked from network); 29 Jul 2011 07:33:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jul 2011 07:33:52 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:60009] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 82/20-07983-F52623E4 for ; Fri, 29 Jul 2011 03:33:52 -0400 Received: from localhost (xdebug.org [127.0.0.1]) by xdebug.org (Postfix) with ESMTPS id 27BD410C643; Fri, 29 Jul 2011 08:33:49 +0100 (BST) Date: Fri, 29 Jul 2011 08:33:48 +0100 (BST) X-X-Sender: derick@whisky To: Arpad Ray cc: internals@lists.php.net In-Reply-To: Message-ID: References: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] [PATCH] Add SORT_NATURAL and SORT_CASE support to array_multisort From: derick@php.net (Derick Rethans) On Thu, 28 Jul 2011, Arpad Ray wrote: > 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. Looks good to me! Derick -- http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug