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
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.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 00:01:29 2024 UTC