Skip to content

[Sync EN] Clarify intval() behavior with scientific notation numeric strings#2757

Merged
lacatoire merged 1 commit intophp:masterfrom
lacatoire:sync-en/intval-scientific-notation
Apr 22, 2026
Merged

[Sync EN] Clarify intval() behavior with scientific notation numeric strings#2757
lacatoire merged 1 commit intophp:masterfrom
lacatoire:sync-en/intval-scientific-notation

Conversation

@lacatoire
Copy link
Copy Markdown
Member

Ajout d'une note dans intval.xml clarifiant que les chaines numeriques utilisant la notation scientifique (e/E) sont analysees entierement avant la conversion en entier, avec un exemple d'overflow vers PHP_INT_MAX.

Fixes #2750

…strings

Ajout d'une note explicitant que les chaines numeriques en notation
scientifique sont analysees entierement avant la conversion en entier,
avec un exemple d'overflow vers PHP_INT_MAX.

Fixes php#2750
@lacatoire lacatoire merged commit 3b36551 into php:master Apr 22, 2026
3 checks passed
@lacatoire lacatoire deleted the sync-en/intval-scientific-notation branch April 22, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Sync EN] Clarify intval() behavior with scientific notation numeric strings (#5098)

1 participant