php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #67398 XSLTProcessor::transformToXML docs show incorrect param type
Submitted: 2014-06-08 15:19 UTC Modified: 2014-12-29 06:56 UTC
Votes:3
Avg. Score:4.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:3 (100.0%)
From: mgcummings at yahoo dot com Assigned: sobak (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mgcummings at yahoo dot com
New email:
PHP Version: OS:

 

 [2014-06-08 15:19 UTC] 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.
...


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-11-28 16:38 UTC] mgcummings at yahoo dot com
Just wondering what's going on with this its now going on 6 months for a 5 minute fix to the docs.
 [2014-11-28 19:38 UTC] salathe@php.net
Perhaps a speedier outcome might be to use the PHP Docbook Online Editor to create a patch to the documentation for this change:  https://edit.php.net/?project=PHP&perm=en/xsltprocessor.transformtoxml.php

The file can be worked on and, once satisfied, the change can be submitted as a patch to be reviewed by a member of the documentation team.  These generally get processed much quicker than bugs.
 [2014-12-29 06:56 UTC] sobak@php.net
Automatic comment from SVN on behalf of sobak
Revision: http://svn.php.net/viewvc/?view=revision&revision=335452
Log: Closes bug #67398

(XSLTProcessor::transformToXML docs show incorrect param type)
 [2014-12-29 06:56 UTC] sobak@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: sobak
 [2014-12-29 06:56 UTC] sobak@php.net
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.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 21:00:02 2026 UTC