> +0 and -0 don't make sense for integers, where there is only 0. Allowing > only 0 was on purpose.
+0 and -0 are accepted by sscanf('%d'), intval(), and (int). +0 is produced by sprintf('%+d') Thus, the change to FILTER_VALIDATE_INT seems to make sense. best regards Patrick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php