|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-07-14 09:18 UTC] rasmus@php.net
-Status: Open
+Status: Duplicate
[2010-07-14 09:18 UTC] rasmus@php.net
[2010-07-14 09:19 UTC] code at margni dot com
-: stephen@margni.com
+: code at margni dot com
[2010-07-14 09:19 UTC] code at margni dot com
[2010-07-14 09:20 UTC] code at margni dot com
-Status: Duplicate
+Status: Closed
[2010-07-14 09:20 UTC] code at margni dot com
[2010-07-14 09:22 UTC] pajoye@php.net
-Status: Closed
+Status: Duplicate
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 14:00:01 2025 UTC |
Description: ------------ hyphen (-) is a valid character in a domain name Test script: --------------- var_dump(filter_var('http://www.foo-bar.com', FILTER_VALIDATE_URL)); Expected result: ---------------- 'http://www.foo-bar.com' Actual result: -------------- FALSE