php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #77610 xml_parser_create and xml_parser_create_ns do not document failure return
Submitted: 2019-02-13 01:21 UTC Modified: 2019-02-13 16:14 UTC
From: bishop@php.net Assigned: cmb (profile)
Status: Closed Package: *XML functions
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bishop@php.net
New email:
PHP Version: OS:

 

 [2019-02-13 01:21 UTC] bishop@php.net
Description:
------------
The documentation for xml_parser_create[1] and xml_parser_create_ns[2] do not indicate that the respective functions can fail with false.

As discussed on internals 2018-02-10[3].

[1]: http://php.net/manual/en/function.xml-parser-create.php
[2]: http://php.net/manual/en/function.xml-parser-create-ns.php
[3]: https://marc.info/?l=php-internals&m=155000965623677&w=2


Patches

xml-parser-create-return-value.patch (last revision 2019-02-13 01:21 UTC by bishop)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-02-13 16:04 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=346823
Log: Fix #77610: xml_parser_create and xml_parser_create_ns do not document failure return
 [2019-02-13 16:14 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2019-02-13 16:14 UTC] cmb@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.
 [2019-02-18 16:41 UTC] salathe@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=3b7a9a4aa60a6a518d547f1aecd6beb0990a8f7a
Log: Fix #77610: xml_parser_create and xml_parser_create_ns do not document failure return
 [2019-02-19 20:22 UTC] salathe@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=ad02387ac3d3fef4eb9d104b72ac996aacb9a392
Log: Fix #77610: xml_parser_create and xml_parser_create_ns do not document failure return
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Jan 18 15:01:23 2020 UTC