svn: /phpdoc/ja/trunk/reference/password/ constants.xml functions/password-hash.xml functions/password-needs-rehash.xml
[email protected] (Yoshinari Takaoka)
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
mumumu Mon, 18 May 2020 04:45:33 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=349906
Log:
Fix #79565: Documentation missing for password_algos()
Bug: https://bugs.php.net/79565 (error getting bug information)
Changed paths:
U phpdoc/ja/trunk/reference/password/constants.xml
U phpdoc/ja/trunk/reference/password/functions/password-hash.xml
U phpdoc/ja/trunk/reference/password/functions/password-needs-rehash.xml
Modified: phpdoc/ja/trunk/reference/password/constants.xml
===================================================================
--- phpdoc/ja/trunk/reference/password/constants.xml 2020-05-18 04:38:44 UTC (rev 349905)
+++ phpdoc/ja/trunk/reference/password/constants.xml 2020-05-18 04:45:33 UTC (rev 349906)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 347683 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 349903 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<appendix xml:id="password.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -12,7 +12,7 @@
<varlistentry xml:id="constant.password-bcrypt">
<term>
<constant>PASSWORD_BCRYPT</constant>
- (<type>integer</type>)
+ (<type>string</type>)
</term>
<listitem>
<para>
@@ -54,7 +54,7 @@
<varlistentry xml:id="constant.password-argon2i">
<term>
<constant>PASSWORD_ARGON2I</constant>
- (<type>integer</type>)
+ (<type>string</type>)
</term>
<listitem>
<para>
@@ -95,7 +95,7 @@
<varlistentry xml:id="constant.password-argon2id">
<term>
<constant>PASSWORD_ARGON2ID</constant>
- (<type>integer</type>)
+ (<type>string</type>)
</term>
<listitem>
<para>
@@ -155,7 +155,7 @@
<varlistentry xml:id="constant.password-default">
<term>
<constant>PASSWORD_DEFAULT</constant>
- (<type>integer</type>)
+ (<type>mixed</type>)
</term>
<listitem>
<para>
@@ -184,6 +184,34 @@
</varlistentry>
</variablelist>
</para>
+
+ <formalpara>
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>7.4.0</entry>
+ <entry>
+ パスワードのアルゴリズムのID (<constant>PASSWORD_BCRYPT</constant>, <constant>PASSWORD_ARGON2I</constant>,
+ <constant>PASSWORD_ARGON2ID</constant>, <constant>PASSWORD_DEFAULT</constant>)
+ は、&string; に変更されました。
+ これより前のバージョンでは、&integer; でした。
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </formalpara>
+
</appendix>
<!-- Keep this comment at the end of the file
Modified: phpdoc/ja/trunk/reference/password/functions/password-hash.xml
===================================================================
--- phpdoc/ja/trunk/reference/password/functions/password-hash.xml 2020-05-18 04:38:44 UTC (rev 349905)
+++ phpdoc/ja/trunk/reference/password/functions/password-hash.xml 2020-05-18 04:45:33 UTC (rev 349906)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 346125 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 349903 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.password-hash" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -14,7 +14,7 @@
<methodsynopsis>
<type>string</type><methodname>password_hash</methodname>
<methodparam><type>string</type><parameter>password</parameter></methodparam>
- <methodparam><type>int</type><parameter>algo</parameter></methodparam>
+ <methodparam><type>mixed</type><parameter>algo</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam>
</methodsynopsis>
<para>
@@ -352,6 +352,13 @@
</thead>
<tbody>
<row>
+ <entry>7.4.0</entry>
+ <entry>
+ <parameter>algo</parameter> パラメータは &string; を期待するようになりました。
+ しかし、後方互換性のために &integer; も未だ受け入れています。
+ </entry>
+ </row>
+ <row>
<entry>7.3.0</entry>
<entry>
<constant>PASSWORD_ARGON2ID</constant> を使った、
Modified: phpdoc/ja/trunk/reference/password/functions/password-needs-rehash.xml
===================================================================
--- phpdoc/ja/trunk/reference/password/functions/password-needs-rehash.xml 2020-05-18 04:38:44 UTC (rev 349905)
+++ phpdoc/ja/trunk/reference/password/functions/password-needs-rehash.xml 2020-05-18 04:45:33 UTC (rev 349906)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343891 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 349903 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.password-needs-rehash" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -13,7 +14,7 @@
<methodsynopsis>
<type>bool</type><methodname>password_needs_rehash</methodname>
<methodparam><type>string</type><parameter>hash</parameter></methodparam>
- <methodparam><type>int</type><parameter>algo</parameter></methodparam>
+ <methodparam><type>mixed</type><parameter>algo</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam>
</methodsynopsis>
<para>
@@ -93,6 +94,32 @@
それ以外の場合は &false; を返します。
</para>
</refsect1>
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>7.4.0</entry>
+ <entry>
+ <parameter>algo</parameter> パラメータは &string; を期待するようになりました。
+ しかし、後方互換性のために &integer; も未だ受け入れています。
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
</refentry>
<!-- Keep this comment at the end of the file