Title: PHP7
Last modified: May 24, 2017

---

# PHP7

 *  Resolved [Marty](https://wordpress.org/support/users/bozzmedia/)
 * (@bozzmedia)
 * [9 years ago](https://wordpress.org/support/topic/php7-30/)
 * Is this plugin PHP7 compatible? I get the following when I run the PHP 7 compatibility
   checker:
 *     ```
       FILE: /home/accountname/public_html/wp-content/plugins/waterwoo-pdf/inc/fpdi/filters/FilterLZW.php
       ---------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       ---------------------------------------------------------------------------------------------
        156 | ERROR | Bitwise shifts by negative number will throw an ArithmeticError in PHP 7.0
       ---------------------------------------------------------------------------------------------
   
       FILE: /home/accountname/public_html/wp-content/plugins/waterwoo-pdf/inc/fpdf/makefont/makefont.php
       ---------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       ---------------------------------------------------------------------------------------------------------
        316 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
       ---------------------------------------------------------------------------------------------------------
   
       FILE: /home/accountname/public_html/wp-content/plugins/waterwoo-pdf/inc/fpdf/fpdf.php
       ----------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       ----------------------------------------------------------------------------------------------------------
        1013 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
       ----------------------------------------------------------------------------------------------------------
   
       FILE: /home/accountname/public_html/wp-content/plugins/waterwoo-pdf/woo-includes/woo-functions.php
       ---------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
       ---------------------------------------------------------------------------------------------
        1 | WARNING | File has mixed line endings; this may cause incorrect results
       ---------------------------------------------------------------------------------------------
   
       FILE: /home/accountname/public_html/wp-content/plugins/waterwoo-pdf/classes/class_wwpdf_download_handler_22.php
       -----------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
       -----------------------------------------------------------------------------------------------------------
        311 | WARNING | INI directive 'safe_mode' is deprecated since PHP 5.3 and removed since PHP 5.4.
        315 | ERROR   | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
       -----------------------------------------------------------------------------------------------------------
   
       FILE: /home/accountname/public_html/wp-content/plugins/waterwoo-pdf/classes/class_wwpdf_download_handler_23.php
       -----------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
       -----------------------------------------------------------------------------------------------------------
        349 | WARNING | INI directive 'safe_mode' is deprecated since PHP 5.3 and removed since PHP 5.4.
        353 | ERROR   | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
       -----------------------------------------------------------------------------------------------------------
       ```
   
 * Thanks!

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

 *  Plugin Author [Little Package](https://wordpress.org/support/users/littlepackage/)
 * (@littlepackage)
 * [9 years ago](https://wordpress.org/support/topic/php7-30/#post-9171682)
 * Hi there,
 * I looked through these errors from your compatibility checker. They all have 
   provisions and the plugin should still work just fine. I’ve made some minor changes
   for the next release, though, just to make it a little more “kosher.” I can’t
   say when I’ll release it, but it will be released. 🙂 Thank you.
 *  Thread Starter [Marty](https://wordpress.org/support/users/bozzmedia/)
 * (@bozzmedia)
 * [9 years ago](https://wordpress.org/support/topic/php7-30/#post-9171700)
 * Excellent, thank you!
 *  Plugin Author [Little Package](https://wordpress.org/support/users/littlepackage/)
 * (@littlepackage)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/php7-30/#post-9347703)
 * I’ve released version 1.2.6 of WaterWoo, which addresses some of these issues.
   None of them were deal-breakers, and some of them I ignored. To put this simply,
   the bot parsing these errors picks up false positives. It’s PHP 7 ready, and 
   was also already ready. 🙂
 *  Thread Starter [Marty](https://wordpress.org/support/users/bozzmedia/)
 * (@bozzmedia)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/php7-30/#post-9368305)
 * Fantastic, many thanks!

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

The topic ‘PHP7’ is closed to new replies.

 * ![](https://ps.w.org/waterwoo-pdf/assets/icon.svg?rev=3301838)
 * [PDF Ink Lite - Free PDF Watermark & Password Protection](https://wordpress.org/plugins/waterwoo-pdf/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/waterwoo-pdf/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/waterwoo-pdf/)
 * [Active Topics](https://wordpress.org/support/plugin/waterwoo-pdf/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/waterwoo-pdf/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/waterwoo-pdf/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Marty](https://wordpress.org/support/users/bozzmedia/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/php7-30/#post-9368305)
 * Status: resolved