ID: 48310 Updated by: paj...@php.net Reported By: geoffers+phpbugs at gmail dot com -Status: Open +Status: Feedback Bug Type: Filter related Operating System: Mac OS 10.5.6 PHP Version: 5.2.9 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ Previous Comments: ------------------------------------------------------------------------ [2009-05-17 16:49:39] geoffers+phpbugs at gmail dot com Description: ------------ The string '0:0:0:255.255.255.255' is not a valid IPv6 address. The filter extension allows it. Reproduce code: --------------- var_dump(filter_var('0:0:0:255.255.255.255', FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)); Expected result: ---------------- bool(false) Actual result: -------------- string(21) "0:0:0:255.255.255.255" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48310&edit=1