• Resolved alphageekuk

    (@alphageekuk)


    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

    (@shinerweb)

    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

    (@yehudah)

    @alphageekuk

    Like my good friend @shinerweb already said
    you can upgrade, don’t worry.

    Thread Starter alphageekuk

    (@alphageekuk)

    Thanks guys.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP 7.2 Compatibility again’ is closed to new replies.