Hello Ron,

Wednesday, August 31, 2005, 9:02:37 PM, you wrote:


> "Marcus Boerger" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> Hello Ron,
>>
>> Wednesday, August 31, 2005, 3:37:51 PM, you wrote:
>>
>> > 2) error reporting using exceptions.
>> > I would like it if I could catch PHP-errors and take appropriate action
>> > (such as logging it to a database or whatever).
>>
>> You can already do that with 5.1 by adding three lines of code.

> Sounds awesome.. is this documented (I don't mean the PHP manual) anywhere?
> I'm curious as to how this works.

Look for slide 42 in talk 'SPL for the masses' here: http://talks.somabo.de

>> > 4) improved __toString behavior
>>
>> I'll take care of that asap.

> You're my hero.

>> > 6) Broader support for (custom) stream-wrappers (I noticed the zlib
>> > functions don't accept them). I wanted to make a stream wrapper for
> strings,
>> > so I could do this: readgzfile("str://andHereSomeGzipData").. In fact,
> if
>> > you ask me, such a str:// wrapper may be implemented as a standard
> wrapper.
>> > It would be useful in a lot more cases where functions read from files.
>>
>> That might be the case because a) the underlying library does not allow
> this
>> or because the extension isn't updated. In general all file functions
> should
>> accept any stream. Maybe you need to look into the extension source
> yourself
>> or contact the author/maintainer.

> I looked into the source, but I'm I couldn't quite grasp the inner workings.
> I promised myself to get into more actively "developing" in this area, maybe
> apply for a CVS account in time... but that's gonna take some time. Where do
> I see who maintains a certain extension?


look into the EXTENSIONS file or in the head of any .h or .h file.

marcus

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to