Title: PHP 7.2 Compatibility again
Last modified: February 16, 2019

---

# PHP 7.2 Compatibility again

 *  Resolved [alphageekuk](https://wordpress.org/support/users/alphageekuk/)
 * (@alphageekuk)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-7-2-compatibility-again/)
 * Similar to another recent post, my PHP 7.2 pre-upgrade compatibility scanner 
   shows the following warnings –
 * /wp-content/plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/Between.
   php PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.Changed
   
   Line: 104 – Column: 24 Since PHP 7.0, functions inspecting arguments, like func_get_args(),
   no longer report the original value as passed to a parameter, but will instead
   provide the current value. The parameter “$options” was changed on line 102. /
   wp-content/plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/CreditCard.
   php
 *  PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.Changed
    Line:
   146 – Column: 24 Since PHP 7.0, functions inspecting arguments, like func_get_args(),
   no longer report the original value as passed to a parameter, but will instead
   provide the current value. The parameter “$options” was changed on line 144. /
   wp-content/plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/Date.
   php
 *  PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.Changed
    Line:
   81 – Column: 24 Since PHP 7.0, functions inspecting arguments, like func_get_args(),
   no longer report the original value as passed to a parameter, but will instead
   provide the current value. The parameter “$options” was changed on line 79. /
   wp-content/plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/EmailAddress.
   php
 *  PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.Changed
    Line:
   142 – Column: 24 Since PHP 7.0, functions inspecting arguments, like func_get_args(),
   no longer report the original value as passed to a parameter, but will instead
   provide the current value. The parameter “$options” was changed on line 140. /
   wp-content/plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname.
   php
 *  PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.Changed
    Line:
   1901 – Column: 15 Since PHP 7.0, functions inspecting arguments, like func_get_args(),
   no longer report the original value as passed to a parameter, but will instead
   provide the current value. The parameter “$options” was changed on line 1899./
   wp-content/plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/InArray.
   php
 *  PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.Changed
    Line:
   82 – Column: 37 Since PHP 7.0, functions inspecting arguments, like func_get_arg(),
   no longer report the original value as passed to a parameter, but will instead
   provide the current value. The parameter “$options” was changed on line 74. /
   wp-content/plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/InArray.
   php
 *  PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.Changed
    Line:
   86 – Column: 25 Since PHP 7.0, functions inspecting arguments, like func_get_arg(),
   no longer report the original value as passed to a parameter, but will instead
   provide the current value. The parameter “$options” was changed on line 74. /
   wp-content/plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/Ip.php
 *  PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.Changed
    Line:
   66 – Column: 24 Since PHP 7.0, functions inspecting arguments, like func_get_args(),
   no longer report the original value as passed to a parameter, but will instead
   provide the current value. The parameter “$options” was changed on line 64. /
   wp-content/plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/NotEmpty.
   php
 *  PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.Changed
    Line:
   93 – Column: 24 Since PHP 7.0, functions inspecting arguments, like func_get_args(),
   no longer report the original value as passed to a parameter, but will instead
   provide the current value. The parameter “$options” was changed on line 91. /
   wp-content/plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/StringLength.
   php
 *  PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.Changed
    Line:
   89 – Column: 28 Since PHP 7.0, functions inspecting arguments, like func_get_args(),
   no longer report the original value as passed to a parameter, but will instead
   provide the current value. The parameter “$options” was changed on line 87. /
   wp-content/plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/
   phpseclib/phpseclib/Crypt/Base.php
 *  PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_generic_initDeprecatedRemoved
   
   Line: 777 – Column: 18 Function mcrypt_generic_init() is deprecated since PHP
   7.1 and removed since PHP 7.2; Use OpenSSL instead /wp-content/plugins/post-smtp/
   Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/
   Base.php
 *  PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved
    Line:
   777 – Column: 18 Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed since
   PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead /wp-content/
   plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/
   phpseclib/Crypt/Base.php
 *  PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_generic_initDeprecatedRemoved
   
   Line: 810 – Column: 30 Function mcrypt_generic_init() is deprecated since PHP
   7.1 and removed since PHP 7.2; Use OpenSSL instead /wp-content/plugins/post-smtp/
   Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/
   Base.php
 *  PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved
    Line:
   810 – Column: 30 Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed since
   PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead /wp-content/
   plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/
   phpseclib/Crypt/Base.php
 *  PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_genericDeprecatedRemoved
   
   Line: 813 – Column: 40 Function mcrypt_generic() is deprecated since PHP 7.1 
   and removed since PHP 7.2; Use OpenSSL instead /wp-content/plugins/post-smtp/
   Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/
   Base.php
 *  PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved
    Line:
   813 – Column: 40 Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed since
   PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead /wp-content/
   plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/
   phpseclib/Crypt/Base.php
 *  PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_genericDeprecatedRemoved
   
   Line: 818 – Column: 36 Function mcrypt_generic() is deprecated since PHP 7.1 
   and removed since PHP 7.2; Use OpenSSL instead /wp-content/plugins/post-smtp/
   Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/
   Base.php
 *  PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved
    Line:
   818 – Column: 36 Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed since
   PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead /wp-content/
   plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/
   phpseclib/Crypt/Base.php
 *  PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_genericDeprecatedRemoved
   
   Line: 827 – Column: 28 Function mcrypt_generic() is deprecated since PHP 7.1 
   and removed since PHP 7.2; Use OpenSSL instead /wp-content/plugins/post-smtp/
   Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/
   Base.php
 *  PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved
    Line:
   827 – Column: 28 Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed since
   PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead /wp-content/
   plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/
   phpseclib/Crypt/Base.php
 *  PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_genericDeprecatedRemoved
   
   Line: 837 – Column: 28 Function mcrypt_generic() is deprecated since PHP 7.1 
   and removed since PHP 7.2; Use OpenSSL instead /wp-content/plugins/post-smtp/
   Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/
   Base.php
 *  PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved
    Line:
   837 – Column: 28 Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed since
   PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead /wp-content/
   plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/
   phpseclib/Crypt/Base.php
 *  PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_generic_initDeprecatedRemoved
   
   Line: 840 – Column: 18 Function mcrypt_generic_init() is deprecated since PHP
   7.1 and removed since PHP 7.2; Use OpenSSL instead /wp-content/plugins/post-smtp/
   Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/
   Base.php
 *  PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved
    Line:
   840 – Column: 18 Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed since
   PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead /wp-content/
   plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/
   phpseclib/Crypt/Base.php
 *  PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_generic_initDeprecatedRemoved
   
   Line: 1089 – Column: 18 Function mcrypt_generic_init() is deprecated since PHP
   7.1 and removed since PHP 7.2; Use OpenSSL instead /wp-content/plugins/post-smtp/
   Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/
   Base.php
 *  PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved
    Line:
   1089 – Column: 18 Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed 
   since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead /
   wp-content/plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/
   phpseclib/phpseclib/Crypt/Base.php
 *  PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_genericDeprecatedRemoved
   
   Line: 1117 – Column: 35 Function mcrypt_generic() is deprecated since PHP 7.1
   and removed since PHP 7.2; Use OpenSSL instead /wp-content/plugins/post-smtp/
   Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/
   Base.php
 *  PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved
    Line:
   1117 – Column: 35 Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed 
   since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead /
   wp-content/plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/
   phpseclib/phpseclib/Crypt/Base.php
 *  PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_genericDeprecatedRemoved
   
   Line: 1122 – Column: 28 Function mcrypt_generic() is deprecated since PHP 7.1
   and removed since PHP 7.2; Use OpenSSL instead /wp-content/plugins/post-smtp/
   Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/
   Base.php
 *  PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved
    Line:
   1122 – Column: 28 Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed 
   since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead /
   wp-content/plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/
   phpseclib/phpseclib/Crypt/Base.php
 *  PHPCompatibility.FunctionUse.RemovedFunctions.mdecrypt_genericDeprecatedRemoved
   
   Line: 1131 – Column: 27 Function mdecrypt_generic() is deprecated since PHP 7.1
   and removed since PHP 7.2; Use OpenSSL instead /wp-content/plugins/post-smtp/
   Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/
   Base.php
 *  PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_generic_initDeprecatedRemoved
   
   Line: 1134 – Column: 18 Function mcrypt_generic_init() is deprecated since PHP
   7.1 and removed since PHP 7.2; Use OpenSSL instead /wp-content/plugins/post-smtp/
   Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/
   Base.php
 *  PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved
    Line:
   1134 – Column: 18 Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed 
   since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead /
   wp-content/plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/
   phpseclib/phpseclib/Crypt/Base.php
 *  PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_list_algorithmsDeprecatedRemoved
   
   Line: 1596 – Column: 61 Function mcrypt_list_algorithms() is deprecated since
   PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead /wp-content/plugins/post-
   smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/
   Crypt/Base.php
 *  PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved
    Line:
   1596 – Column: 61 Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed 
   since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead /
   wp-content/plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/
   phpseclib/phpseclib/Crypt/Base.php
 *  PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_module_closeDeprecatedRemoved
   
   Line: 1675 – Column: 14 Function mcrypt_module_close() is deprecated since PHP
   7.1 and removed since PHP 7.2; Use OpenSSL instead /wp-content/plugins/post-smtp/
   Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/
   Base.php
 *  PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved
    Line:
   1675 – Column: 14 Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed 
   since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead /
   wp-content/plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/
   phpseclib/phpseclib/Crypt/Base.php
 *  PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_module_closeDeprecatedRemoved
   
   Line: 1676 – Column: 14 Function mcrypt_module_close() is deprecated since PHP
   7.1 and removed since PHP 7.2; Use OpenSSL instead /wp-content/plugins/post-smtp/
   Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/
   Base.php
 *  PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved
    Line:
   1676 – Column: 14 Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed 
   since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead /
   wp-content/plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/
   phpseclib/phpseclib/Crypt/Base.php
 *  PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_module_closeDeprecatedRemoved
   
   Line: 1681 – Column: 18 Function mcrypt_module_close() is deprecated since PHP
   7.1 and removed since PHP 7.2; Use OpenSSL instead /wp-content/plugins/post-smtp/
   Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/
   Base.php
 *  PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved
    Line:
   1681 – Column: 18 Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed 
   since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead /
   wp-content/plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/
   phpseclib/phpseclib/Crypt/Base.php
 *  PHPCompatibility.Constants.RemovedConstants.mcrypt_mode_ecbDeprecatedRemoved
   
   Line: 1788 – Column: 38 The constant “MCRYPT_MODE_ECB” is deprecated since PHP
   7.1 and removed since PHP 7.2 /wp-content/plugins/post-smtp/Postman/Postman-Mail/
   google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php
 *  PHPCompatibility.Constants.RemovedConstants.mcrypt_mode_cbcDeprecatedRemoved
   
   Line: 1789 – Column: 38 The constant “MCRYPT_MODE_CBC” is deprecated since PHP
   7.1 and removed since PHP 7.2 /wp-content/plugins/post-smtp/Postman/Postman-Mail/
   google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php
 *  PHPCompatibility.Constants.RemovedConstants.mcrypt_mode_nofbDeprecatedRemoved
   
   Line: 1791 – Column: 38 The constant “MCRYPT_MODE_NOFB” is deprecated since PHP
   7.1 and removed since PHP 7.2 /wp-content/plugins/post-smtp/Postman/Postman-Mail/
   google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php
 *  PHPCompatibility.Constants.RemovedConstants.mcrypt_mode_streamDeprecatedRemoved
   
   Line: 1792 – Column: 38 The constant “MCRYPT_MODE_STREAM” is deprecated since
   PHP 7.1 and removed since PHP 7.2 /wp-content/plugins/post-smtp/Postman/Postman-
   Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php
 *  PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_module_openDeprecatedRemoved
   
   Line: 1795 – Column: 32 Function mcrypt_module_open() is deprecated since PHP
   7.1 and removed since PHP 7.2; Use OpenSSL instead /wp-content/plugins/post-smtp/
   Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/
   Base.php
 *  PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved
    Line:
   1795 – Column: 32 Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed 
   since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead /
   wp-content/plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/
   phpseclib/phpseclib/Crypt/Base.php
 *  PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_module_openDeprecatedRemoved
   
   Line: 1796 – Column: 32 Function mcrypt_module_open() is deprecated since PHP
   7.1 and removed since PHP 7.2; Use OpenSSL instead /wp-content/plugins/post-smtp/
   Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/
   Base.php
 *  PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved
    Line:
   1796 – Column: 32 Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed 
   since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead /
   wp-content/plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/
   phpseclib/phpseclib/Crypt/Base.php
 *  PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_module_openDeprecatedRemoved
   
   Line: 1802 – Column: 31 Function mcrypt_module_open() is deprecated since PHP
   7.1 and removed since PHP 7.2; Use OpenSSL instead /wp-content/plugins/post-smtp/
   Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/
   Base.php
 *  PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved
    Line:
   1802 – Column: 31 Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed 
   since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead /
   wp-content/plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/
   phpseclib/phpseclib/Crypt/Base.php
 *  PHPCompatibility.Constants.RemovedConstants.mcrypt_mode_ecbDeprecatedRemoved
   
   Line: 1802 – Column: 81 The constant “MCRYPT_MODE_ECB” is deprecated since PHP
   7.1 and removed since PHP 7.2 /wp-content/plugins/post-smtp/Postman/Postman-Mail/
   google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php
 *  PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_generic_initDeprecatedRemoved
   
   Line: 1807 – Column: 14 Function mcrypt_generic_init() is deprecated since PHP
   7.1 and removed since PHP 7.2; Use OpenSSL instead /wp-content/plugins/post-smtp/
   Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/
   Base.php
 *  PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved
    Line:
   1807 – Column: 14 Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed 
   since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead /
   wp-content/plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/
   phpseclib/phpseclib/Crypt/Random.php
 *  PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_create_ivDeprecatedRemoved
   
   Line: 69 – Column: 25 Function mcrypt_create_iv() is deprecated since PHP 7.1
   and removed since PHP 7.2; Use random_bytes() or OpenSSL instead /wp-content/
   plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/
   phpseclib/Crypt/Random.php
 *  PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved
    Line:
   69 – Column: 25 Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed since
   PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead /wp-content/
   plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/
   phpseclib/Crypt/Random.php
 *  PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_create_ivDeprecatedRemoved
   
   Line: 108 – Column: 25 Function mcrypt_create_iv() is deprecated since PHP 7.1
   and removed since PHP 7.2; Use random_bytes() or OpenSSL instead /wp-content/
   plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/
   phpseclib/Crypt/Random.php
 *  PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved
    Line:
   108 – Column: 25 Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed since
   PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead /wp-content/
   plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/phpseclib/phpseclib/
   phpseclib/Crypt/Random.php
 *  PHPCompatibility.Constants.RemovedConstants.mcrypt_dev_urandomDeprecatedRemoved
   
   Line: 108 – Column: 51 The constant “MCRYPT_DEV_URANDOM” is deprecated since 
   PHP 7.1 and removed since PHP 7.2
 * Will the plugin break when PHP 7.2 is imposed on this site?

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

 *  [shinerweb](https://wordpress.org/support/users/shinerweb/)
 * (@shinerweb)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-7-2-compatibility-again/#post-11212917)
 * I am sure the plugin author (@yehudah) will confirm, but I’m running the plugin
   on PHP 7.2 with no issues and I have also tested on PHP 7.3
 * Don’t forget that when you run the PHP Compatibility scanner, it will pick up
   false positives for a well written plugin. As daft as that sounds, think about
   a plugin that has a block of (pseudo) code that says:
 * IF PHP VERSION = 5.4 THEN USE FUNCTION_ABC
 * IF PHP VERSION = 7.2 THEN USE FUNCTION_XYZ
 * i.e. the plugin has backward compatibility built into it so it runs with multiple
   versions of PHP. Sometimes the checker tool will see functions it should ignore.
 * When you run the compatibility scanner for PHP 7.2, it will detect that the plugin
   contains a function call FUNCTION_ABC, which is correct, but that function will
   never ever be called, because the plugin will use the PHP 7.2 function call FUNCTION_XYZ
   instead.
 * Depending on which compatibility plugin checker you are using, you can submit
   updates back to that plugin to reduce the false positives.
 *  [yehudah](https://wordpress.org/support/users/yehudah/)
 * (@yehudah)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-7-2-compatibility-again/#post-11214746)
 * [@alphageekuk](https://wordpress.org/support/users/alphageekuk/)
 * Like my good friend [@shinerweb](https://wordpress.org/support/users/shinerweb/)
   already said
    you can upgrade, don’t worry.
 *  Thread Starter [alphageekuk](https://wordpress.org/support/users/alphageekuk/)
 * (@alphageekuk)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-7-2-compatibility-again/#post-11215628)
 * Thanks guys.

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

The topic ‘PHP 7.2 Compatibility again’ is closed to new replies.

 * ![](https://ps.w.org/post-smtp/assets/icon-128x128.gif?rev=3209655)
 * [Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App](https://wordpress.org/plugins/post-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/post-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-smtp/reviews/)

## Tags

 * [php7.2](https://wordpress.org/support/topic-tag/php7-2/)

 * 3 replies
 * 3 participants
 * Last reply from: [alphageekuk](https://wordpress.org/support/users/alphageekuk/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/php-7-2-compatibility-again/#post-11215628)
 * Status: resolved