i'm about to upgrade to php 5.6 from 5.2.xx
and i'm a little concerned about mcrypt, as the documentation seems to be confusing.
i can see that mcrypt_ecb is deprecated... which is fine as we use mcrypt_encrypt (and mcrypt_decrypt)
the php documentation from php.net is
string mcrypt_encrypt ( string $cipher , string $key , string $data , string $mode [, string $iv ] )
the cipher we are using is: MCRYPT_MODE_ECB
which works on our test server, but i'm worried that it might be deprecated or will be in future - but i can't find any documentation about it.
i'd rather not have to change things in the future again if i can avoid it, but also i'd rather keep using MCRYPT_MODE_ECB if possible.
any thoughts?