diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2016-07-10 19:53:59 +0200 |
---|---|---|
committer | Julien Pauli <jpauli@php.net> | 2016-07-11 13:17:44 +0200 |
commit | 3dd380c41e7ff54ec8176d9f87f6d4760fada9fa (patch) | |
tree | 611b8d14269eaf65a48c13f6de6d44c51c88731e /ext/mcrypt/tests/mcrypt_encrypt_error.phpt | |
parent | 9288ce5390ced6232f80ce0e57f7ce6ce1f7e05a (diff) | |
download | php-git-3dd380c41e7ff54ec8176d9f87f6d4760fada9fa.tar.gz |
Implement RFC: Deprecate (then Remove) Mcrypt
<https://wiki.php.net/rfc/mcrypt-viking-funeral> has already been accepted,
so we implement it.
Diffstat (limited to 'ext/mcrypt/tests/mcrypt_encrypt_error.phpt')
-rw-r--r-- | ext/mcrypt/tests/mcrypt_encrypt_error.phpt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/mcrypt/tests/mcrypt_encrypt_error.phpt b/ext/mcrypt/tests/mcrypt_encrypt_error.phpt index 04226c20bc..2896cf7195 100644 --- a/ext/mcrypt/tests/mcrypt_encrypt_error.phpt +++ b/ext/mcrypt/tests/mcrypt_encrypt_error.phpt @@ -41,11 +41,15 @@ var_dump( mcrypt_encrypt($cipher, $key, $data) ); -- Testing mcrypt_encrypt() function with more than expected no. of arguments -- +Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_encrypt_error.php on line 19 + Warning: mcrypt_encrypt() expects at most 5 parameters, 6 given in %s on line %d NULL -- Testing mcrypt_encrypt() function with less than expected no. of arguments -- +Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_encrypt_error.php on line 26 + Warning: mcrypt_encrypt() expects at least 4 parameters, 3 given in %s on line %d NULL ===DONE=== |