Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66832 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74093 invoked from network); 27 Mar 2013 13:14:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Mar 2013 13:14:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.50 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.215.50 mail-la0-f50.google.com Received: from [209.85.215.50] ([209.85.215.50:56424] helo=mail-la0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F5/C7-30100-7B0F2515 for ; Wed, 27 Mar 2013 08:14:32 -0500 Received: by mail-la0-f50.google.com with SMTP id ec20so15671337lab.9 for ; Wed, 27 Mar 2013 06:14:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=wraab643Q+CJP3FS7/S35P2w9jUKwXRJol8ZpfirML0=; b=Gxsgz/g/JsEvtgMpcJKH8D0bdQpEusdlLx5HZAapVrOTlwUIy0KcBYnG0sjNhYM0Vl j+YzkAyzVmwYysu+1eBdfArCEU6Jr4gQuifuxNWatqCklTyBAw+MG0bdw6HBpVH4+Ci+ mPjBN6q5kY2w9WWdiND+qA61gLRQwV5poJKnZ+OZcCcACcWWF+hWIb3hZkcN6jCPw4Jw npJmG2q2JKb+3B48Ef8GOxvDW/V98PX8MZy4qjz6cTZYVmNZm13JrWw+wRyYtrVWPbdx 1uqCv1ACgkIQgVvKFZOuVGKu8L4vqhn2cns9d81k+RbGZr4PwpZ3yeMwnQIrkcAfoCkP tkQw== MIME-Version: 1.0 X-Received: by 10.112.43.198 with SMTP id y6mr10324892lbl.93.1364390068919; Wed, 27 Mar 2013 06:14:28 -0700 (PDT) Received: by 10.112.38.199 with HTTP; Wed, 27 Mar 2013 06:14:28 -0700 (PDT) In-Reply-To: <5152EACD.1000808@heigl.org> References: <5152E8EA.8040701@seld.be> <5152EACD.1000808@heigl.org> Date: Wed, 27 Mar 2013 14:14:28 +0100 Message-ID: To: Andreas Heigl Cc: Jordi Boggiano , PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] DateTimeImmutable From: pierre.php@gmail.com (Pierre Joye) On Wed, Mar 27, 2013 at 1:49 PM, Andreas Heigl 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