Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87217 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88073 invoked from network); 21 Jul 2015 11:01:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jul 2015 11:01:32 -0000 Authentication-Results: pb1.pair.com header.from=ocramius@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ocramius@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.53 as permitted sender) X-PHP-List-Original-Sender: ocramius@gmail.com X-Host-Fingerprint: 74.125.82.53 mail-wg0-f53.google.com Received: from [74.125.82.53] ([74.125.82.53:35576] helo=mail-wg0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 42/42-03461-8862EA55 for ; Tue, 21 Jul 2015 07:01:29 -0400 Received: by wgav7 with SMTP id v7so87575740wga.2 for ; Tue, 21 Jul 2015 04:01:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=Syg1O5cGMznNsWzaeiRjX0HoVWcnyCvLRZzAYrDA1CM=; b=f+gbpZJadqtT+xKOsqFXPp+ID2biyxoYThkrUQSGBc/a+fAwzSUkk6wDU9lX2Q7Sh7 78mYntIdtlaht/bwivpsw8SWbxXVwX9iABPT7iMQ78aEuB2jVBx62plWLJqf26LktWfs 7RJ4flQfWrrrwmb630o9SZms+C8R+TU12u10d/Z3js7P1WAZW+fDHe/pb7+Rkdd9ijsI BcACfKNlqJ3L64LkPx1SPAUX9xENjAbE6cPUrTFMKOkolDHIwJgQi9QfhdQg7ovxJAmF 2kEYH6T12ANPZyYC/mVoRkR8FFElx2Ury/XY05/S6im8Qm0/wFbXOQwn0x6mGQy8qYOm tRfQ== X-Received: by 10.194.95.71 with SMTP id di7mr67384072wjb.125.1437476485698; Tue, 21 Jul 2015 04:01:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.49.133 with HTTP; Tue, 21 Jul 2015 04:01:06 -0700 (PDT) Date: Tue, 21 Jul 2015 12:01:06 +0100 Message-ID: To: PHP Internals List Content-Type: multipart/alternative; boundary=047d7bea43d64d9c1d051b60937c Subject: DateTimeInterface is not a usable interface? From: ocramius@gmail.com (Marco Pivetta) --047d7bea43d64d9c1d051b60937c Content-Type: text/plain; charset=UTF-8 Hello, I was looking at DateTimeInterface in order to provide my own implementation of it, when I hit this: http://3v4l.org/8GvgO > "Fatal error: DateTimeInterface can't be implemented by user classes in" Is there any actual reason for this kind of limitation? Can it be removed before going stable? I also wasn't able to find any RFC information around it on https://wiki.php.net/rfc#php_55 - is there any previous discussion around this, or did it just sneak its way in? Greets, Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ --047d7bea43d64d9c1d051b60937c--