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 <der...@php.net>: > On Tue, 11 Dec 2012, Derick Rethans wrote: > >> On Mon, 10 Dec 2012, Herman Radtke wrote: >> >>> 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. >> >> I'm not really against that, but we do need to use the Date namespace - >> so DateTimeImmutable. It might be trickier to do than it sounds >> though... > > I've started hacking on this - with some luck I'm done before PHP 5.5 > beta1. > > cheers, > Derick > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php