Doc #53186 [Asn->Csd]: Error in the example

From: Date: Sat, 06 Nov 2010 01:13:34 +0000
Subject: Doc #53186 [Asn->Csd]: Error in the example
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5474@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53186&edit=1 ID: 53186 Updated by: frozenfire@php.net Reported by: bruce at z2a dot org Summary: Error in the example -Status: Assigned +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Assigned To: frozenfire Block user comment: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2010-11-06 00:56:37] frozenfire@php.net Automatic comment from SVN on behalf of frozenfire Revision: http://svn.php.net/viewvc/?view=revision&revision=305120 Log: Added a note to all SimpleXMLElement method examples which make use of the example.php include, indicating where that include is located. As per bug #53186. ------------------------------------------------------------------------ [2010-11-05 22:05:18] frozenfire at thefrozenfire dot com I have added a patch which adds a note to each example section which makes use of the example.php include, noting where that code can be found. This should clear up any confusion to that effect. Tangentially, the SimpleXMLElement::getName() example does indeed function as expected. ------------------------------------------------------------------------ [2010-10-28 11:35:41] rquadling@php.net Relating to Bruce's comment 2010-10-27 17:48 UTC, http://bugs.php.net/bug.php? id=53189 ------------------------------------------------------------------------ [2010-10-27 23:51:07] salathe@php.net Many of the SimpleXML examples include an "example.php" file that can be found here: http://php.net/manual/en/simplexml.examples-basic.php We do try to make examples as standalone as possible so I can certainly understand the confusion here. Perhaps it is worth linking back to the page above from those examples which make use of that example.php file. ------------------------------------------------------------------------ [2010-10-27 19:48:12] bruce at z2a dot org Oops... I thought the "Report A Bug" would include a back pointer to the page. It is on http://us2.php.net/manual/en/simplexmlelement.getName.php. I think the example is building on a previous page but it would be better if you could understand the getName example on the page where it is described. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=53186 -- Edit this bug report at http://bugs.php.net/bug.php?id=53186&edit=1

« previous php.doc.bugs (#5474) next »