svn: /phpdoc/ja/trunk/reference/filter/ constants.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Wed, 13 May 2020 17:39:01 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=349860

Log:
Filter: add missing constants

Add a number of constants missing from the Predefined Constants page of the Filter extension.

Patch provided by jrfnl.

Changed paths:
    U   phpdoc/ja/trunk/reference/filter/constants.xml

Modified: phpdoc/ja/trunk/reference/filter/constants.xml
===================================================================
--- phpdoc/ja/trunk/reference/filter/constants.xml	2020-05-13 17:14:34 UTC (rev 349859)
+++ phpdoc/ja/trunk/reference/filter/constants.xml	2020-05-13 17:39:01 UTC (rev 349860)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 341093 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 349855 Maintainer: takagi Status: ready -->
 <!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. -->
 <!-- Credits: mumumu -->
 <appendix xml:id="filter.constants" xmlns="http://docbook.org/ns/docbook">
@@ -196,6 +196,19 @@
     </simpara>
    </listitem>
   </varlistentry>
+  <varlistentry xml:id="constant.filter-validate-domain">
+   <term>
+    <constant>FILTER_VALIDATE_DOMAIN</constant>
+     (<type>integer</type>)
+   </term>
+   <listitem>
+    <simpara>
+     "validate_domain" フィルタの ID。
+     (PHP 7.0.0 以降で利用可能)
+    </simpara>
+   </listitem>
+  </varlistentry>
+
   <varlistentry xml:id="constant.filter-validate-email">
    <term>
     <constant>FILTER_VALIDATE_EMAIL</constant>
@@ -349,9 +362,22 @@
    <listitem>
     <simpara>
      "magic_quotes" フィルタの ID。
+     (PHP 7.3.0 以降は非推奨になりました。代わりに FILTER_SANITIZE_ADD_SLASHES を使ってください)
     </simpara>
    </listitem>
   </varlistentry>
+  <varlistentry xml:id="constant.filter-sanitize-add-slashes">
+   <term>
+    <constant>FILTER_SANITIZE_ADD_SLASHES</constant>
+     (<type>integer</type>)
+   </term>
+   <listitem>
+    <simpara>
+     "add_slashes" フィルタの ID。
+     (PHP 7.3.0 以降で利用可能)
+    </simpara>
+   </listitem>
+  </varlistentry>
   <varlistentry xml:id="constant.filter-callback">
    <term>
     <constant>FILTER_CALLBACK</constant>
@@ -407,6 +433,18 @@
     </simpara>
    </listitem>
   </varlistentry>
+  <varlistentry xml:id="constant.filter-flag-strip-backtick">
+   <term>
+    <constant>FILTER_FLAG_STRIP_BACKTICK</constant>
+     (<type>integer</type>)
+   </term>
+   <listitem>
+    <simpara>
+     バックティック文字を取り除きます。
+     (PHP 5.3.2 以降で利用可能)
+    </simpara>
+   </listitem>
+  </varlistentry>
   <varlistentry xml:id="constant.filter-flag-encode-low">
    <term>
     <constant>FILTER_FLAG_ENCODE_LOW</constant>
@@ -518,6 +556,42 @@
     </simpara>
    </listitem>
   </varlistentry>
+  <varlistentry xml:id="constant.filter-flag-scheme-required">
+   <term>
+    <constant>FILTER_FLAG_SCHEME_REQUIRED</constant>
+     (<type>integer</type>)
+   </term>
+   <listitem>
+    <simpara>
+     "validate_url" フィルタで scheme を必須とします。
+     ("validate_url" フィルタに含まれるようになったため、PHP 7.3 以降は非推奨になりました。)
+    </simpara>
+   </listitem>
+  </varlistentry>
+  <varlistentry xml:id="constant.filter-flag-host-required">
+   <term>
+    <constant>FILTER_FLAG_HOST_REQUIRED</constant>
+     (<type>integer</type>)
+   </term>
+   <listitem>
+    <simpara>
+     "validate_url" フィルタで host 部分を必須とします。
+     ("validate_url" フィルタに含まれるようになったため、PHP 7.3 以降は非推奨になりました。)
+    </simpara>
+   </listitem>
+  </varlistentry>
+  <varlistentry xml:id="constant.filter-flag-hostname">
+   <term>
+    <constant>FILTER_FLAG_HOSTNAME</constant>
+     (<type>integer</type>)
+   </term>
+   <listitem>
+    <simpara>
+     アルファベットと数字から始まり、アルファベットと数字およびハイフンだけを含むホスト名を必須とします。
+     (PHP 7.0.0 以降で利用可能です)
+    </simpara>
+   </listitem>
+  </varlistentry>
   <varlistentry xml:id="constant.filter-flag-ipv4">
    <term>
     <constant>FILTER_FLAG_IPV4</constant>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.