Title: compatibility with PHP 7?
Last modified: October 17, 2016

---

# compatibility with PHP 7?

 *  Resolved [bhenselmann](https://wordpress.org/support/users/bhenselmann/)
 * (@bhenselmann)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/compatibility-with-php-7-3/)
 * Hi!
    first: Thanks for your plugin!
 * I’ve tested all my plugins with this PHP linter:
    [https://wordpress.org/plugins/php-compatibility-checker/](https://wordpress.org/plugins/php-compatibility-checker/)
 * Unfortunately I found a problem with your plugin:
 * FILE: /kunden/136826_81375/EarthLink/wordpress/wp-content/plugins/gotmls/images/
   index.php
    ———————————————————————————————————————————— FOUND 0 ERRORS AND 1 
   WARNING AFFECTING 1 LINE ———————————————————————————————————————————— 23 | WARNING
   | Function name “__” is discouraged; PHP has reserved all method names with a
   double underscore prefix for future use ————————————————————————————————————————————
 * FILE: /kunden/136826_81375/EarthLink/wordpress/wp-content/plugins/gotmls/index.
   php
    ———————————————————————————- FOUND 2 ERRORS AFFECTING 2 LINES ———————————————————————————-
   1521 | ERROR | preg_replace() – /e modifier is forbidden since PHP 7.0 1596 |
   ERROR | preg_replace() – /e modifier is forbidden since PHP 7.0 ———————————————————————————-
 * Would be great if you can fix this!
 * All the best,
    Bernhard
    -  This topic was modified 9 years, 6 months ago by [bhenselmann](https://wordpress.org/support/users/bhenselmann/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Eli](https://wordpress.org/support/users/scheeeli/)
 * (@scheeeli)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/compatibility-with-php-7-3/#post-8598595)
 * I fixed those errors 🙂
 * Thanks for this detailed report. I just finished my latest update and released
   the new version of my plugin, which is now compatible with PHP 7.0
 * I didn’t change anything with that warning about the Function name “__” being
   discouraged, because that is the function that WordPress uses for translating
   stings.

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/gotmls/assets/icon-256x256.png?rev=1001824)
 * [Anti-Malware Security and Brute-Force Firewall](https://wordpress.org/plugins/gotmls/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gotmls/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gotmls/)
 * [Active Topics](https://wordpress.org/support/plugin/gotmls/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gotmls/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gotmls/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Eli](https://wordpress.org/support/users/scheeeli/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/compatibility-with-php-7-3/#post-8598595)
 * Status: resolved