php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #53505 Wrong wording, the input must be passed as string not 'file'
Submitted: 2010-12-09 12:56 UTC Modified: 2010-12-11 05:50 UTC
From: tobias dot mathes at gmail dot com Assigned: dtajchreber (profile)
Status: Closed Package: Documentation problem
PHP Version: 5.3.3 OS: Linux
Private report: No CVE-ID: None
 [2010-12-09 12:56 UTC] tobias dot mathes at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.xml-parse-into-struct#Description
---

According to the parameter description a XML file must passed in the parameters of the function. Which is of course according to the parameters listed in the documentation wrong, but irritating for one who reads also the text. It should be made clear, that as parameter a XML string *must* be passed.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-11 05:49 UTC] dtajchreber@php.net
Automatic comment from SVN on behalf of dtajchreber
Revision: http://svn.php.net/viewvc/?view=revision&revision=306218
Log: Fixed bug #53505 Wrong wording, the input must be passed as string not 'file'
 [2010-12-11 05:50 UTC] dtajchreber@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: dtajchreber
 [2010-12-11 05:50 UTC] dtajchreber@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.


 [2020-02-07 06:08 UTC] phpdocbot@php.net
Automatic comment on behalf of dtajchreber
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=2b0c6356d3837ee936034e5b510fbfea7c6eb6c3
Log: Fixed bug #53505 Wrong wording, the input must be passed as string not 'file'
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 18:00:02 2026 UTC