Re: Before March 1st aka PHP 5.1 beta
| From: | Marcus Boerger | Date: | Thu, 17 Feb 2005 20:06:04 +0000 |
| Subject: | Re: Before March 1st aka PHP 5.1 beta | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15059@lists.php.net to get a copy of this message | ||
Hello Andi,
Thursday, February 17, 2005, 8:49:44 PM, you wrote:
> At 08:18 PM 2/17/2005 +0100, Marcus Boerger wrote:
>>Hello internals,
>>
>> before we rush into another version, how about clearing some open issues
>>that were explicitly relayed from 5.0 to 5.1.
>>
>>1) __toString()
>>
>> There was a problem with the Zend engine 2.0 that forced us to drop this
>> feature. Now that we have 2.1 we should check again and readd the feature.
>> Since PHP is designed to generate string output i think that should be
>> made as easy as possible. And after learning echo and '.' it is hard to
>> explain that 'echo $foo . $bar' could result in something different than
>> 'echo $foo, $bar'. Besides if it turned out that there is still a
>> reentrance problem then we'd need to remove __call, __get, __set,
>> iterators.....
> Yes, I think we could revisit this. It should work right now although I'm
> still skeptical about what place to put this and what not. If I recall you
> wanted convert_to_string() and all other places to support this, right?
> Also, I would like to add serialize/unserialize callbacks for internal
> extensions so that they can take part in session handling. Stas has already
> started looking into it and it's probably a relatively small patch.
Damn i knew i have forgotten something. I had some ideas for that but no
imlementation time. If he wants he could contact me of course :-)
regards
marcus