Re: Re: [PATCH] __toString()
| From: | Ron Korving | Date: | Sun, 25 Sep 2005 18:55:09 +0000 |
| Subject: | Re: Re: [PATCH] __toString() | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19165@lists.php.net to get a copy of this message | ||
I knew I had forgotten something ;)
Ron
"Marcus Boerger" <helly@php.net> wrote in message
news:899874576.20050925203300@marcus-boerger.de...
> Hello Ron,
>
> no, we declined it for 5.1 becasue it was to late in release process
> when we (i) rememebred it....so blame me for not having it in 5.1, or
blame
> yourself for not reminding us :-)
>
> regards
> marcus
>
> Sunday, September 25, 2005, 7:46:09 PM, you wrote:
>
> > Marcus, you are my hero :)
> > Will it end up in 5.1?
>
> > Ron
>
> > "Marcus Boerger" <helly@php.net> 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
>
>
>
>
> Best regards,
> Marcus