Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20433 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69332 invoked by uid 1010); 25 Nov 2005 19:55:37 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 69317 invoked from network); 25 Nov 2005 19:55:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Nov 2005 19:55:37 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:49340] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 33/D5-56276-73C67834 for ; Fri, 25 Nov 2005 14:55:36 -0500 Received: from [192.168.1.3] (dslb-084-063-047-015.pools.arcor-ip.net [84.63.47.15]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 1E9B7610282; Fri, 25 Nov 2005 21:01:44 +0100 (CET) Date: Fri, 25 Nov 2005 20:53:34 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1243723423.20051125205334@marcus-boerger.de> To: Andi Gutmans Cc: Rasmus Lerdorf , Ilia Alshanetsky , Sascha Schumann , In-Reply-To: <7.0.0.16.2.20051125094247.02c63890@zend.com> References: <7.0.0.16.2.20051124161240.0573e640@zend.com> <20051125034515.6fefa4e2@localhost.localdomain> <43867C6C.2010209@prohost.org> <20051125040950.26305e08@localhost.localdomain> <43869FC5.4060708@lerdorf.com> <20051125075501.79718ee6@localhost.localdomain> <1132903004.9936.25.camel@localhost.localdomain> <1086017308.20051125091648@marcus-boerger.de> <438709AC.3020808@prohost.org> <43870FE6.7040609@prohost.org> <43873C62.6030602@lerdorf.com> <7.0.0.16.2.20051125091637.02c6da38@zend.com> <7.0.0.16.2.20051125094247.02c63890@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: PHP 5.1 (Or How to break thousands of apps out there) From: helly@php.net (Marcus Boerger) Hello Andi, Friday, November 25, 2005, 6:43:25 PM, you wrote: > BTW, just to clarify, I am not against a Date class (whatever its > name) in the long run but I think it'd probably be a combination of > work Derick, Pierre and new contributions. Yes from my point of view there could coexist a base class that supports all basic features and an advanced class happily in one php universe and there is even place for peoples own stuff and of course a PEAR_Date (or however named too). The base class could for instance have methods that return iterators for date ranges, say DateRange or DateIterator. That would allow pretty neat code and ease the pain in heavy date dependant code very much. (Actually something i proposed right from the first moment i heared of pecl/date or ext/date). Best regards, Marcus