Re: Re: PHP 6.0 Wishlist

From: Date: Wed, 31 Aug 2005 22:49:23 +0000
Subject: Re: Re: PHP 6.0 Wishlist
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-18629@lists.php.net to get a copy of this message
Hello Ron, Wednesday, August 31, 2005, 9:02:37 PM, you wrote: > "Marcus Boerger" <helly@php.net> wrote in message > news:361587231.20050831205522@marcus-boerger.de... >> 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

« previous php.internals (#18629) next »