Doc #62118 [Opn->Asn]: Useless code example

From: Date: Mon, 23 Jul 2012 03:06:30 +0000
Subject: Doc #62118 [Opn->Asn]: Useless code example
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-8626@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=62118&edit=1

 ID:                 62118
 Updated by:         googleguy@php.net
 Reported by:        joluju at free dot fr
 Summary:            Useless code example
-Status:             Open
+Status:             Assigned
 Type:               Documentation Problem
 Package:            Documentation problem
 Operating System:   Irrelevant
 PHP Version:        Irrelevant
-Assigned To:        
+Assigned To:        googleguy
 Block user comment: N
 Private report:     N

 New Comment:

I can understand that the example is not self-contained here, in that you 
couldn't easily test the example code to see the result without supplying your 
own XML. I can also understand that it stems from the 
DOMDocument::getElementsByTagName() where the XML is indeed given in the example 
code.

I'll update the example here to reflect on the XML used in the other related 
method thereby making it self-contained as well.

Thanks for you feedback.


Previous Comments:
------------------------------------------------------------------------
[2012-05-23 08:32:01] joluju at free dot fr

Description:
------------
---
From manual page: http://www.php.net/domdocument.getelementbyid#refsect1-domdocument.getelementbyid-examples
---

Since the contents of book.xml is not shown, we don't learn anything from the example.



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=62118&edit=1


Thread (3 messages)

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