php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #74680 reflection class isIterateable
Submitted: 2017-05-31 15:01 UTC Modified: 2017-05-31 20:16 UTC
From: luckyguy73 at yahoo dot com Assigned: pollita (profile)
Status: Closed Package: *General Issues
PHP Version: Irrelevant OS:
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: luckyguy73 at yahoo dot com
New email:
PHP Version: OS:

 

 [2017-05-31 15:01 UTC] luckyguy73 at yahoo dot com
Description:
------------
reflection class isIterateable
iterateable isn't a word
it should be iterable


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-05-31 15:39 UTC] levim@php.net
This has been there since 2005 or earlier. It's an unfortunate spelling but at this stage the best we could do is add an alias `isIterable`. I'm not sure we should deprecate the original given its age and it's just a spelling error (there's nothing inherently wrong with the method).
 [2017-05-31 20:16 UTC] pollita@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: pollita
 [2017-05-31 20:16 UTC] pollita@php.net
I agree with @levim - Certainly too late to change it outright, but the spelling deserves to be corrected, so I made the change and added an alias for BC.

https://github.com/php/php-src/commit/c1500f8519aded29c3632de4240fbc0a4e485a81
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 22:00:01 2026 UTC