|
304 | 304 | </term> |
305 | 305 | <listitem> |
306 | 306 | <simpara> |
307 | | - Alias of <constant>FILTER_VALIDATE_BOOL</constant>. |
| 307 | + &Alias; <constant>FILTER_VALIDATE_BOOL</constant>. |
308 | 308 | The alias was available prior to the introduction of its canonical |
309 | 309 | name in PHP 8.0.0. |
310 | 310 | </simpara> |
|
523 | 523 | <listitem> |
524 | 524 | <simpara> |
525 | 525 | Requires the <acronym>URL</acronym> to contain a scheme part. |
526 | | - (Deprecated as of PHP 7.3.0 and removed as of PHP 8.0.0, as it is implied by the filter already.) |
527 | 526 | </simpara> |
| 527 | + <warning> |
| 528 | + <simpara> |
| 529 | + <emphasis>DEPRECATED</emphasis> as of PHP 7.3.0 and |
| 530 | + <emphasis>REMOVED</emphasis> as of PHP 8.0.0. |
| 531 | + This is because it is always implied by the |
| 532 | + <constant>FILTER_VALIDATE_URL</constant> filter. |
| 533 | + </simpara> |
| 534 | + </warning> |
528 | 535 | </listitem> |
529 | 536 | </varlistentry> |
530 | 537 | <varlistentry xml:id="constant.filter-flag-host-required"> |
|
535 | 542 | <listitem> |
536 | 543 | <simpara> |
537 | 544 | Requires the <acronym>URL</acronym> to contain a host part. |
538 | | - (Deprecated as of PHP 7.3.0 and removed as of PHP 8.0.0, as it is implied by the filter already.) |
539 | 545 | </simpara> |
| 546 | + <warning> |
| 547 | + <simpara> |
| 548 | + <emphasis>DEPRECATED</emphasis> as of PHP 7.3.0 and |
| 549 | + <emphasis>REMOVED</emphasis> as of PHP 8.0.0. |
| 550 | + This is because it is always implied by the |
| 551 | + <constant>FILTER_VALIDATE_URL</constant> filter. |
| 552 | + </simpara> |
| 553 | + </warning> |
540 | 554 | </listitem> |
541 | 555 | </varlistentry> |
542 | 556 | <varlistentry xml:id="constant.filter-flag-path-required"> |
|
848 | 862 | </term> |
849 | 863 | <listitem> |
850 | 864 | <simpara> |
851 | | - Alias of <constant>FILTER_UNSAFE_RAW</constant>. |
| 865 | + &Alias; <constant>FILTER_UNSAFE_RAW</constant>. |
852 | 866 | </simpara> |
853 | 867 | </listitem> |
854 | 868 | </varlistentry> |
|
892 | 906 | </term> |
893 | 907 | <listitem> |
894 | 908 | <simpara> |
895 | | - Alias of <constant>FILTER_SANITIZE_STRING</constant>. |
896 | | - (<emphasis>Deprecated</emphasis> as of PHP 8.1.0, |
897 | | - use <function>htmlspecialchars</function> instead.) |
| 909 | + &Alias; <constant>FILTER_SANITIZE_STRING</constant>. |
898 | 910 | </simpara> |
| 911 | + <warning> |
| 912 | + <simpara> |
| 913 | + <emphasis>Deprecated</emphasis> as of PHP 8.1.0, |
| 914 | + use <function>htmlspecialchars</function> instead. |
| 915 | + </simpara> |
| 916 | + </warning> |
899 | 917 | </listitem> |
900 | 918 | </varlistentry> |
901 | 919 | <varlistentry xml:id="constant.filter-sanitize-encoded"> |
@@ -1108,10 +1126,14 @@ string(5) "12.34" |
1108 | 1126 | </term> |
1109 | 1127 | <listitem> |
1110 | 1128 | <simpara> |
1111 | | - Alias of <constant>FILTER_SANITIZE_ADD_SLASHES</constant>. |
1112 | | - (<emphasis>DEPRECATED</emphasis> as of PHP 7.3.0 and |
1113 | | - <emphasis>REMOVED</emphasis> as of PHP 8.0.0) |
| 1129 | + &Alias; <constant>FILTER_SANITIZE_ADD_SLASHES</constant>. |
1114 | 1130 | </simpara> |
| 1131 | + <warning> |
| 1132 | + <simpara> |
| 1133 | + <emphasis>DEPRECATED</emphasis> as of PHP 7.3.0 and |
| 1134 | + <emphasis>REMOVED</emphasis> as of PHP 8.0.0. |
| 1135 | + </simpara> |
| 1136 | + </warning> |
1115 | 1137 | </listitem> |
1116 | 1138 | </varlistentry> |
1117 | 1139 | </variablelist> |
|
0 commit comments