Doc #53186 [Opn]: Error in the example

From: Date: Wed, 27 Oct 2010 21:51:07 +0000
Subject: Doc #53186 [Opn]: Error in the example
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5438@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: salathe@php.net Reported by: bruce at z2a dot org Summary: Error in the example Status: Open Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Block user comment: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2010-10-27 18:26:09] salathe@php.net Which page is this error on? ------------------------------------------------------------------------ [2010-10-27 18:22:51] bruce at z2a dot org Description: ------------ This example doesn't work. The output is supposed to be "movie" but there is no movie in the inputs. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=53186&edit=1

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