Newsgroups: php.doc,php.internals Path: news.php.net Xref: news.php.net php.doc:969381799 php.internals:48226 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66380 invoked from network); 6 May 2010 01:09:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 May 2010 01:09:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=jared.williams1@ntlworld.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=jared.williams1@ntlworld.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ntlworld.com designates 81.103.221.47 as permitted sender) X-PHP-List-Original-Sender: jared.williams1@ntlworld.com X-Host-Fingerprint: 81.103.221.47 mtaout01-winn.ispmail.ntl.com Solaris 10 (beta) Received: from [81.103.221.47] ([81.103.221.47:38401] helo=mtaout01-winn.ispmail.ntl.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6B/98-36633-FD612EB4 for ; Wed, 05 May 2010 21:09:53 -0400 Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20100506010948.VNYA14666.mtaout01-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com>; Thu, 6 May 2010 02:09:48 +0100 Received: from p2 ([82.0.126.169]) by aamtaout04-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20100506010945.HTXX11021.aamtaout04-winn.ispmail.ntl.com@p2>; Thu, 6 May 2010 02:09:45 +0100 To: , "'PHP internals'" , "'PHP Documentation List'" Date: Thu, 6 May 2010 02:09:43 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325 Thread-Index: Acrsb9MPdnSSMqC1S8aZxf8U//GYtgASIKMg Message-ID: <20100506010945.HTXX11021.aamtaout04-winn.ispmail.ntl.com@p2> X-Cloudmark-Analysis: v=1.1 cv=ZtHxNT4mZm3rCuM0SmWmgWxeBwJsziC8EqOrwwVkrhA= c=1 sm=0 a=N7yUChPh4KAA:10 a=SvoWcx1iAeoA:10 a=kj9zAlcOel0A:10 a=mK_AVkanAAAA:8 a=67BIL_jfAAAA:8 a=16Y2hoIWacwDkVxsv9QA:9 a=GW7S5JA7MfjFwrvl71YA:7 a=Km4p_oStGtOmipGRbwJJsrtrli0A:4 a=CjuIK1q_8ugA:10 a=9xyTavCNlvEA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Subject: RE: [PHP-DEV] What is the use of the $replacement property in the RegexIterator class. From: jared.williams1@ntlworld.com ("Jared Williams") References: > -----Original Message----- > From: Richard Quadling [mailto:rquadling@googlemail.com] > Sent: 05 May 2010 17:26 > To: PHP internals; PHP Documentation List > Subject: [PHP-DEV] What is the use of the $replacement > property in the RegexIterator class. > > Hi. > > I'm in the process of getting the PHPDoc classes showing the > correct inherited properties and methods (public/protected > but not private). > > I picked RecursiveRegexIterator (it has the largest number of > xi:includes in the documentation) as a test. > > Using php --rc I see that the inheritance chain is > RecursiveRegexIterator, RegexIterator, FilterIterator and > IteratorIterator. > > The property $replacement is part of RegexIterator. > > I can see no documentation for this in phpdoc, nor in the > Doxygen at http://www.php.net/~helly/php/ext/spl/ > > > In all the examples I've made so far, var_dump()-ing the > RegexIterator results in a ["replacement"]=>NULL > > Assigning a value to $replacement seems to have no bearing on > the output. > > Regards, > > Richard. > > Does seem odd public property. Guessing it's a bug. http://www.php.net/~helly/classbrowser/?class=RecursiveRegexIterator Jared