Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77613 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40635 invoked from network); 25 Sep 2014 08:00:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Sep 2014 08:00:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=leight@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=leight@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.51 as permitted sender) X-PHP-List-Original-Sender: leight@gmail.com X-Host-Fingerprint: 74.125.82.51 mail-wg0-f51.google.com Received: from [74.125.82.51] ([74.125.82.51:42898] helo=mail-wg0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 14/05-06184-F9BC3245 for ; Thu, 25 Sep 2014 04:00:32 -0400 Received: by mail-wg0-f51.google.com with SMTP id z12so3587028wgg.34 for ; Thu, 25 Sep 2014 01:00:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dkQR+T9CBGmYTjKridZIBQczixpHSYSa8OYG4wIjfSM=; b=hzDNf+WYoXlvvxJJQ7RB//acKkORWUE/6RY2/pFTLQqjNROET6ZlnIwk6DbbT4Wbdy +gGmr1j+abR00R/MMwmSU06ywdTZ7KxXxVM5KAzTydYaG74QQzG/aPGv8rX54LoPxgzx n4r2EJkUfFZhIDPQJ57uL1JiAC1HubaaMxo2Cb1/uWgK9y0PWSfklPMDbDJlN9ChskBJ CWcgCGANmntYLtccBwWnZgXHw8gmDKTYzt0+byDEH9knpbKCWApqZU5S+mTod5Wbsd+k 3GJSF2BAj2RnfiBcAn2My0+8LyXFgMQQRAzLrEJ2S/rmAucD0fTfwSfHToKs4FVgrsMO 6Nyw== MIME-Version: 1.0 X-Received: by 10.180.10.38 with SMTP id f6mr17043279wib.30.1411632028252; Thu, 25 Sep 2014 01:00:28 -0700 (PDT) Received: by 10.217.55.195 with HTTP; Thu, 25 Sep 2014 01:00:28 -0700 (PDT) In-Reply-To: References: Date: Thu, 25 Sep 2014 09:00:28 +0100 Message-ID: To: Dmitry Stogov Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [VOTE] Fix list() behavior inconsistency From: leight@gmail.com (Leigh) On 25 September 2014 08:42, Dmitry Stogov wrote: > Hi, > > The vote is opened at > https://wiki.php.net/rfc/fix_list_behavior_inconsistency > > Thanks. Dmitry. Since in the "should people be allowed to vote" thread, I said I think people should explain their votes, here is my explanation :) I am voting disable. +1 for consistency, but I think we already have a pretty rich suite of functions for working with strings that do not work with arrays, and vice versa. I think enabling list() to work on strings sets a precedent that more/all array handling mechanisms should be made to work with strings, and I'm not sure that's something we want. We've defined list as not working with strings in the manual, lets stick to our own definition.