php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #76496 Missing changelog entry about 7.2.0
Submitted: 2018-06-18 21:22 UTC Modified: 2018-06-19 15:11 UTC
From: sven at rtbg dot de Assigned: cmb (profile)
Status: Closed Package: DOM XML related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2018-06-18 21:22 UTC] sven at rtbg dot de
Description:
------------
---
From manual page: http://www.php.net/class.domnodelist
---
The manual states that DOMNodeList implements the Countable interface.

This change only has been applied with PHP 7.2.0. A changelog section should inform users about it, because using 7.1 or earlier will behave differently, returning (int) 1 when counting instead of the correct value.

The same applies to the count() method on http://de2.php.net/manual/en/domnodelist.count.php

see https://bugs.php.net/bug.php?id=74837 for the feature request and http://de2.php.net/ChangeLog-7.php#7.2.0 for the changelog announcement.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-06-19 15:08 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=345172
Log: Fix #76496: Missing changelog entry about 7.2.0

Patch provided by anonymous user.
 [2018-06-19 15:11 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2018-06-19 15:11 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.
 [2020-02-07 06:05 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=8e301bd33bdf8913741736bae54c5cb2a1078474
Log: Fix #76496: Missing changelog entry about 7.2.0
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 11:01:29 2024 UTC