php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #80795 Incorrect arguments signature for LimitIterator
Submitted: 2021-02-24 13:32 UTC Modified: 2021-02-24 14:54 UTC
From: pronin dot ihor dot mail at gmail dot com Assigned: cmb (profile)
Status: Closed Package: Documentation problem
PHP Version: 7.4.15 OS: Any
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pronin dot ihor dot mail at gmail dot com
New email:
PHP Version: OS:

 

 [2021-02-24 13:32 UTC] pronin dot ihor dot mail at gmail dot com
Description:
------------
---
From manual page: https://php.net/class.limititerator
---

Third arguments of LimitIterator constructor should be $limit not $count.

Expected result:
----------------
$limit

Actual result:
--------------
$count

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-02-24 14:54 UTC] cmb@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2021-02-24 14:56 UTC] cmb@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=efe24a91efac4abe3a4a7f5d9134017f4824da6b
Log: Fix #80795: Incorrect arguments signature for LimitIterator
 [2021-02-24 14:56 UTC] cmb@php.net
-Status: Verified +Status: Closed
 [2021-02-24 18:45 UTC] mumumu@php.net
Automatic comment on behalf of mumumu@mumumu.org
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=4f1e8ca52d2d3b865951a1e5a05204c01d1765df
Log: Fix #80795: Incorrect arguments signature for LimitIterator
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 11:01:34 2025 UTC