mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 08:28:54 +00:00
Remove PHP 5 from filter extension (#531)
* Update changelog * Remove para from Overview * Remove available from * Remove paragraph about +0/-0 * Remove changelog entries
This commit is contained in:
parent
4d02fe98dd
commit
b80314ffbb
4 changed files with 20 additions and 45 deletions
|
@ -3,12 +3,8 @@
|
|||
<section xml:id="filter.installation" xmlns="http://docbook.org/ns/docbook">
|
||||
&reftitle.install;
|
||||
<para>
|
||||
The filter extension is enabled by default as of PHP 5.2.0.
|
||||
The filter extension is enabled by default.
|
||||
To disable the filter extension, use <option role="configure">--disable-filter</option>.
|
||||
</para>
|
||||
<para>
|
||||
Before PHP 5.2 an experimental PECL extension was used, however, the PECL version
|
||||
is no longer recommended or updated.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
|
|
|
@ -236,7 +236,6 @@
|
|||
<listitem>
|
||||
<simpara>
|
||||
ID of "validate_mac_address" filter.
|
||||
(Available as of PHP 5.5.0)
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -440,7 +439,6 @@
|
|||
<listitem>
|
||||
<simpara>
|
||||
Strips backtick characters.
|
||||
(Available as of PHP 5.3.2)
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -172,13 +172,8 @@
|
|||
</para>
|
||||
<note>
|
||||
<para>
|
||||
As of PHP 5.4.11, the numbers +0 and -0 validate as both integers as well
|
||||
as floats (using <constant>FILTER_VALIDATE_FLOAT</constant> and
|
||||
<constant>FILTER_VALIDATE_INT</constant>). Before PHP 5.4.11 they only
|
||||
validated as floats (using <constant>FILTER_VALIDATE_FLOAT</constant>).
|
||||
</para>
|
||||
<para>
|
||||
When <parameter>default</parameter> is set to option, <parameter>default</parameter>'s value is used if value is not validated.
|
||||
When <parameter>default</parameter> is set to option,
|
||||
<parameter>default</parameter>'s value is used if value is not validated.
|
||||
</para>
|
||||
</note>
|
||||
|
||||
|
@ -207,20 +202,6 @@
|
|||
Added <constant>FILTER_FLAG_HOSTNAME</constant> and <constant>FILTER_VALIDATE_DOMAIN</constant>.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>5.5.0</entry>
|
||||
<entry>
|
||||
Added <constant>FILTER_VALIDATE_MAC</constant>.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>5.2.1</entry>
|
||||
<entry>
|
||||
<constant>FILTER_VALIDATE_URL</constant> now implicitly uses
|
||||
<constant>FILTER_FLAG_SCHEME_REQUIRED</constant> and
|
||||
<constant>FILTER_FLAG_HOST_REQUIRED</constant>.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
|
@ -418,10 +399,22 @@ filter.default_flags = 0
|
|||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>5.2.11/5.3.1</entry>
|
||||
<entry>8.0.0</entry>
|
||||
<entry>
|
||||
Slashes (<literal>/</literal>) are removed by
|
||||
<constant>FILTER_SANITIZE_EMAIL</constant>. Prior they were retained.
|
||||
<constant>FILTER_SANITIZE_MAGIC_QUOTES</constant> has been removed.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>7.3.0</entry>
|
||||
<entry>
|
||||
<constant>FILTER_SANITIZE_ADD_SLASHES</constant> was added as a
|
||||
replacement for <constant>FILTER_SANITIZE_MAGIC_QUOTES</constant>
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>7.3.0</entry>
|
||||
<entry>
|
||||
<constant>FILTER_SANITIZE_MAGIC_QUOTES</constant> has been deprecated.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
@ -774,18 +767,6 @@ filter.default_flags = 0
|
|||
<constant>FILTER_FLAG_EMAIL_UNICODE</constant> has been added.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>5.3.2</entry>
|
||||
<entry>
|
||||
<constant>FILTER_FLAG_STRIP_BACKTICK</constant> has been added.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>5.2.10</entry>
|
||||
<entry>
|
||||
<constant>FILTER_FLAG_NO_RES_RANGE</constant> supports also IPv6 addresses.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
|
|
|
@ -20,13 +20,13 @@
|
|||
<entry><link linkend="ini.filter.default">filter.default</link></entry>
|
||||
<entry>"unsafe_raw"</entry>
|
||||
<entry>PHP_INI_PERDIR</entry>
|
||||
<entry>PHP_INI_ALL in filter <= 0.9.4. Available since PHP 5.2.0.</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.filter.default-flags">filter.default_flags</link></entry>
|
||||
<entry>NULL</entry>
|
||||
<entry>PHP_INI_PERDIR</entry>
|
||||
<entry>PHP_INI_ALL in filter <= 0.9.4. Available since PHP 5.2.0.</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
Loading…
Reference in a new issue