]> granicus.if.org Git - php/commitdiff
Fixes mcrypt_ecb not issuing an E_DEPRECATED level notice, despite having been deprec...
authorSherif Ramadan <theanomaly.is@gmail.com>
Sat, 21 Jul 2012 23:38:03 +0000 (19:38 -0400)
committerSherif Ramadan <theanomaly.is@gmail.com>
Sat, 21 Jul 2012 23:38:03 +0000 (19:38 -0400)
ext/mcrypt/mcrypt.c

index c5739395891d59d612e736a1ba10e3cce2be7a5c..20a0f73b187d6f75cb4e0e0689db57540faa9bc6 100644 (file)
@@ -238,7 +238,7 @@ ZEND_END_ARG_INFO()
 /* }}} */
 
 const zend_function_entry mcrypt_functions[] = { /* {{{ */
-       PHP_FE(mcrypt_ecb,                              arginfo_mcrypt_ecb)
+       PHP_DEP_FE(mcrypt_ecb,                          arginfo_mcrypt_ecb)
        PHP_FE(mcrypt_cbc,                              arginfo_mcrypt_cbc)
        PHP_FE(mcrypt_cfb,                              arginfo_mcrypt_cfb)
        PHP_FE(mcrypt_ofb,                              arginfo_mcrypt_ofb)