Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64583 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46064 invoked from network); 6 Jan 2013 00:23:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jan 2013 00:23:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.220.176 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.220.176 mail-vc0-f176.google.com Received: from [209.85.220.176] ([209.85.220.176:38189] helo=mail-vc0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 38/30-62408-604C8E05 for ; Sat, 05 Jan 2013 19:23:36 -0500 Received: by mail-vc0-f176.google.com with SMTP id fo13so17633325vcb.7 for ; Sat, 05 Jan 2013 16:23:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding:x-gm-message-state; bh=oxwSxa45T44q0s5q4YX9RCebB399T/jqnvXIDLqxpkk=; b=heRRPLb1FA49laHf1vvrigY4rylyQ0zLZa11ge74rT6ldhSrwpMnn3KPtrPaEnebdo i3eGXrsaDsXIb1szgsijOK9qyMHZzOkvk3tK5q7bDyEgGlQ/v81yELuj6Jq1rgmNpVyz oCSGvYdZS5dgd5yFTdmetZg08KJhyOkyJTfMaILXGbtdTan8oZn/HwsdnMt4w8p9VZsj /xlBaaMbN+fGQ17nZZLr7w9EVK7r4G9LSsWJjtfSiyPUJerGEieQvggLfjfgKNIsgIHs XK5JJuEW6gK07C4K180ueMBbE+E30LUgllmd/RS4QroM4R7gGFwREhbwd8wm/uM/TdYm oy9g== X-Received: by 10.220.115.20 with SMTP id g20mr80176184vcq.31.1357431812177; Sat, 05 Jan 2013 16:23:32 -0800 (PST) Received: from [192.168.200.148] (c-50-131-44-225.hsd1.ca.comcast.net. [50.131.44.225]) by mx.google.com with ESMTPS id di16sm49373245vdb.11.2013.01.05.16.23.30 (version=SSLv3 cipher=OTHER); Sat, 05 Jan 2013 16:23:31 -0800 (PST) Message-ID: <50E8C401.1090102@lerdorf.com> Date: Sat, 05 Jan 2013 16:23:29 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Kris Craig CC: Stas Malyshev , Nikita Nefedov , "internals@lists.php.net" References: <50E8ADF5.6070504@sugarcrm.com> <50E8B7FB.6050506@lerdorf.com> <50E8B99B.1060703@lerdorf.com> In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQmx6IjeByn7i9mtKJQD3EJtvDbx/Ir4vanbsvV5HaEGic9nj+qMXy/xu0ZMC1kIa0px0gx5 Subject: Re: [PHP-DEV] Ruby's symbols From: rasmus@lerdorf.com (Rasmus Lerdorf) On 01/05/2013 03:43 PM, Kris Craig wrote: > Granted, but other use-cases have already been presented as well. > Obviously the one I suggested would no longer be useful if PHP adopts > enums. Actually, I didn't see any other cases. The fact that we have interned immutable strings in PHP invalidated all the other cases presented so far. -Rasmus