Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20533 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3034 invoked by uid 1010); 26 Nov 2005 12:51:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 3019 invoked from network); 26 Nov 2005 12:51:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Nov 2005 12:51:57 -0000 X-Host-Fingerprint: 195.197.172.116 gw02.mail.saunalahti.fi Linux 2.4/2.6 Received: from ([195.197.172.116:38334] helo=gw02.mail.saunalahti.fi) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 2A/CC-56276-D6A58834 for ; Sat, 26 Nov 2005 07:51:57 -0500 Received: from nest.netphobia.fi (YZDCXXXI.dsl.saunalahti.fi [85.76.35.232]) by gw02.mail.saunalahti.fi (Postfix) with ESMTP id 8480FD8C08; Sat, 26 Nov 2005 14:51:50 +0200 (EET) Received: from nest.netphobia.fi (nest.netphobia.fi [127.0.0.1]) by nest.netphobia.fi (8.13.1/8.13.1) with ESMTP id jAQCpqcZ002009; Sat, 26 Nov 2005 14:51:52 +0200 Received: from localhost (jani@localhost) by nest.netphobia.fi (8.13.1/8.13.1/Submit) with ESMTP id jAQCppIm002006; Sat, 26 Nov 2005 14:51:51 +0200 X-Authentication-Warning: nest.netphobia.fi: jani owned process doing -bs Date: Sat, 26 Nov 2005 14:51:51 +0200 (EET) Reply-To: Jani Taskinen To: Andrei Zmievski cc: Ilia Alshanetsky , internals@lists.php.net In-Reply-To: <9784192ddeca75a1d77f5536f909b957@gravitonic.com> Message-ID: References: <4387E97B.4040300@prohost.org> <9784192ddeca75a1d77f5536f909b957@gravitonic.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [PHP-DEV] Solution to date issue in 5.1 From: sniper@iki.fi (Jani Taskinen) So you're also for letting PEAR dictate what PHP has and not the other way around? Somehow this doesn't sound right. --Jani On Fri, 25 Nov 2005, Andrei Zmievski wrote: > > 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. >> > >