Doc #67398 [NEW]: XSLTProcessor::transformToXML docs show incorrect param type

From: Date: Sun, 08 Jun 2014 15:19:42 +0000
Subject: Doc #67398 [NEW]: XSLTProcessor::transformToXML docs show incorrect param type
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-11266@lists.php.net to get a copy of this message
From: mgcummings at yahoo dot com Operating system: N/A PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:XSLTProcessor::transformToXML docs show incorrect param type 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 bug report at https://bugs.php.net/bug.php?id=67398&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=67398&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=67398&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=67398&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=67398&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=67398&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=67398&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=67398&r=needscript Try newer version: https://bugs.php.net/fix.php?id=67398&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=67398&r=support Expected behavior: https://bugs.php.net/fix.php?id=67398&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=67398&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=67398&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=67398&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=67398&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=67398&r=dst IIS Stability: https://bugs.php.net/fix.php?id=67398&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=67398&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=67398&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=67398&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=67398&r=mysqlcfg

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