Uh oh!
There was an error while loading. Please reload this page.
Fix getPartsIterator stub - #21003
Merged
Merged
Conversation
VincentLangletforce-pushed
the
fix/getParsIterator
branch
from
January 22, 2026 16:31
a7c248c to
deb99ceCompareVincentLanglet
requested review from
Girgias, SakiTakamachi, TimWolla, adoy, alexdowad, arnaud-lb, bukka, derickr, dstogov, ndossche and youkidearitai
as code ownersJanuary 22, 2026 16:31
ndossche
removed request for
Girgias, SakiTakamachi, TimWolla, alexdowad, arnaud-lb, derickr, dstogov, ndossche and youkidearitaiJanuary 22, 2026 16:38
devnexen
commented
Jan 22, 2026
Member
Yes the actual method takes a zend_long so in the stub it should be an int argument indeed. @kocsismate wdyt ? |
iluuu1994
commented
Jan 22, 2026
Member
Same applies here, this is LSP breaking, so I don't think this should target 8.4, but |
VincentLanglet
commented
Jan 22, 2026
ContributorAuthor
But in this case, if someone was extending this method, wouldn't already he have an issue with the default value ? |
iluuu1994
commented
Jan 22, 2026
Member
Not if they don't use strict_types. |
VincentLanglet
commented
Jan 25, 2026
ContributorAuthor
@iluuu1994 I updated the branch/PR to target master. |
kocsismate
commented
Jan 26, 2026
Member
Thanks for the fix! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi,
I'm not familiar with php codebase but I feel like there is an error in definition of getPartsIterator
php-src/ext/intl/breakiterator/breakiterator_iterators.stub.php
Line 9 in 65b4073
Also, I dunno if I have to update this code too
php-src/ext/intl/breakiterator/breakiterator_arginfo.h
Line 41 in 65b4073
See the inconsistency in the doc
https://www.php.net/manual/en/class.intlpartsiterator.php
https://www.php.net/manual/en/intlbreakiterator.getpartsiterator.php