mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
* Added note + changelog entry for PHP's implementation of crypt() algorithms
* Added note about get_cfg_var() was fixed to return "array" ini options git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271108 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
4441c84b15
commit
b40758f015
2 changed files with 63 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<refentry xml:id="function.get-cfg-var" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>get_cfg_var</refname>
|
||||
|
@ -51,6 +51,31 @@
|
|||
</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>5.3.0</entry>
|
||||
<entry>
|
||||
<function>get_cfg_var</function> was fixed to be able
|
||||
to return "array" ini options.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.15 $ -->
|
||||
<!-- $Revision: 1.16 $ -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.crypt">
|
||||
<refnamediv>
|
||||
<refname>crypt</refname>
|
||||
|
@ -67,6 +67,12 @@
|
|||
</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<note>
|
||||
<para>
|
||||
As of PHP 5.3.0, PHP contains its own impelemtnation and will use that
|
||||
if the system lacks of support for one or more of the algorithms.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
|
@ -106,6 +112,32 @@
|
|||
</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>5.3.0</entry>
|
||||
<entry>
|
||||
PHP now contains its own implementation for the MD5 crypt, Standard DES,
|
||||
Extended DES and the Blowfish algorithms and will use that if the system
|
||||
lacks of support for one or more of the algorithms.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
|
@ -127,6 +159,8 @@ if (crypt($user_input, $password) == $password) {
|
|||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Using <function>crypt</function> with htpasswd</title>
|
||||
<programlisting role="php">
|
||||
|
@ -141,6 +175,8 @@ $hash = crypt($password);
|
|||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Using <function>crypt</function> with different encryption types</title>
|
||||
<programlisting role="php">
|
||||
|
|
Loading…
Reference in a new issue