Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17224 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33357 invoked by uid 1010); 11 Jul 2005 17:19:07 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 33342 invoked from network); 11 Jul 2005 17:19:07 -0000 Received: from unknown (HELO gravitonic.com) (127.0.0.1) by localhost with SMTP; 11 Jul 2005 17:19:07 -0000 X-Host-Fingerprint: 216.145.54.171 mrout1.yahoo.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from ([216.145.54.171:36689] helo=mrout1.yahoo.com) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id B7/07-25935-A0AA2D24 for ; Mon, 11 Jul 2005 13:19:07 -0400 Received: from [66.228.175.145] (borndress-lm.corp.yahoo.com [66.228.175.145]) by mrout1.yahoo.com (8.13.4/8.13.4/y.out) with ESMTP id j6BHH087064740; Mon, 11 Jul 2005 10:17:00 -0700 (PDT) In-Reply-To: <1521669215.20050708220635@marcus-boerger.de> References: <5.1.0.14.2.20050707164528.02833cc0@localhost> <20050708021723.46bb4484.pierre@dotgeek.org> <200507081330.46764.edink@emini.dk> <1521669215.20050708220635@marcus-boerger.de> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: <7478683f66df1c82c5470d37854fe32b@gravitonic.com> Content-Transfer-Encoding: 7bit Cc: internals@lists.php.net, Pierre-Alain Joye , Derick Rethans , Edin Kadribasic Date: Mon, 11 Jul 2005 10:16:45 -0700 To: Marcus Boerger X-Mailer: Apple Mail (2.622) Subject: Re: [PHP-DEV] date/timezone classes From: andrei@gravitonic.com (Andrei Zmievski) 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. > > > -- > Best regards, > Marcus mailto:mail@marcus-boerger.de > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php