0
我正在使用PHPUnit測試mcrypt大量使用的項目。我已經使用this SO answer安裝了phpunit。mcrypt和PHPUnit
每當我嘗試運行phpunit
,我得到以下錯誤:
Fatal error: Call to undefined function mcrypt_create_iv() in
/files/file/using/mcrypt/thing.php on line 20
我怎樣才能解決這個問題?我必須特別爲PHPUnit安裝mcrpyt嗎?