php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #78044 Wrong return type in ArrayIterator::getFlags() description
Submitted: 2019-05-21 08:03 UTC Modified: 2019-05-21 08:46 UTC
From: fabien dot villepinte at gmail dot com Assigned: cmb (profile)
Status: Closed Package: SPL related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
45 - 31 = ?
Subscribe to this entry?

 
 [2019-05-21 08:03 UTC] fabien dot villepinte at gmail dot com
Description:
------------
http://docs.php.net/manual/en/arrayiterator.getflags.php

In the description of ArrayIterator::getFlags()) the return type is "void" instead of "int", like ArrayObject::getFlags(): http://docs.php.net/manual/en/arrayobject.getflags.php


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-05-21 08:33 UTC] cmb@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2019-05-21 08:46 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=347452
Log: Fix #78044: Wrong return type in ArrayIterator::getFlags() description
 [2019-05-21 08:46 UTC] cmb@php.net
-Status: Verified +Status: Closed
 [2019-05-21 08:46 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-05-21 08:50 UTC] salathe@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=5f4f224ae7ad2af0ad1ac1390d51d700d47c8e8c
Log: Fix #78044: Wrong return type in ArrayIterator::getFlags() description
 [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=bba432fb395f05b5efb2423db3097ead80ebbd71
Log: Fix #78044: Wrong return type in ArrayIterator::getFlags() description
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 09:01:27 2024 UTC