Doc #67398 [Com]: XSLTProcessor::transformToXML docs show incorrect param type
| From: | mgcummings at yahoo dot com | Date: | Fri, 28 Nov 2014 16:38:42 +0000 |
| Subject: | Doc #67398 [Com]: XSLTProcessor::transformToXML docs show incorrect param type | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-11707@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=67398&edit=1
ID: 67398
Comment by: mgcummings at yahoo dot com
Reported by: mgcummings at yahoo dot com
Summary: XSLTProcessor::transformToXML docs show incorrect
param type
Status: Open
Type: Documentation Problem
Package: Documentation problem
Operating System: N/A
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Just wondering what's going on with this its now going on 6 months for a 5 minute fix to the
docs.
Previous Comments:
------------------------------------------------------------------------
[2014-06-08 15:19:42] mgcummings at yahoo dot com
Description:
------------
---
From manual page: http://www.php.net/xsltprocessor.transformtoxml
---
The documentation show only DOMDocument allowed but method actually allows both DOMDocument and
SimpleXMLElement as I have test in PHP version 5.3.x up through 5.5.x
It should look something like the following:
Description
-----------
string XSLTProcessor::transformToXML ( object $doc )
...
Parameters
----------
doc
The DOMDocument or SimpleXMLElement object to be transformed.
...
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=67398&edit=1