Newsgroups: php.doc,php.internals Path: news.php.net Xref: news.php.net php.doc:969381797 php.internals:48225 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66279 invoked from network); 5 May 2010 16:26:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 May 2010 16:26:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=rquadling@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rquadling@googlemail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.161.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@googlemail.com X-Host-Fingerprint: 209.85.161.42 mail-fx0-f42.google.com Received: from [209.85.161.42] ([209.85.161.42:48112] helo=mail-fx0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 72/B5-36633-E1C91EB4 for ; Wed, 05 May 2010 12:26:07 -0400 Received: by fxm15 with SMTP id 15so4353032fxm.29 for ; Wed, 05 May 2010 09:26:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:mime-version:received:reply-to:from :date:message-id:subject:to:content-type; bh=w0VHsiLfIavFAkK/TuBl2cFy9OvP3LsNiEXefHetT4A=; b=UsORXBTsvakTcs5CZ1AnWE/lGr4nmaPnvrWO49GxjS8U5LMAfsAC6SjGEBmqr9WLke ak2ngPYe1L3OsO+Xd8DfRszzHhO5qUeLLT0qoHZB8baETSTSkZtlCsvoQGYXp8vgHaw2 NQsmLDHulrHtSeXhicyg29Yoaksq84lXxzW2A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:from:date:message-id:subject:to:content-type; b=M0D4d9UV/Ro+ed13Q+IKzhG5JOg1qsPdY3DphutK6UV92kOz57V3B9Vguj+FehU64j l+9AVEtr4Bc8yYFRKnBiZeZIohwxJR3aiM6fX6cIJb8do2FTI76rdm89ziql13cpl+bV D+JxM5+iVbGbp2plQAao3fGGLGh+Bqrytfg8s= Received: by 10.223.16.84 with SMTP id n20mr5632203faa.94.1273076763104; Wed, 05 May 2010 09:26:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.113.16 with HTTP; Wed, 5 May 2010 09:25:43 -0700 (PDT) Reply-To: RQuadling@googlemail.com Date: Wed, 5 May 2010 17:25:43 +0100 Message-ID: To: PHP internals , PHP Documentation List Content-Type: text/plain; charset=UTF-8 Subject: What is the use of the $replacement property in the RegexIterator class. From: rquadling@googlemail.com (Richard Quadling) 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. -- ----- Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 ZOPA : http://uk.zopa.com/member/RQuadling