Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62746 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83341 invoked from network); 3 Sep 2012 15:15:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Sep 2012 15:15:38 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:40492] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3F/5C-20751-A99C4405 for ; Mon, 03 Sep 2012 11:15:38 -0400 Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 0D528DE13E; Mon, 3 Sep 2012 16:15:35 +0100 (BST) Date: Mon, 3 Sep 2012 16:15:34 +0100 (BST) X-X-Sender: derick@whisky.home.derickrethans.nl To: Benjamin Eberlei cc: PHP Developers Mailing List In-Reply-To: Message-ID: References: <5043C3E9.2010105@ajf.me> <5043C5AF.3060701@ajf.me> <5043C74C.8020400@ajf.me> <5043D8C0.3020802@lsces.co.uk> <5044715E.3050504@rotorised.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] RFC for Adding __toString to DateTime From: derick@php.net (Derick Rethans) On Mon, 3 Sep 2012, Benjamin Eberlei wrote: > as i said above, a global option will make this feature completly unusable > for libraries. For Doctrine we would really like to have __toString() for > datetime primary keys (identity map), but we need a reliable stable > lossless format that can never change. Just wondering - would a userland inherited class not work for you? cheers, Derick -- http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug Posted with an email client that doesn't mangle email: alpine