Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23956 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86332 invoked by uid 1010); 5 Jun 2006 05:35:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 86316 invoked from network); 5 Jun 2006 05:35:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jun 2006 05:35:06 -0000 X-PHP-List-Original-Sender: php-php-dev@m.gmane.org X-Host-Fingerprint: 80.91.229.2 main.gmane.org Linux 2.5 (sometimes 2.4) (4) Received: from ([80.91.229.2:54474] helo=ciao.gmane.org) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 28/FA-00946-982C3844 for ; Mon, 05 Jun 2006 01:35:05 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Fn7jy-0002Zl-Kh for internals@lists.php.net; Mon, 05 Jun 2006 07:35:02 +0200 Received: from 137.80-202-59.nextgentel.com ([80.202.59.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Jun 2006 07:35:02 +0200 Received: from sb by 137.80-202-59.nextgentel.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Jun 2006 07:35:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Mon, 05 Jun 2006 07:33:27 +0200 Lines: 10 Message-ID: References: <795156743.20060603134212@marcus-boerger.de> <20060603143639.GF5355@desario.homelinux.net> <509342741.20060603183859@marcus-boerger.de> <7.0.1.0.2.20060603175211.02208a50@zend.com> <20060604030100.1093d2f9@pierre-u64> <7.0.1.0.2.20060603181129.0396fc18@zend.com> <44823B41.5000608@akbkhome.com> <44823C51.7040408@lerdorf.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 137.80-202-59.nextgentel.com User-Agent: Thunderbird 1.5.0.4 (X11/20060603) In-Reply-To: <44823C51.7040408@lerdorf.com> X-Enigmail-Version: 0.94.0.0 Sender: news Subject: Re: [PHP-DEV] Missing __toString() part From: sb@sebastian-bergmann.de (Sebastian Bergmann) Rasmus Lerdorf wrote: > I think if we are going to add a toHash thing, it should trigger when > the object is used in a hash context, just like toString triggers when > it is used in a string context. This makes sense to me, too. -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69