Title: PHP 7 compatibility
Last modified: May 19, 2017

---

# PHP 7 compatibility

 *  [Steve Taylor](https://wordpress.org/support/users/gyrus/)
 * (@gyrus)
 * [9 years ago](https://wordpress.org/support/topic/php-7-compatibility-152/)
 * I’m trying to switch to PHP 7 on Siteground, and their migration plugin has flagged
   the presence of a deprecated class constructor in this plugin:
 * —————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE —————————————————————————
   44 | WARNING | Use of deprecated PHP4 style class constructor is not supported
   since PHP 7. —————————————————————————
 * It’s just a warning, but are there any plans to fix this? I’ve just done it in
   my theme and it’s pretty easy to switch to __construct().

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

 * ![](https://s.w.org/plugins/geopattern-icon/clean-archives-reloaded.svg)
 * [Clean Archives Reloaded](https://wordpress.org/plugins/clean-archives-reloaded/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/clean-archives-reloaded/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/clean-archives-reloaded/)
 * [Active Topics](https://wordpress.org/support/plugin/clean-archives-reloaded/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/clean-archives-reloaded/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/clean-archives-reloaded/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Steve Taylor](https://wordpress.org/support/users/gyrus/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/php-7-compatibility-152/)
 * Status: not resolved