Title: PHP7 compatibility
Last modified: August 30, 2016

---

# PHP7 compatibility

 *  Resolved [xoogu](https://wordpress.org/support/users/xoogu/)
 * (@xoogu)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php7-compatibility-1/)
 * Are there plans to ensure WP works on PHP7?
 * I just installed the PHP7 beta2, and while I haven’t seen any errors yet, I am
   getting the following notices:
 *     ```
       Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Translation_Entry has a deprecated constructor in wp-includes/pomo/entry.php on line 73
       Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_Reader has a deprecated constructor in wp-includes/pomo/streams.php on line 114
       Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_FileReader has a deprecated constructor in wp-includes/pomo/streams.php on line 165
       Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_StringReader has a deprecated constructor in wp-includes/pomo/streams.php on line 211
       Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_CachedFileReader has a deprecated constructor in wp-includes/pomo/streams.php on line 227
       Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_CachedIntFileReader has a deprecated constructor in wp-includes/pomo/streams.php on line 238
       Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WP_Widget_Factory has a deprecated constructor in wp-includes/widgets.php on line 595
       Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WP_User_Search has a deprecated constructor in wp-admin/includes/deprecated.php on line 651
       ```
   

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

 *  Moderator [Marius L. J.](https://wordpress.org/support/users/clorith/)
 * (@clorith)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php7-compatibility-1/#post-6368884)
 * Hi,
 * I moved your thread, as the forum you were using is meant for discussing the 
   current beta release of WordPress 4.3 which I believe you may not be using 🙂
 * WordPress 4.3 will actually deprecate the use of PHP4 style constructors for 
   this exact purpose, you can read more about that at [https://make.wordpress.org/core/2015/07/02/deprecating-php4-style-constructors-in-wordpress-4-3/](https://make.wordpress.org/core/2015/07/02/deprecating-php4-style-constructors-in-wordpress-4-3/)
 *  Thread Starter [xoogu](https://wordpress.org/support/users/xoogu/)
 * (@xoogu)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php7-compatibility-1/#post-6368895)
 * Yes, that’s correct. I couldn’t find a link to download any beta version, just
   the nightlies.
 * Thanks for the link to that post, judging by [this](https://core.trac.wordpress.org/changeset/32990)
   it looks like it’s all in hand. (Assuming those changes are actually carried 
   through to the next release).

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

The topic ‘PHP7 compatibility’ is closed to new replies.

## Tags

 * [PHP7](https://wordpress.org/support/topic-tag/php7/)

 * In: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
 * 2 replies
 * 2 participants
 * Last reply from: [xoogu](https://wordpress.org/support/users/xoogu/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/php7-compatibility-1/#post-6368895)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
