Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19163 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92053 invoked by uid 1010); 25 Sep 2005 18:20:37 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 92038 invoked from network); 25 Sep 2005 18:20:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Sep 2005 18:20:37 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:50144] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id DB/4F-24510-47AE6334 for ; Sun, 25 Sep 2005 14:20:37 -0400 Received: (qmail 11487 invoked from network); 25 Sep 2005 18:20:32 -0000 Received: from localhost (HELO ANDI-NOTEBOOK.zend.com) (127.0.0.1) by localhost with SMTP; 25 Sep 2005 18:20:32 -0000 Message-ID: <6.2.3.4.2.20050925111953.04a14c30@localhost> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Sun, 25 Sep 2005 11:20:25 -0700 To: "Ron Korving" ,internals@lists.php.net In-Reply-To: <3C.9D.24510.7A3E6334@pb1.pair.com> References: <1728334199.20050925143657@marcus-boerger.de> <3C.9D.24510.7A3E6334@pb1.pair.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] Re: [PATCH] __toString() From: andi@zend.com (Andi Gutmans) Nope, it's too far-reaching for it to make it into 5.1. It will take some time to be sure that it doesn't screw up anyplace (similar to the infamous shutdown problems)... At 10:46 AM 9/25/2005, Ron Korving wrote: >Marcus, you are my hero :) >Will it end up in 5.1? > >Ron > >"Marcus Boerger" wrote in message >news:1728334199.20050925143657@marcus-boerger.de... > > Hello internals, > > > > the patch implements __toString to have obejcts be automatically >converted > > to strings anywhere a string is requested. We have talked a lot about this > > in the past and during OSCON Andi agreed again on it and said that the >HEAD > > version of the engine should be ready for it now. Futher more we have >enough > > time to fix any outstanding engine issues regarding this. > > > > http://php.net/~helly/php/ext/ze2/ze2-tostring-20050925.diff.txt > > > > If nobody objects with a real technical issue i'll commit the patch >early > > in the week. > > > > The patch is a little big longer because it ensures that __toString gets > > treated and especially gets cached just like any other magic function is. > > > > Best regards, > > Marcus > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php