Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64297 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49133 invoked from network); 16 Dec 2012 12:24:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Dec 2012 12:24:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=lars@strojny.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lars@strojny.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain strojny.net from 46.4.40.248 cause and error) X-PHP-List-Original-Sender: lars@strojny.net X-Host-Fingerprint: 46.4.40.248 milch.schokokeks.org Received: from [46.4.40.248] ([46.4.40.248:56398] helo=milch.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D5/E5-27715-49DBDC05 for ; Sun, 16 Dec 2012 07:24:52 -0500 Received: from [192.168.178.32] (ppp-88-217-76-237.dynamic.mnet-online.de [::ffff:88.217.76.237]) (AUTH: PLAIN lars@schokokeks.org, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by milch.schokokeks.org with ESMTPSA; Sun, 16 Dec 2012 13:24:48 +0100 id 0000000000000029.0000000050CDBD90.00005DEA Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) In-Reply-To: Date: Sun, 16 Dec 2012 13:24:48 +0100 Cc: Herman Radtke , "=?iso-8859-1?Q?=22=C1ngel_Gonz=E1lez=22?=" , Nikita Nefedov , "internals@lists.php.net" Content-Transfer-Encoding: quoted-printable Message-ID: <4DBD0EA5-C45B-4C12-BFE9-E263B255B2C3@strojny.net> References: <50C63A7C.8090705@gmail.com> To: Derick Rethans X-Mailer: Apple Mail (2.1499) Subject: Re: [PHP-DEV] DateTime improvement From: lars@strojny.net (Lars Strojny) This is so cool, thanks Derick! If you need help with testing or = anything else, let me know. Am 16.12.2012 um 13:21 schrieb Derick Rethans : > On Tue, 11 Dec 2012, Derick Rethans wrote: >=20 >> On Mon, 10 Dec 2012, Herman Radtke wrote: >>=20 >>> Another option is to make an ImmutableDateTime class. The DateTime >>> class could actually be changed to inherit the ImmutableDateTime >>> class. The only extensions on the DateTime class would be the = mutable >>> methods. >>=20 >> I'm not really against that, but we do need to use the Date namespace = -=20 >> so DateTimeImmutable. It might be trickier to do than it sounds=20 >> though... >=20 > I've started hacking on this - with some luck I'm done before PHP 5.5=20= > beta1. >=20 > cheers, > Derick >=20 > --=20 > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >=20