Edit report at https://bugs.php.net/bug.php?id=39771&edit=1
ID: 39771 Comment by: jbolter at gmail dot com Reported by: dave dot lane at gmx dot net Summary: DOMDocument->saveHTML does not accept an optional DOMNode like saveXML Status: Closed Type: Feature/Change Request Package: *General Issues Operating System: Linux PHP Version: 5.2.0 Assigned To: cataphract Block user comment: N Private report: N New Comment: I am running PHP 5.3.6 but still get this error: PHP Warning: DOMDocument::saveHTML() expects exactly 0 parameters, 1 given Any ideas? Previous Comments: ------------------------------------------------------------------------ [2011-01-18 20:56:11] cataphr...@php.net Automatic comment from SVN on behalf of cataphract Revision: http://svn.php.net/viewvc/?view=revision&revision=307562 Log: - Fixed wrong function call in original commit to FR #39771. ------------------------------------------------------------------------ [2011-01-18 20:45:54] cataphr...@php.net Implemented for PHP 5.3 and trunk. ------------------------------------------------------------------------ [2011-01-18 20:45:40] cataphr...@php.net Automatic comment from SVN on behalf of cataphract Revision: http://svn.php.net/viewvc/?view=revision&revision=307561 Log: - Implemented FR #39771 (Made DOMDocument::saveHTML accept an optional DOMNode like DOMDocument::saveXML). ------------------------------------------------------------------------ [2006-12-07 19:34:19] dave dot lane at gmx dot net Description: ------------ DOMDocument->saveHTML does not accept an optional DOMNode like DOMDocument->saveXML. In saveXML this functionality is implemented using xmlNodeDump. libxml2 offers the html equivalent htmlNodeDump. Is there a good reason why this is not implemented? ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=39771&edit=1