Doc #54796 [Opn->Csd]: Missing default value for 2nd parameter in domxml_open_file()

From: Date: Thu, 19 May 2011 13:05:10 +0000
Subject: Doc #54796 [Opn->Csd]: Missing default value for 2nd parameter in domxml_open_file()
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6598@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=54796&edit=1 ID: 54796 Updated by: salathe@php.net Reported by: gwarnants at gmail dot com Summary: Missing default value for 2nd parameter in domxml_open_file() -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: salathe Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2011-05-19 15:03:31] salathe@php.net Automatic comment from SVN on behalf of salathe Revision: http://svn.php.net/viewvc/?view=revision&revision=311253 Log: default value for mode in domxml_open_file() (doc #54796) ------------------------------------------------------------------------ [2011-05-17 15:57:08] gwarnants at gmail dot com Description: ------------ --- From manual page: http://www.php.net/function.domxml-open-file#Description --- According to parameters description, it seems default values for optional parameter $mode should be set with DOMXML_LOAD_PARSING constant. Regards, Geoffray Expected result: ---------------- DomDocument domxml_open_file ( string $filename [, int $mode = DOMXML_LOAD_PARSING [, array &$error ]] ) Actual result: -------------- DomDocument domxml_open_file ( string $filename [, int $mode [, array &$error ]] ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54796&edit=1

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