note 38881 added to function.mcrypt-generic-deinit
| From: | patrick dot crocker at verizon dot com | Date: | Fri, 09 Jan 2004 20:08:14 +0000 |
| Subject: | note 38881 added to function.mcrypt-generic-deinit | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-63228@lists.php.net to get a copy of this message | ||
Windows 2000
Apache HTTP Server 1.3.28
PHP 4.3.2
mcrypt >= 2.4.x
If the `mcrypt_generic_deinit' function does not exist in your configuration (as it does not in
mine), but you would like to code for the possibility that your future configuration will have the
function, the following will work:
<?php
if (function_exists("mcrypt_generic_deinit")) {
mcrypt_generic_deinit($td);
mcrypt_module_close($td);
} else {
mcrypt_generic_end($td);
}
?>
----
Manual Page -- http://www.php.net/manual/en/function.mcrypt-generic-deinit.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38881
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38881&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38881&report=yes
Search -- http://master.php.net/manage/user-notes.php