Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15546 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91985 invoked by uid 1010); 22 Mar 2005 18:07:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 91961 invoked from network); 22 Mar 2005 18:07:03 -0000 Received: from unknown (HELO tianlecom.com) (127.0.0.1) by localhost with SMTP; 22 Mar 2005 18:07:03 -0000 X-Host-Fingerprint: 212.250.162.19 smtpout19.mailhost.ntl.com Solaris 8 (1) Received: from ([212.250.162.19:35132] helo=mta13-winn.mailhost.ntl.com) by pb1.pair.com (ecelerity HEAD r(5268)) with SMTP id D9/D4-36163-6CE50424 for ; Tue, 22 Mar 2005 13:07:03 -0500 Received: from aamta04-winn.mailhost.ntl.com ([212.250.162.8]) by mta13-winn.mailhost.ntl.com with ESMTP id <20050322180659.TQQY2577.mta13-winn.mailhost.ntl.com@aamta04-winn.mailhost.ntl.com> for ; Tue, 22 Mar 2005 18:06:59 +0000 Received: from win2ks ([213.107.8.99]) by aamta04-winn.mailhost.ntl.com with ESMTP id <20050322180659.QVOI1352.aamta04-winn.mailhost.ntl.com@win2ks> for ; Tue, 22 Mar 2005 18:06:59 +0000 Reply-To: To: Date: Tue, 22 Mar 2005 18:07:30 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Thread-Index: AcUvCgMzb4kS7NoSQ0iFtTjr+6R4vg== Message-ID: <20050322180659.QVOI1352.aamta04-winn.mailhost.ntl.com@win2ks> Subject: output_add_rewrite_var_callback? From: jared.williams@ntlworld.com ("Jared Williams") Hi, Just wondered if a callback variant of output_add_rewrite_var() has ever been considered for inclusion in PHP. The callback prototype being of the form rewrite_callback($href, $name) { return 'value'; } output_add_rewrite_var_callback('foo', 'rewrite_callback'); possibly with the $href as a reference to allow complete replacement. Jared