Title: Comet Cache deprecated code PHP 7.2
Last modified: February 22, 2018

---

# Comet Cache deprecated code PHP 7.2

 *  Resolved [itmonitor](https://wordpress.org/support/users/itmonitor/)
 * (@itmonitor)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/comet-cache-deprecated-code-php-7-2/)
 * Hello,
 * I ran a scan to check the plugin compatibility with PHP 7.2. Below you have the
   results. Hope to have helped.
 * Rgs
 * IM
 * FILE: /wp-content/plugins/comet-cache/plugin.php
    ———————————————————————————————————-
   FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES ———————————————————————————————————-
   27 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an
   anonymous function instead 53 | WARNING | Function create_function() is deprecated
   since PHP 7.2; Use an anonymous function instead 77 | WARNING | Function create_function()
   is deprecated since PHP 7.2; Use an anonymous function instead ———————————————————————————————————-
 * FILE: /wp-content/plugins/comet-cache/src/vendor/websharks/wp-php-rv/src/includes/
   functions/notices.php
    —————————————————————————————————————————– FOUND 0 ERRORS
   AND 1 WARNING AFFECTING 1 LINE —————————————————————————————————————————– 198
   | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous
   function instead —————————————————————————————————————————–
 * FILE:/wp-content/plugins/comet-cache/src/includes/traits/Shared/FsUtils.php
    ———————————————————————————————————-
   FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ———————————————————————————————————-
   33 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an
   anonymous function instead ———————————————————————————————————-

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

 *  [catmaniax](https://wordpress.org/support/users/catmaniax/)
 * (@catmaniax)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/comet-cache-deprecated-code-php-7-2/#post-10004689)
 * Hey, I was about to start a similar thread.
 * Can you please see if the plugin is fully compatible and works properly in both
   PHP 7.1 & 7.2?
 * Also, I see that the premium version hasn’t been updated for a long time.
    So,
   are there any updates/new features coming?
 * Thanks!
 *  [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * (@raamdev)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/comet-cache-deprecated-code-php-7-2/#post-10005059)
 * Yes, Comet Cache is fully compatible with and tested on PHP 7, 7.1, and 7.2. 
   The reports you’re seeing are false-positives generated by the plugin you’re 
   testing with. Please see [https://wordpress.org/support/topic/false-positive-comet-cache/](https://wordpress.org/support/topic/false-positive-comet-cache/)
 * Comet Cache isn’t alone there either, just check the support forum for that plugin.
   You’ll see that the PHP Compatibility Tester plugin generates a lot of false 
   positives for other plugins too.
 * We’ve fallen behind on updates a bit but we’re working to put out a new release
   very soon. 🙂 You can follow progress on the GitHub repo: [https://github.com/websharks/comet-cache/issues](https://github.com/websharks/comet-cache/issues)
 *  [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * (@raamdev)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/comet-cache-deprecated-code-php-7-2/#post-10005334)
 * I should also note that we have an existing GitHub issue open specifically for
   updating the deprecated `create_function()` method for PHP 7.2: [https://github.com/websharks/comet-cache/issues/921](https://github.com/websharks/comet-cache/issues/921)
 * However, the use of that deprecated function does not affect the function of 
   Comet Cache itself, as `create_function()` is still available in PHP 7.2 and 
   as a result Comet Cache still works fine with PHP 7.2. In any case, we will be
   updating this so that these warnings are not produced and so that Comet Cache
   will be compatible with PHP 7.3+
 *  [catmaniax](https://wordpress.org/support/users/catmaniax/)
 * (@catmaniax)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/comet-cache-deprecated-code-php-7-2/#post-10059273)
 * Thanks for the reply and sorry for the late response.
 * Is there an ETA for the new version and will the pro version be updated too?
 * Can you share any new upcoming features?
 * Thanks!

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

The topic ‘Comet Cache deprecated code PHP 7.2’ is closed to new replies.

 * ![](https://ps.w.org/comet-cache/assets/icon-256x256.png?rev=1348602)
 * [Comet Cache](https://wordpress.org/plugins/comet-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/comet-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/comet-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/comet-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/comet-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/comet-cache/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [catmaniax](https://wordpress.org/support/users/catmaniax/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/comet-cache-deprecated-code-php-7-2/#post-10059273)
 * Status: resolved