From b40758f0158c10d33b25f17e08fbb464546b2437 Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Sat, 13 Dec 2008 02:06:34 +0000 Subject: [PATCH] * 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 --- reference/info/functions/get-cfg-var.xml | 27 ++++++++++++++++- reference/strings/functions/crypt.xml | 38 +++++++++++++++++++++++- 2 files changed, 63 insertions(+), 2 deletions(-) diff --git a/reference/info/functions/get-cfg-var.xml b/reference/info/functions/get-cfg-var.xml index 4b501adbbf..9cf1ddf60d 100644 --- a/reference/info/functions/get-cfg-var.xml +++ b/reference/info/functions/get-cfg-var.xml @@ -1,5 +1,5 @@ - + get_cfg_var @@ -51,6 +51,31 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.3.0 + + get_cfg_var was fixed to be able + to return "array" ini options. + + + + + + + + &reftitle.seealso; diff --git a/reference/strings/functions/crypt.xml b/reference/strings/functions/crypt.xml index c660a441b0..7a7c755d0d 100644 --- a/reference/strings/functions/crypt.xml +++ b/reference/strings/functions/crypt.xml @@ -1,5 +1,5 @@ - + crypt @@ -67,6 +67,12 @@ + + + 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. + + @@ -106,6 +112,32 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.3.0 + + 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. + + + + + + + + &reftitle.examples; @@ -127,6 +159,8 @@ if (crypt($user_input, $password) == $password) { ]]> + + Using <function>crypt</function> with htpasswd @@ -141,6 +175,8 @@ $hash = crypt($password); ]]> + + Using <function>crypt</function> with different encryption types