On Wed, Mar 27, 2013 at 1:49 PM, Andreas Heigl <andr...@heigl.org> wrote: > Am 27.03.13 13:41, schrieb Jordi Boggiano: >> On 27.03.2013 13:18, Lars Strojny wrote: >>> Not really, as an interface guarantees behavior, which is not possible for >>> DateTimeImmutable and DateTime. >> >> The interface could be a subset of DateTime public methods, including >> only the readonly ones. >> >> I can't imagine how this could possibly be named in a sane way though :/ > > DateTimeInterface or DateTimeROInterface?
I'd to re post Lars suggestion from another thread. Do a RFC. This is going again in all possible directions and I fear that we will not get a good solution at the end of the day. Cheers, -- Pierre @pierrejoye -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php