Title: PHP 7 Compatibility?
Last modified: January 17, 2017

---

# PHP 7 Compatibility?

 *  [pq](https://wordpress.org/support/users/pq/)
 * (@pq)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php-7-compatibility-110/)
 * Hello,
    I ran a PHP 7 compatibility test on my site, and it reported warnings
   and errors for Twitget:
 * FILE: /wp-content/plugins/twitget/lib/tmhOAuth.php
    ——————————————————————————-
   FOUND 2 ERRORS AFFECTING 1 LINE ——————————————————————————-
 *  14 | ERROR | Function name, class name, namespace name or constant name can 
   not be reserved keyword ‘__dir__’ (since PHP version 5.3)
    14 | ERROR | Function
   name, class name, namespace name or constant name can not be reserved keyword‘
   __dir__’ (since PHP version 5.3) ——————————————————————————-
 * FILE: /wp-content/plugins/twitget/twitget.php
    ——————————————————————————- FOUND
   0 ERRORS AND 1 WARNING AFFECTING 1 LINE ——————————————————————————-
 *  1012 | WARNING | Use of deprecated PHP4 style class constructor is not supported
   since PHP 7.
    ——————————————————————————-
 * Seems like the plugin still works in a testing environment, but I thought you
   would want to know & maybe fix.
 * Thanks,
    pq

Viewing 1 replies (of 1 total)

 *  Anonymous User 9905372
 * (@anonymized-9905372)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php-7-compatibility-110/#post-8678282)
 * Sorry for the late reply,
 * I will check it out.
 * Cheers.

Viewing 1 replies (of 1 total)

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

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

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [pq](https://wordpress.org/support/users/pq/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/php-7-compatibility-110/)
 * Status: not resolved