Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18629 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63476 invoked by uid 1010); 31 Aug 2005 22:47:20 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63461 invoked from network); 31 Aug 2005 22:47:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Aug 2005 22:47:20 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:45556] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id AF/50-15098-77336134 for ; Wed, 31 Aug 2005 18:47:19 -0400 Received: from [192.168.1.3] (dsl-082-083-236-216.arcor-ip.net [82.83.236.216]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 4BBA535C381; Thu, 1 Sep 2005 01:08:38 +0200 (CEST) Date: Thu, 1 Sep 2005 00:49:23 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1231383209.20050901004923@marcus-boerger.de> To: Ron Korving Cc: internals@lists.php.net In-Reply-To: <2C.45.15098.A6FF5134@pb1.pair.com> References: <42FCE0E4.604@lerdorf.com> <97.90.15098.7B2B5134@pb1.pair.com> <361587231.20050831205522@marcus-boerger.de> <2C.45.15098.A6FF5134@pb1.pair.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: PHP 6.0 Wishlist From: helly@php.net (Marcus Boerger) Hello Ron, Wednesday, August 31, 2005, 9:02:37 PM, you wrote: > "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. 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