• wwwcre8r

    (@wwwcre8r)


    Using PHP Compatibility Checker, got this warning, will there be a release to fix this?

    Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    Thank you for the report. I recall that I used create_function() for compatibility with old PHP versions. Checking now, I see that anonymous functions were added in PHP 5.3. I think I’ll bump the plugin’s requirement to solve this deprecation warning in PHP 7.2.

    Plugin Author Eliot Akira

    (@miyarakira)

    The latest version of the plugin raised the PHP requirement to 5.3, and replaced create_function() with an anonymous function. That should resolve the warning in PHP 7.2.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Function create_function() is deprecated since PHP 7.2’ is closed to new replies.