Skip to content

Conversation

@petk
Copy link
Member

@petk petk commented Jun 23, 2019

There is no need to check for the strtod function. It is part of C89 standard which PHP-7.4+ supports.

http://port70.net/~nsz/c/c89/c89-draft.html#4.10.1.4

There is no need to check for the strtod function. It is part of C89
standard which PHP-7.4+ supports.

http://port70.net/~nsz/c/c89/c89-draft.html#4.10.1.4
Copy link
Member

@nikic nikic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also ship our own implementation anyway...

@petk
Copy link
Member Author

petk commented Jun 26, 2019

Applied via cc4134c to PHP-7.4+

P.S: The check was used mostly probably due to oniguruma library in the past and also "fixed" upstream kkos/oniguruma#111

Current extensions also don't use this symbol.

Changelog update via #4310

Thanks.

@petk petk closed this Jun 26, 2019
@petk petk deleted the patch-unused-checks branch June 26, 2019 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants