Re: DateTimeImmutable

From: Date: Thu, 28 Mar 2013 09:26:00 +0000
Subject: Re: DateTimeImmutable
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-66846@lists.php.net to get a copy of this message
On Thu, 28 Mar 2013 13:04:44 +0400, Lars Strojny <lars@strojny.net> wrote:
Hi Derick, Am 27.03.2013 um 21:53 schrieb Derick Rethans <derick@php.net>:
On Tue, 26 Mar 2013, Michael Wallner wrote:
providing DateTimeImmutable as a sibling to DateTime.
That's fine with me, but I am not having the time to work on a patch right now.
Happens. Let’s revert it till somebody finds some time to do it. Could you revert it? cu, Lars -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Hi, Sorry, maybe I missed something, but what the consensus did we achieve here? Make an interface? Or maybe make an abstract class with constructor, late static binded fabric methods (which btw could solve problems with making custom datetime class in userland), and some of the methods like diff and so on? Or maybe something else? PS I think I can make a patch on these weekends.

« previous php.internals (#66846) next »