Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20515 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51828 invoked by uid 1010); 26 Nov 2005 11:06:01 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 51812 invoked from network); 26 Nov 2005 11:06:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Nov 2005 11:06:01 -0000 X-Host-Fingerprint: 194.73.73.212 c2bthomr04.btconnect.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from ([194.73.73.212:18256] helo=c2bthomr04.btconnect.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 6B/F5-56276-89148834 for ; Sat, 26 Nov 2005 06:06:01 -0500 Received: from [10.0.0.9] (host81-138-11-136.in-addr.btopenworld.com [81.138.11.136]) by c2bthomr04.btconnect.com (MOS 3.5.9-GR) with ESMTP id DND79512; Sat, 26 Nov 2005 11:05:28 GMT Message-ID: <43884194.1020000@lsces.co.uk> Date: Sat, 26 Nov 2005 11:05:56 +0000 Organization: L.S.Caine Electronic Services User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en, en-us MIME-Version: 1.0 To: internals@lists.php.net References: <4387E97B.4040300@prohost.org> <4387FC1E.5050207@lerdorf.com> In-Reply-To: <4387FC1E.5050207@lerdorf.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Solution to date issue in 5.1 From: lester@lsces.co.uk (Lester Caine) Rasmus Lerdorf wrote: > Ilia Alshanetsky wrote: > >> The attached patch is a possible solution to the date *crisis*, it >> renames the class to PhpDate to avoid any namespace conflicts with pear >> or custom user classes called date. >> >> If there are no strong objection 5.1.1 (5.1.0 + this patch and nothing >> else) goes out on Monday. > > I don't think choosing a precedent for a class naming convention should > be done under duress like this. I say just ifdef it back out then and > put those constants back as they were before. This class doesn't buy us > anything. It's just a forward-looking thing that really shouldn't go in > unless we can all agree on what it is we are looking forward at. I strikes me that there is a more subtle problem here which goes beyond just renaming Date, since we have had a period where people ARE building their own libraries with their own classes. So while the current niggle is Date, any new core class can potentially cause a problem. Before we have any movement forward, a agreed method of ring fencing core classes has to be sorted out since this was not implemented previously? -- Lester Caine ----------------------------- L.S.Caine Electronic Services Treasurer - Firebird Foundation Inc.