Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66829 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63908 invoked from network); 27 Mar 2013 12:41:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Mar 2013 12:41:20 -0000 Authentication-Results: pb1.pair.com header.from=j.boggiano@seld.be; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=j.boggiano@seld.be; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain seld.be designates 209.85.215.178 as permitted sender) X-PHP-List-Original-Sender: j.boggiano@seld.be X-Host-Fingerprint: 209.85.215.178 mail-ea0-f178.google.com Received: from [209.85.215.178] ([209.85.215.178:57608] helo=mail-ea0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D3/85-30100-EE8E2515 for ; Wed, 27 Mar 2013 07:41:20 -0500 Received: by mail-ea0-f178.google.com with SMTP id o10so251840eaj.23 for ; Wed, 27 Mar 2013 05:41:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding:x-gm-message-state; bh=pMgTkB+l9cTG6ulfGG3Tzk+6MZzmx3kyKqLYbfcCVaI=; b=Y34fy1Y3Xhg8NsNPFPTrjzHh/3sMfsFLfvUTpNk0IgYY72rZBpdjvwjyBrgnb+Jnr8 xcyCkTZPvO2kqn/HZ58ykcTL5VlHy+EMGRZQQyLh15AvR7fxqYr9hincZVzN3ErYN92/ JeCFthPDee2+c6FPvxSdNZB0azmHNDwhcE2Kjzh2oaSaLDnP0J8Y3UvCIAJA+HTrY7ij g2KxMrKRXcwE1ZurO/aV/gHIc6sG3KJQyVoMJkpC8gIXebaRHpQWgpFKZrh2j+WrxozZ 1TfOrxst3j70StRQCfTHus5YUtAp3UuvCze81qQbKA7XyqjVDaYwPvA7eL/afy8eCfnS zF4A== X-Received: by 10.15.43.132 with SMTP id x4mr55779314eev.31.1364388076076; Wed, 27 Mar 2013 05:41:16 -0700 (PDT) Received: from [192.168.199.120] (46-126-108-24.dynamic.hispeed.ch. [46.126.108.24]) by mx.google.com with ESMTPS id h5sm31079006eem.1.2013.03.27.05.41.13 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Mar 2013 05:41:14 -0700 (PDT) Message-ID: <5152E8EA.8040701@seld.be> Date: Wed, 27 Mar 2013 13:41:14 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: internals@lists.php.net References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkmlQzkwK160nDmqIlonP/tZwbwTxHH3nkJsJW8y1K5Vh/V1fRUd2z8BENFNA9bq/AKIQSb Subject: Re: [PHP-DEV] DateTimeImmutable From: j.boggiano@seld.be (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 :/ Cheers -- Jordi Boggiano @seldaek - http://nelm.io/jordi