Doc #62374 [Asn]: Mcrypt examples use depricated functions

From: Date: Mon, 23 Jul 2012 02:00:15 +0000
Subject: Doc #62374 [Asn]: Mcrypt examples use depricated functions
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-8624@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=62374&edit=1

 ID:                 62374
 Updated by:         googleguy@php.net
 Reported by:        amvapor at gmail dot com
 Summary:            Mcrypt examples use depricated functions
 Status:             Assigned
 Type:               Documentation Problem
 Package:            mcrypt related
 PHP Version:        Irrelevant
 Assigned To:        googleguy
 Block user comment: N
 Private report:     N

 New Comment:

Working on resolving this issue completely so that I can update the docs to 
reflect the proper changes. It appears this function was deprecated before PHP 
had E_DEPRECATED level errors. So a patch has been made to get the function 
issuing an E_DEPRECATED level error is in place 
https://github.com/srgoogleguy/php-
src/commit/29a0efccef0ea3843e1b68546bdc255d5b901746 and will update the docs to 
reflect this in the next release.

In the mean time I will remove the example.


Previous Comments:
------------------------------------------------------------------------
[2012-07-19 18:47:00] googleguy@php.net

Currently mcrypt_ecb does not issue an E_DEPRECATED error. The function clearly 
appears to be documented as deprecated, but there is no indication that it has 
been deprecated.

This appears to be a documentation problem. I will review further and fix this to 
reflect the function is not advised rather than deprecated.

------------------------------------------------------------------------
[2012-06-20 17:35:47] amvapor at gmail dot com

Description:
------------
http://www.php.net/manual/en/mcrypt.examples.php

mcrypt_ecb is used in the first example, however it's listed as a deprecated function.



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=62374&edit=1


Thread (4 messages)

« previous php.doc.bugs (#8624) next »