Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17227 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81207 invoked by uid 1010); 11 Jul 2005 18:15:02 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 81192 invoked from network); 11 Jul 2005 18:15:02 -0000 Received: from unknown (HELO marcus-boerger.de) (127.0.0.1) by localhost with SMTP; 11 Jul 2005 18:15:02 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:54941] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id F6/2D-25935-427B2D24 for ; Mon, 11 Jul 2005 14:15:00 -0400 Received: from baumbart.mbo (dsl-082-083-243-168.arcor-ip.net [82.83.243.168]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 7782B35C36B; Mon, 11 Jul 2005 20:31:03 +0200 (CEST) Date: Mon, 11 Jul 2005 20:12:55 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <911977902.20050711201255@marcus-boerger.de> To: Andrei Zmievski Cc: internals@lists.php.net, Pierre-Alain Joye , Derick Rethans , Edin Kadribasic In-Reply-To: <7478683f66df1c82c5470d37854fe32b@gravitonic.com> References: <5.1.0.14.2.20050707164528.02833cc0@localhost> <20050708021723.46bb4484.pierre@dotgeek.org> <200507081330.46764.edink@emini.dk> <1521669215.20050708220635@marcus-boerger.de> <7478683f66df1c82c5470d37854fe32b@gravitonic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] date/timezone classes From: mail@marcus-boerger.de (Marcus Boerger) Hello Andrei, ++++++++1 Monday, July 11, 2005, 7:16:45 PM, you wrote: > Can we please wrap up the whole OO/non-OO discussion and just fix the > damn ext/date so that it works as advertised? The rest can be done > later. Let's not hold up RC1 unless really necessary. > -Andrei > On Jul 8, 2005, at 1:06 PM, Marcus Boerger wrote: >> Hello Derick, >> >> Friday, July 8, 2005, 2:31:14 PM, you wrote: >> >>> On Fri, 8 Jul 2005, Edin Kadribasic wrote: >> >>>> I would love to be able to do something like this: >>>> >>>> $d = new Date(time()); >>>> $d->month++; >>>> $d->print("Y-m-d"); // date() equiv. >> >>> Adding methods is no problem, that's what you get for free anyway, I >>> just think that $d->month is too much magic, and not reproducable in >>> non >>> OO. >> >> I wouldn't care for non oo here. And instead pretty much appreciate >> such >> stuff since it'd heavliy simplify working on calendar tools and still >> have nice readable code.