|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #79341 XmlWriter docs does not say $uri is nullable
Submitted: 2020-03-04 10:31 UTC Modified: 2020-10-30 11:26 UTC
From: jtojnar at gmail dot com Assigned: cmb (profile)
Status: Closed Package: XML Writer
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.
Block user comment
Status: Assign to:
Bug Type:
From: jtojnar at gmail dot com
New email:
PHP Version: OS:


 [2020-03-04 10:31 UTC] jtojnar at gmail dot com
From manual pages:

The URI element should be marked as nullable, see the stub:

Test script:

$writer = new XMLWriter;
$writer->writeAttribute('xmlns:example', '');
$writer->startElementNS('example', 'meta', null);
$writer->writeAttributeNS('example', 'spout', null, 'test');
echo $writer->outputMemory();


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-03-04 12:51 UTC]
The following pull request has been associated:

Patch Name: Fix #79341: XmlWriter docs does not say $uri is nullable
On GitHub:
 [2020-10-30 11:26 UTC]
Automatic comment on behalf of cmb
Log: Fix #79341: XmlWriter docs does not say $uri is nullable
 [2020-10-30 11:26 UTC]
-Status: Open +Status: Closed
 [2020-10-30 11:26 UTC]
-Status: Closed +Status: Verified -Assigned To: +Assigned To: cmb
 [2020-10-30 11:26 UTC]
-Status: Verified +Status: Closed
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Oct 30 11:01:24 2020 UTC