Skip to content

Commit ef33a57

Browse files
realFlowControlFlorian Engelhardtcmb69
authored andcommitted
Add FILTER_FLAG_GLOBAL_RANGE documentation (php#1811)
Co-authored-by: Florian Engelhardt <[email protected]> Co-authored-by: Christoph M. Becker <[email protected]>
1 parent 32df849 commit ef33a57

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

reference/filter/filters.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@
148148
<constant>FILTER_FLAG_IPV6</constant>,
149149
<constant>FILTER_FLAG_NO_PRIV_RANGE</constant>,
150150
<constant>FILTER_FLAG_NO_RES_RANGE</constant>,
151+
<constant>FILTER_FLAG_GLOBAL_RANGE</constant>,
151152
<constant>FILTER_NULL_ON_FAILURE</constant>
152153
</entry>
153154
<entry>
@@ -739,6 +740,19 @@ filter.default_flags = 0
739740
</para>
740741
</entry>
741742
</row>
743+
<row>
744+
<entry><constant>FILTER_FLAG_GLOBAL_RANGE</constant></entry>
745+
<entry>
746+
<constant>FILTER_VALIDATE_IP</constant>
747+
</entry>
748+
<entry>
749+
<para>
750+
Fails validation for non global IPv4/IPv6 ranges as found in
751+
<link xlink:href="&url.rfc;6890">RFC 6890</link> with the
752+
<literal>Global</literal> attribute being <literal>False</literal>.
753+
</para>
754+
</entry>
755+
</row>
742756
<row>
743757
<entry><constant>FILTER_FLAG_SCHEME_REQUIRED</constant></entry>
744758
<entry>
@@ -817,6 +831,13 @@ filter.default_flags = 0
817831
</row>
818832
</thead>
819833
<tbody>
834+
<row>
835+
<entry>8.2.0</entry>
836+
<entry>
837+
<constant>FILTER_FLAG_GLOBAL_RANGE</constant> as a flag to
838+
<constant>FILTER_VALIDATE_IP</constant> has been added.
839+
</entry>
840+
</row>
820841
<row>
821842
<entry>7.3.0</entry>
822843
<entry>

0 commit comments

Comments
 (0)