Re: cvs: phpdoc /en/reference/mcrypt/functions mcrypt-ecb.xml
| From: | Mehdi Achour | Date: | Mon, 09 Feb 2004 08:46:31 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/mcrypt/functions mcrypt-ecb.xml | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969358853@lists.php.net to get a copy of this message | ||
Derick Rethans wrote:
On Fri, 6 Feb 2004, Mehdi Achour wrote:This is what is done usually for the other functions (e.g. remove the doc and add the deprecated note). Maybe this should be discussed some more. I'm reverting my commit for the moment. didoudidou Fri Feb 6 09:03:52 2004 EDT Modified files: /phpdoc/en/reference/mcrypt/functions mcrypt-ecb.xml Log: tis one is deprecatedThere are more deprecated, I rather have that just noted and not remove the whole docs of the function. Can you please revert that part?
regards, Derickhttp://cvs.php.net/diff.php/phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml:1.4 phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml:1.5 --- phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml:1.4 Fri Apr 25 14:37:49 2003 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml Fri Feb 6 09:03:52 2004 @@ -1,38 +1,15 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.2 --> <refentry id="function.mcrypt-ecb"> <refnamediv><refname>mcrypt_ecb</refname> - <refpurpose>Encrypt/decrypt data in ECB mode</refpurpose> + <refpurpose>Deprecated: Encrypt/decrypt data in ECB mode</refpurpose></refnamediv> <refsect1><title>Description</title> - <methodsynopsis> - <type>string</type><methodname>mcrypt_ecb</methodname> - <methodparam><type>int</type><parameter>cipher</parameter></methodparam> - <methodparam><type>string</type><parameter>key</parameter></methodparam> - <methodparam><type>string</type><parameter>data</parameter></methodparam> - <methodparam><type>int</type><parameter>mode</parameter></methodparam> - </methodsynopsis> - <methodsynopsis> - <type>string</type><methodname>mcrypt_ecb</methodname> - <methodparam><type>string</type><parameter>cipher</parameter></methodparam> - <methodparam><type>string</type><parameter>key</parameter></methodparam> - <methodparam><type>string</type><parameter>data</parameter></methodparam> - <methodparam><type>int</type><parameter>mode</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>iv</parameter></methodparam> - </methodsynopsis> <para> - The first prototype is when linked against libmcrypt 2.2.x, the - second when linked against libmcrypt 2.4.x or higher. The - <parameter>mode</parameter> should be either - <constant>MCRYPT_ENCRYPT</constant> or - <constant>MCRYPT_DECRYPT</constant>. - </para> - <para> - This function should not be used anymore, see - <function>mcrypt_generic</function> and + This function is deprecated, see <function>mcrypt_generic</function> and <function>mdecrypt_generic</function> for replacements. </para></refsect1>