Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:888 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88004 invoked from network); 13 Apr 2003 14:20:36 -0000 Received: from unknown (HELO vckyb2.nw.wakwak.com) (211.9.230.145) by pb1.pair.com with SMTP; 13 Apr 2003 14:20:36 -0000 Received: from at.wakwak.com (at.wakwak.com [211.9.230.135:25]) by vckyb2.nw.wakwak.com (Postfix) with ESMTP id 7746A40025; Sun, 13 Apr 2003 23:20:35 +0900 (JST) Received: from at.wakwak.com (z80.219-121-66.ppp.wakwak.ne.jp [219.121.66.80]) by at.wakwak.com (8.12.9/8.12.9/2003-03-31) with SMTP id h3DEKYm0099495; Sun, 13 Apr 2003 23:20:35 +0900 (JST) (envelope-from moriyoshi@at.wakwak.com) Date: Sun, 13 Apr 2003 23:23:24 +0900 X-Mailer: EdMax Ver2.85.3F MIME-Version: 1.0 To: Wez Furlong Cc: internals@lists.php.net Message-ID: <20030413232324V7bz'h@at.wakwak.com> Content-Type: multipart/mixed; boundary="------------Boundary_VHH0dNRh:.CHadl" Subject: [MEGAPATCH] stream filter improvement From: moriyoshi@at.wakwak.com (Moriyoshi Koizumi) --------------Boundary_VHH0dNRh:.CHadl Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi, The attached patch allows stream filter implementations to accept the parameter as a zval rather than a string. For practical example, you'd be able to pass parameters to strip_tags filter in a couple of ways, like: a. stream_filter_append(STDOUT, "string.strip_tags", PHP_STREAM_FILTER_WRITE, "