Doc #51616 [Com]: FILTER_VALIDATE_URL undocumented.
| From: | preinheimer@php.net | Date: | Wed, 28 Jul 2010 01:03:37 +0000 |
| Subject: | Doc #51616 [Com]: FILTER_VALIDATE_URL undocumented. | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-4762@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51616&edit=1
ID: 51616
Comment by: preinheimer@php.net
Reported by: bugs dot php at luden dot se
Summary: FILTER_VALIDATE_URL undocumented.
Status: Open
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Block user comment: N
New Comment:
This is an interesting question, I'll see who I can bug.
Previous Comments:
------------------------------------------------------------------------
[2010-06-29 11:19:54] pierrotevrard at gmail dot com
I notice that some flags like FILTER_FLAG_ALLOW_FRACTION or
FILTER_FLAG_PATH_REQUIRED are missing on this page...
Perhaps, it should be a good idea to say that there is more flags in the
predefined constants.
------------------------------------------------------------------------
[2010-04-20 18:49:49] bugs dot php at luden dot se
Description:
------------
Manual page:
<http://www.php.net/manual/en/filter.filters.validate.php>
The description for FILTER_VALIDATE_URL says "Validates value
as URL, optionally with required components.".
It is not documented which specification (such as RFC 3986) it
validates against. Without any way to determine what the filter
is supposed to do, it is entirely useless for anything but toy
programs.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51616&edit=1