Title: PHP 7
Last modified: September 1, 2016

---

# PHP 7

 *  Resolved [Rasmus](https://wordpress.org/support/users/rassom/)
 * (@rassom)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/php-7-51/)
 * First of all thanks for a great plugin!
 * I’m moving to PHP 7 soon and found through [https://wordpress.org/plugins/php-compatibility-checker/](https://wordpress.org/plugins/php-compatibility-checker/)
   that your plugin seems not to be PHP 7 compatible. Would you see if you could
   make it compatible, please?
 * Thank you 🙂
 * First of all thanks for a great plugin!
 * I’m moving to PHP 7 soon and found through [https://wordpress.org/plugins/php-compatibility-checker/](https://wordpress.org/plugins/php-compatibility-checker/)
   that your plugin seems not to be PHP 7 compatible. Would you see if you could
   make it compatible, please?
 * I’ve pasted the checker error messages below.
 * Thank you 🙂
 * /wp-content/plugins/wpdatatables/lib/phpExcel/PHPExcel/Calculation/Functions.
   php
    ——————————————————————————————————————————— FOUND 1 ERROR AFFECTING 1 LINE———————————————————————————————————————————
   275 | ERROR | Function name, class name, namespace name or constant name can 
   not be reserved keyword ‘NULL’ (since version 7.0) ———————————————————————————————————————————
 * /wp-content/plugins/wpdatatables/lib/phpExcel/PHPExcel/Calculation/MathTrig.php
   ——————————————————————————————————————————–
   FOUND 1 ERROR AFFECTING 1 LINE ——————————————————————————————————————————– 421
   | ERROR | Function name, class name, namespace name or constant name can not 
   be reserved keyword ‘INT’ (since version 7.0) ——————————————————————————————————————————–
 * /wp-content/plugins/wpdatatables/lib/phpExcel/PHPExcel/Calculation/Logical.php
   ———————————————————————————————————————————
   FOUND 2 ERRORS AFFECTING 2 LINES ——————————————————————————————————————————— 
   60 | ERROR | Function name, class name, namespace name or constant name can not
   be reserved keyword ‘TRUE’ (since version 7.0) 77 | ERROR | Function name, class
   name, namespace name or constant name can not be reserved keyword ‘FALSE’ (since
   version 7.0) ———————————————————————————————————————————
 * /wp-content/plugins/wpdatatables/lib/phpExcel/PHPExcel/CachedObjectStorage/SQLite.
   php
    —————————————————————————————————————————- FOUND 9 ERRORS AFFECTING 9 LINES—————————————————————————————————————————-
   63 | ERROR | Extension ‘sqlite’ is removed since PHP 5.4 64 | ERROR | Extension‘
   sqlite’ is removed since PHP 5.4 108 | ERROR | Extension ‘sqlite’ is removed 
   since PHP 5.4 142 | ERROR | Extension ‘sqlite’ is removed since PHP 5.4 166 |
   ERROR | Extension ‘sqlite’ is removed since PHP 5.4 211 | ERROR | Extension ‘
   sqlite’ is removed since PHP 5.4 236 | ERROR | Extension ‘sqlite’ is removed 
   since PHP 5.4 274 | ERROR | Extension ‘sqlite’ is removed since PHP 5.4 276 |
   ERROR | Extension ‘sqlite’ is removed since PHP 5.4 —————————————————————————————————————————-
 * /wp-content/plugins/wpdatatables/lib/phpExcel/PHPExcel/Shared/OLE/PPS/Root.php
   ———————————————————————————————————————
   FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ———————————————————————————————————————
   1 | WARNING | File has mixed line endings; this may cause incorrect results ———————————————————————————————————————
 * /wp-content/plugins/wpdatatables/lib/phpExcel/PHPExcel/Shared/PCLZip/pclzip.lib.
   php
    ———————————————————————————————————————————— FOUND 3 ERRORS AFFECTING 3 
   LINES ———————————————————————————————————————————— 5347 | ERROR | The use of 
   function set_magic_quotes_runtime is discouraged from PHP version 5.3 and forbidden
   from PHP version 7.0 5361 | ERROR | Deprecated PHP4 style constructor are not
   supported since PHP7 5378 | ERROR | The use of function set_magic_quotes_runtime
   is discouraged from PHP version 5.3 and forbidden from PHP version 7.0 ————————————————————————————————————————————
 * /wp-content/plugins/wpdatatables/source/class.filterwidget.php
    —————————————————————————————————–
   FOUND 1 ERROR AFFECTING 1 LINE —————————————————————————————————– 62 | ERROR 
   | Deprecated PHP4 style constructor are not supported since PHP7 —————————————————————————————————–
 * [https://wordpress.org/plugins/wpdatatables/](https://wordpress.org/plugins/wpdatatables/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [wpDataTables](https://wordpress.org/support/users/wpdatatables/)
 * (@wpdatatables)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/php-7-51/#post-7594576)
 * Hi there,
 * Thanks for the feedback! We’ll surely check these errors.
 * We’re running PHP7 locally on some of dev machines, and had no issue with running
   the plugin – probably these errors are warnings, not fatal errors. Many of these
   are actually caused by 3rd party libs (and seem to be in places not used by the
   plugin). So if you have a dev server to check it out I believe you can see that
   the plugin will actually work on PHP7.

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/wpdatatables/assets/icon-128x128.gif?rev=3010404)
 * [wpDataTables - WordPress Data Table, Dynamic Tables & Table Charts Plugin](https://wordpress.org/plugins/wpdatatables/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpdatatables/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpdatatables/)
 * [Active Topics](https://wordpress.org/support/plugin/wpdatatables/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpdatatables/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpdatatables/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [wpDataTables](https://wordpress.org/support/users/wpdatatables/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/php-7-51/#post-7594576)
 * Status: resolved