svn: /phpdoc/en/trunk/reference/filter/ filters.xml

From: Date: Sat, 25 Jun 2016 23:08:19 +0000
Subject: svn: /phpdoc/en/trunk/reference/filter/ filters.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-14254@lists.php.net to get a copy of this message
cmb Sat, 25 Jun 2016 23:08:19 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=339498 Log: Fix #66938: ext/filter misses some constants in documentation Bug: https://bugs.php.net/66938 (Open) ext/filter misses some constants in documentation Changed paths: U phpdoc/en/trunk/reference/filter/filters.xml Modified: phpdoc/en/trunk/reference/filter/filters.xml =================================================================== --- phpdoc/en/trunk/reference/filter/filters.xml 2016-06-25 21:25:52 UTC (rev 339497) +++ phpdoc/en/trunk/reference/filter/filters.xml 2016-06-25 23:08:19 UTC (rev 339498) @@ -131,6 +131,8 @@ <parameter>default</parameter> </entry> <entry> + <constant>FILTER_FLAG_SCHEME_REQUIRED</constant>, + <constant>FILTER_FLAG_HOST_REQUIRED</constant>, <constant>FILTER_FLAG_PATH_REQUIRED</constant>, <constant>FILTER_FLAG_QUERY_REQUIRED</constant> </entry> @@ -170,6 +172,14 @@ Added <constant>FILTER_VALIDATE_MAC</constant> </entry> </row> + <row> + <entry>5.2.1</entry> + <entry> + <constant>FILTER_VALIDATE_URL</constant> now defaults to + <constant>FILTER_FLAG_SCHEME_REQUIRED</constant> and + <constant>FILTER_FLAG_HOST_REQUIRED</constant>. + </entry> + </row> </tbody> </tgroup> </informaltable> @@ -210,6 +220,7 @@ <entry> <constant>FILTER_FLAG_STRIP_LOW</constant>, <constant>FILTER_FLAG_STRIP_HIGH</constant>, + <constant>FILTER_FLAG_STRIP_BACKTICK</constant>, <constant>FILTER_FLAG_ENCODE_LOW</constant>, <constant>FILTER_FLAG_ENCODE_HIGH</constant> </entry> @@ -248,6 +259,7 @@ <entry> <constant>FILTER_FLAG_STRIP_LOW</constant>, <constant>FILTER_FLAG_STRIP_HIGH</constant>, + <constant>FILTER_FLAG_STRIP_BACKTICK</constant>, <constant>FILTER_FLAG_ENCODE_HIGH</constant> </entry> <entry> @@ -277,6 +289,7 @@ <constant>FILTER_FLAG_NO_ENCODE_QUOTES</constant>, <constant>FILTER_FLAG_STRIP_LOW</constant>, <constant>FILTER_FLAG_STRIP_HIGH</constant>, + <constant>FILTER_FLAG_STRIP_BACKTICK</constant>, <constant>FILTER_FLAG_ENCODE_LOW</constant>, <constant>FILTER_FLAG_ENCODE_HIGH</constant>, <constant>FILTER_FLAG_ENCODE_AMP</constant> @@ -304,6 +317,7 @@ <entry> <constant>FILTER_FLAG_STRIP_LOW</constant>, <constant>FILTER_FLAG_STRIP_HIGH</constant>, + <constant>FILTER_FLAG_STRIP_BACKTICK</constant>, <constant>FILTER_FLAG_ENCODE_LOW</constant>, <constant>FILTER_FLAG_ENCODE_HIGH</constant>, <constant>FILTER_FLAG_ENCODE_AMP</constant> @@ -435,6 +449,18 @@ </entry> </row> <row> + <entry><constant>FILTER_FLAG_STRIP_BACKTICK</constant></entry> + <entry> + <constant>FILTER_SANITIZE_ENCODED</constant>, + <constant>FILTER_SANITIZE_SPECIAL_CHARS</constant>, + <constant>FILTER_SANITIZE_STRING</constant>, + <constant>FILTER_UNSAFE_RAW</constant> + </entry> + <entry> + Strips backtick characters. + </entry> + </row> + <row> <entry><constant>FILTER_FLAG_ALLOW_FRACTION</constant></entry> <entry> <constant>FILTER_SANITIZE_NUMBER_FLOAT</constant> @@ -587,6 +613,24 @@ </entry> </row> <row> + <entry><constant>FILTER_FLAG_SCHEME_REQUIRED</constant></entry> + <entry> + <constant>FILTER_VALIDATE_URL</constant> + </entry> + <entry> + Requires the <acronym>URL</acronym> to contain a scheme part. + </entry> + </row> + <row> + <entry><constant>FILTER_FLAG_HOST_REQUIRED</constant></entry> + <entry> + <constant>FILTER_VALIDATE_URL</constant> + </entry> + <entry> + Requires the <acronym>URL</acronym> to contain a host part. + </entry> + </row> + <row> <entry><constant>FILTER_FLAG_PATH_REQUIRED</constant></entry> <entry> <constant>FILTER_VALIDATE_URL</constant> @@ -633,6 +677,30 @@ </tgroup> </table> </para> + + <simplesect role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.3.2</entry> + <entry> + <constant>FILTER_FLAG_STRIP_BACKTICK</constant> has been added. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </simplesect> </section> <!--}}}--> </chapter>

« previous php.doc.cvs (#14254) next »