Title: PHP 7 Compatibility
Last modified: December 2, 2016

---

# PHP 7 Compatibility

 *  Resolved [HGregoire](https://wordpress.org/support/users/ylupienhgreg/)
 * (@ylupienhgreg)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/php-7-compatibility-97/)
 * Hi !
 * Can you please fix the plugin to be compatible with PHP 7.
 * Message: PHP Error #8192: Methods with the same name as their class will not 
   be constructors in a future version of PHP; wsMenuEditorExtras has a deprecated
   constructor
 * class ABC {
    public ABC() { } // Don’t use this public __construct() { } // Use
   this }
 * Also don’t use reference in your ob_callback methods.
 * function ob_callback(&$buffer); // Don’t use this.
    function ob_callback($buffer);//
   Use this.

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

 *  [Paul Coughlin](https://wordpress.org/support/users/pcoughlingmailcom/)
 * (@pcoughlingmailcom)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/php-7-compatibility-97/#post-8508883)
 * Why is this marked as RESOLVED?
 *  Thread Starter [HGregoire](https://wordpress.org/support/users/ylupienhgreg/)
 * (@ylupienhgreg)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/php-7-compatibility-97/#post-8510286)
 * Simply because it seems already resolved in the last version and there is no 
   way to delete the ticket.

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

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

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

## Tags

 * [php-7](https://wordpress.org/support/topic-tag/php-7/)

 * 2 replies
 * 2 participants
 * Last reply from: [HGregoire](https://wordpress.org/support/users/ylupienhgreg/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/php-7-compatibility-97/#post-8510286)
 * Status: resolved