Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18620 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74349 invoked by uid 1010); 31 Aug 2005 19:05:14 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 74333 invoked from network); 31 Aug 2005 19:05:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Aug 2005 19:05:14 -0000 X-Host-Fingerprint: 212.238.144.71 korving.demon.nl Received: from ([212.238.144.71:9617] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 2C/45-15098-A6FF5134 for ; Wed, 31 Aug 2005 15:05:14 -0400 Message-ID: <2C.45.15098.A6FF5134@pb1.pair.com> To: internals@lists.php.net References: <42FCE0E4.604@lerdorf.com> <97.90.15098.7B2B5134@pb1.pair.com> <361587231.20050831205522@marcus-boerger.de> Date: Wed, 31 Aug 2005 21:02:37 +0200 Lines: 52 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Posted-By: 212.238.144.71 Subject: Re: [PHP-DEV] Re: PHP 6.0 Wishlist From: r.korving@xit.nl ("Ron Korving") "Marcus Boerger" 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. > > 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? > Best regards, > Marcus Thanks Marcus, Ron