Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20491 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38395 invoked by uid 1010); 26 Nov 2005 05:39:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 38380 invoked from network); 26 Nov 2005 05:39:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Nov 2005 05:39:11 -0000 X-Host-Fingerprint: 204.11.219.139 lerdorf.com Linux 2.4/2.6 Received: from ([204.11.219.139:58363] helo=colo.lerdorf.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id F1/49-56276-EF4F7834 for ; Sat, 26 Nov 2005 00:39:10 -0500 Received: from [192.168.11.3] (c-24-6-96-18.hsd1.ca.comcast.net [24.6.96.18]) (authenticated bits=0) by colo.lerdorf.com (8.13.5/8.13.5/Debian-3) with ESMTP id jAQ5d5bZ028982; Fri, 25 Nov 2005 21:39:06 -0800 In-Reply-To: <4387E97B.4040300@prohost.org> References: <4387E97B.4040300@prohost.org> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: <9784192ddeca75a1d77f5536f909b957@gravitonic.com> Content-Transfer-Encoding: 7bit Cc: internals@lists.php.net Date: Fri, 25 Nov 2005 21:39:38 -0800 To: Ilia Alshanetsky X-Mailer: Apple Mail (2.623) Subject: Re: [PHP-DEV] Solution to date issue in 5.1 From: andrei@gravitonic.com (Andrei Zmievski) I have to ask: what does renaming really buy us? The only purpose of introducing this class in RC6, as far as I can tell, was to reserve the 'Date' name for future use. Since this goal is clearly unachievable, what is the point of keeping a barely functional class around (as PhpDate)? In my opinion, we should remove it (#ifdef it out), and wait until we are ready for the full implementation and can pick a good name, or until we have namespaces and can use them to separate PHP's own classes. - Andrei On Nov 25, 2005, at 8:50 PM, 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. >