Title: PHP 7 compatibility
Last modified: September 1, 2016

---

# PHP 7 compatibility

 *  Resolved [lisaleague](https://wordpress.org/support/users/lisaleague/)
 * (@lisaleague)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/php-7-compatibility-69/)
 * I’m looking at updating to PHP 7 and ran this checker [https://wordpress.org/plugins/php-compatibility-checker/](https://wordpress.org/plugins/php-compatibility-checker/)
   and found this warning.
 * FILE: /wp-content/plugins/duplicate-post/duplicate-post-admin.php
    ———————————————————————————————–
   FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ———————————————————————————————–
   1 | WARNING | File has mixed line endings; this may cause incorrect results ———————————————————————————————–
 * [https://wordpress.org/plugins/duplicate-post/](https://wordpress.org/plugins/duplicate-post/)

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

 *  [Rita](https://wordpress.org/support/users/ritahoock/)
 * (@ritahoock)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/php-7-compatibility-69/#post-8241372)
 * I have got the same issue for PHP7.
    And can you please also check for compatibility
   of newest WP V4.6.1, thx.
 *  Plugin Author [Enrico Battocchi](https://wordpress.org/support/users/lopo/)
 * (@lopo)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/php-7-compatibility-69/#post-8267878)
 * Hi,
    the warning should not have any consequence: it’s raised because the files
   have DOS newlines instead of Unix newlines, but correcting that and running the
   scan again gives no more warnings. I’ll make sure that’ll not happen in the next
   version.
 * I’m also checking compatibility with 4.6.1, I’ll update the info very soon if
   I don’t release an update.
 *  Thread Starter [lisaleague](https://wordpress.org/support/users/lisaleague/)
 * (@lisaleague)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/php-7-compatibility-69/#post-8267919)
 * Good to hear, thanks!
 *  Plugin Author [Enrico Battocchi](https://wordpress.org/support/users/lopo/)
 * (@lopo)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/php-7-compatibility-69/#post-8268783)
 * Hi,
    the new 3.0.1 version is PHP 7 and WP 4.6.1 compatible.
 *  Thread Starter [lisaleague](https://wordpress.org/support/users/lisaleague/)
 * (@lisaleague)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/php-7-compatibility-69/#post-8275846)
 * Sent a donation, thanks!

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

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

 * ![](https://ps.w.org/duplicate-post/assets/icon-256x256.png?rev=2336666)
 * [Yoast Duplicate Post](https://wordpress.org/plugins/duplicate-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicate-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicate-post/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicate-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicate-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicate-post/reviews/)

## Tags

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

 * 5 replies
 * 3 participants
 * Last reply from: [lisaleague](https://wordpress.org/support/users/lisaleague/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/php-7-compatibility-69/#post-8275846)
 * Status: resolved