Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ext/filter: Accept +0 and -0 as valid integers #248

Closed
wants to merge 2 commits into from
Closed

ext/filter: Accept +0 and -0 as valid integers #248

wants to merge 2 commits into from

Conversation

mj
Copy link
Member

@mj mj commented Dec 26, 2012

This PR fixes bug #54096 by making FILTER_VALIDATE_INT accept +0/-0 as a valid integer akin to the behavior of e.g. var_dump.

@lstrojny
Copy link
Contributor

Looks good. I'm going to merge this later.

@php-pulls
Copy link

Comment on behalf of lstrojny at php.net:

Merged into 5.4, 5.5 and master.Thanks!

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.

3 participants