#22520 [Fbk->Opn]: Undefined function: mcrypt_generic_deinit()

From: Date: Mon, 03 Mar 2003 19:44:01 +0000
Subject: #22520 [Fbk->Opn]: Undefined function: mcrypt_generic_deinit()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-34688@lists.php.net to get a copy of this message
ID: 22520 User updated by: ermannov at netscape dot net Reported By: ermannov at netscape dot net -Status: Feedback +Status: Open Bug Type: mcrypt related Operating System: Windows 98 SE PHP Version: 4.3.0 New Comment: bool(true), of course Anyway, if I hadn't loaded the extension, any function would have reported an error. It's interesting that dependency walker doesn't see that function; it does see all the other mcrypt functions. Previous Comments: ------------------------------------------------------------------------ [2003-03-03 13:09:01] iliaa@php.net What does var_dump(extension_loaded("mcrypt")); returns? ------------------------------------------------------------------------ [2003-03-03 12:48:48] ermannov at netscape dot net Script: <?php $key = "this is a secret key"; $input = "Let us meet at 9 o'clock at the secret place."; $td = mcrypt_module_open ('tripledes', '', 'ecb', ''); $iv = mcrypt_create_iv (mcrypt_enc_get_iv_size ($td), MCRYPT_RAND); mcrypt_generic_init ($td, $key, $iv); $encrypted_data = mcrypt_generic ($td, $input); mcrypt_generic_deinit ($td); mcrypt_module_close ($td); ?> Modules: extension=php_cpdf.dll extension=php_curl.dll extension=php_dbg.dll extension=php_dbx.dll extension=php_domxml.dll extension=php_exif.dll extension=php_gd.dll extension=php_java.dll extension=php_mcrypt.dll extension=php_mhash.dll extension=php_mime_magic.dll extension=php_openssl.dll extension=php_pdf.dll extension=php_sockets.dll extension=php_w32api.dll extension=php_xmlrpc.dll extension=php_xslt.dll extension=php_zip.dll Info: The script provided is the same of the php mcrypt documentation. It happens on NT4 and php 4.3.1 as well ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22520&edit=1

« previous php.bugs (#34688) next »