Title: Plugin compatible with PHP 7.3 ?
Last modified: December 25, 2019

---

# Plugin compatible with PHP 7.3 ?

 *  Resolved [magedmoh94](https://wordpress.org/support/users/magedmoh94/)
 * (@magedmoh94)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-compatible-with-php-7-3/)
 * I did the compatibility test with the PHP 7.3 and i got that some functions decrepted
   in 7.1 and removed in 7.2 we are afraid to update and loss the plugin functionality.
 * The result below:
 *     ```
       FOUND 30 ERRORS AFFECTING 4 LINES
       -------------------------------------------------------------------------------------------------------------------------------------------------------
        715 | ERROR | Function mcrypt_get_iv_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
        715 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
        715 | ERROR | The constant "MCRYPT_RIJNDAEL_128" is deprecated since PHP 7.1 and removed since PHP 7.2
        715 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2
        715 | ERROR | Function mcrypt_get_iv_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
        715 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
        715 | ERROR | The constant "MCRYPT_RIJNDAEL_128" is deprecated since PHP 7.1 and removed since PHP 7.2
        715 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2
        733 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead
        733 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
        733 | ERROR | The constant "MCRYPT_RAND" is deprecated since PHP 7.1 and removed since PHP 7.2
        733 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead
        733 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
        733 | ERROR | The constant "MCRYPT_RAND" is deprecated since PHP 7.1 and removed since PHP 7.2
        745 | ERROR | Function mcrypt_encrypt() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
        745 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
        745 | ERROR | The constant "MCRYPT_RIJNDAEL_128" is deprecated since PHP 7.1 and removed since PHP 7.2
        745 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2
        745 | ERROR | Function mcrypt_encrypt() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
        745 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
        745 | ERROR | The constant "MCRYPT_RIJNDAEL_128" is deprecated since PHP 7.1 and removed since PHP 7.2
        745 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2
        753 | ERROR | Function mcrypt_decrypt() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
        753 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
        753 | ERROR | The constant "MCRYPT_RIJNDAEL_128" is deprecated since PHP 7.1 and removed since PHP 7.2
        753 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2
        753 | ERROR | Function mcrypt_decrypt() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
        753 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
        753 | ERROR | The constant "MCRYPT_RIJNDAEL_128" is deprecated since PHP 7.1 and removed since PHP 7.2
        753 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2
       ```
   
 * And if you guys think this test is not accurate can you guide me how to practice
   a test on a plugin to make sure of its compatibility with the newer php versions?
 * Best Regards
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-compatible-with-php-7-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-compatible-with-php-7-3/#post-12274638)
 * Hi,
 * Please go to the support forum index – [https://wordpress.org/support/plugin/two-factor-authentication/](https://wordpress.org/support/plugin/two-factor-authentication/)–
   and see the locked topic (locked topics are at the top) addressing this question.
 * David
 *  Thread Starter [magedmoh94](https://wordpress.org/support/users/magedmoh94/)
 * (@magedmoh94)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-compatible-with-php-7-3/#post-12282380)
 * Thank you so much but this topic for 7.x so this means that 7.3 is already supported
   right ?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin compatible with PHP 7.3 ?’ is closed to new replies.

 * ![](https://ps.w.org/two-factor-authentication/assets/icon-256x256.png?rev=1116775)
 * [Two Factor Authentication](https://wordpress.org/plugins/two-factor-authentication/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/two-factor-authentication/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/two-factor-authentication/)
 * [Active Topics](https://wordpress.org/support/plugin/two-factor-authentication/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/two-factor-authentication/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/two-factor-authentication/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [magedmoh94](https://wordpress.org/support/users/magedmoh94/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-compatible-with-php-7-3/#post-12282380)
 * Status: resolved