Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18618 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71016 invoked by uid 1010); 31 Aug 2005 18:53:16 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 71001 invoked from network); 31 Aug 2005 18:53:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Aug 2005 18:53:16 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:50146] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 40/15-15098-C9CF5134 for ; Wed, 31 Aug 2005 14:53:16 -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 104C735C381; Wed, 31 Aug 2005 21:14:35 +0200 (CEST) Date: Wed, 31 Aug 2005 20:55:22 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <361587231.20050831205522@marcus-boerger.de> To: Ron Korving Cc: internals@lists.php.net In-Reply-To: <97.90.15098.7B2B5134@pb1.pair.com> References: <42FCE0E4.604@lerdorf.com> <97.90.15098.7B2B5134@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, 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. > 4) improved __toString behavior I'll take care of that asap. > 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. Best regards, Marcus