Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41383 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85999 invoked from network); 26 Oct 2008 14:24:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Oct 2008 14:24:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=Johannes.Schlueter@Sun.COM; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 192.18.6.21 as permitted sender) X-PHP-List-Original-Sender: johannes@php.net X-Host-Fingerprint: 192.18.6.21 gmp-eb-inf-1.sun.com Solaris 10 (beta) Received: from [192.18.6.21] ([192.18.6.21:47980] helo=gmp-eb-inf-1.sun.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D7/02-64555-B8D74094 for ; Sun, 26 Oct 2008 09:24:23 -0500 Received: from fe-emea-10.sun.com (gmp-eb-lb-2-fe3.eu.sun.com [192.18.6.12]) by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m9QEO8ZX008563 for ; Sun, 26 Oct 2008 14:24:08 GMT Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0K9C00401NVBZI00@fe-emea-10.sun.com> (original mail from johannes@php.net) for internals@lists.php.net; Sun, 26 Oct 2008 14:24:08 +0000 (GMT) Received: from [192.168.1.103] ([88.217.88.87]) by fe-emea-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0K9C00240NZZ2A10@fe-emea-10.sun.com>; Sun, 26 Oct 2008 14:24:08 +0000 (GMT) Date: Sun, 26 Oct 2008 15:23:53 +0100 In-reply-to: <2dedb8a0810260632k53529eafma4f760afaf4f5a8@mail.gmail.com> Sender: Johannes.Schlueter@Sun.COM To: Kalle Sommer Nielsen Cc: PHP Development , Lukas Kahwe Smith Message-ID: <1225031033.6991.5.camel@goldfinger.johannes.nop> MIME-version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Content-type: text/plain Content-transfer-encoding: 7BIT References: <2dedb8a0810260632k53529eafma4f760afaf4f5a8@mail.gmail.com> Subject: Re: [PHP-DEV] Resource constants From: johannes@php.net (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Sun, 2008-10-26 at 14:32 +0100, Kalle Sommer Nielsen wrote: > So, I propose its either being a "supported" feature, or simply put an > deprecation notice on it (5.3) and remove it HEAD. I personally vote > for the last option, as I don't think resources should be constants as > they do not have the constant value even though they do on some level. I recently discussed the same issue on IRC, (due to #45982) we can't get rid of resources in constants completely as we need that for STDIN, STDOU, STDERR constants. We might still block users from doing but I don't see real benefit from doing that - I think it's ok to have undocumented features ... :-) johannes