Skip to content

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Feb 5, 2021

Version numbers are not supposed to be localized, so we must not apply
locale dependent parsing with atof().


This has been pointed out in PR #6665.

Version numbers are not supposed to be localized, so we must not apply
locale dependent parsing with `atof()`.
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.

Might make sense to use php_version_compare here, but this is also fine.

@cmb69
Copy link
Member Author

cmb69 commented Feb 8, 2021

I've added comments regarding php_version_compare().

@php-pulls php-pulls closed this in 03713ac Feb 8, 2021
@cmb69 cmb69 deleted the cmb/pgsql-version-double branch February 8, 2021 18:04
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.

2 participants