Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7142 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70043 invoked by uid 1010); 16 Jan 2004 23:06:20 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 69987 invoked from network); 16 Jan 2004 23:06:20 -0000 Received: from unknown (HELO localhost.localdomain) (216.179.74.133) by pb1.pair.com with SMTP; 16 Jan 2004 23:06:20 -0000 Received: by localhost.localdomain (Postfix, from userid 1000) id B980B4EB90; Sat, 17 Jan 2004 00:06:03 +0100 (CET) Date: Fri, 16 Jan 2004 18:06:03 -0500 To: Christian Schneider Cc: Adam Maccabee Trachtenberg , internals@lists.php.net Message-ID: <20040116230603.GJ2127@bumblebury.com> References: <132109560218.20040115204833@marcus-boerger.de> <40086DD5.3060106@cschneid.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40086DD5.3060106@cschneid.com> User-Agent: Mutt/1.5.5.1+cvs20040105i Subject: Re: [PHP-DEV] __toString() with strval() and settype() From: sterling@php.net (Sterling Hughes) > Adam Maccabee Trachtenberg wrote: > >Anyone else care to chime in here? If we're really moving to RC1, I > > So to summarize that'd be > echo, print, (string), strval() and settype() > using __toString(), right? Sounds +1 to me. > settype() is a tricky one - i think it should fail for objects, as it could cause destruction of the underlying object, as we don't have magic (in the perl internals meaning of the world). -sterling -- "Reductionists like to take things apart. The rest of us are just trying to get it together." - Larry Wall, Programming Perl, 3rd Edition