Title: PHP7 Compatibility
Last modified: September 2, 2016

---

# PHP7 Compatibility

 *  Resolved [sorensenss](https://wordpress.org/support/users/sorensenss/)
 * (@sorensenss)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/php7-compatibility-38/)
 * WPEngine’s PHP7 Compatibility checker is reporting a few PHP7 Errors/Warnings.
 *     ```
       FILE: /wp-content/plugins/fakerpress/modules/comment.php
       ---------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       ---------------------------------------------------------------------------------------------------------------------------
        148 | ERROR | 'object' is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
       ---------------------------------------------------------------------------------------------------------------------------
   
       FILE: /wp-content/plugins/fakerpress/modules/term.php
       ---------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       ---------------------------------------------------------------------------------------------------------------------------
        127 | ERROR | 'object' is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
       ---------------------------------------------------------------------------------------------------------------------------
   
       FILE: /wp-content/plugins/fakerpress/modules/meta.php
       ----------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       ----------------------------------------------------------------------------------------------------------------------------------
        40 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword 'object' (since version 7.0)
       ----------------------------------------------------------------------------------------------------------------------------------
   
       FILE: /wp-content/plugins/fakerpress/modules/post.php
       ---------------------------------------------------------------------------------------------------------------------------
       FOUND 2 ERRORS AFFECTING 2 LINES
       ---------------------------------------------------------------------------------------------------------------------------
        179 | ERROR | 'object' is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
        189 | ERROR | 'object' is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
       ---------------------------------------------------------------------------------------------------------------------------
   
       FILE: /wp-content/plugins/fakerpress/modules/user.php
       ---------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       ---------------------------------------------------------------------------------------------------------------------------
        155 | ERROR | 'object' is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
       ---------------------------------------------------------------------------------------------------------------------------
   
       FILE: /wp-content/plugins/fakerpress/inc/vendor/Faker/src/Faker/Provider/el_GR/Company.php
       ----------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       ----------------------------------------------------------------------------------------------------------------------------------
        80 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword 'object' (since version 7.0)
       ----------------------------------------------------------------------------------------------------------------------------------
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Author [Gustavo Bordoni](https://wordpress.org/support/users/bordoni/)
 * (@bordoni)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/php7-compatibility-38/#post-8149235)
 * Hi sorensenss,
 * Sorry for the delay on my answer, I’m almost sure that these are not Bugs on 
   the current codebase, because I’ve worked with it on PHP7 but I will make sure
   to remove these errors on the next release.
 * Thanks for reporting it.

Viewing 1 replies (of 1 total)

The topic ‘PHP7 Compatibility’ is closed to new replies.

 * ![](https://ps.w.org/fakerpress/assets/icon.svg?rev=1846090)
 * [FakerPress](https://wordpress.org/plugins/fakerpress/)
 * [Support Threads](https://wordpress.org/support/plugin/fakerpress/)
 * [Active Topics](https://wordpress.org/support/plugin/fakerpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fakerpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fakerpress/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Gustavo Bordoni](https://wordpress.org/support/users/bordoni/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/php7-compatibility-38/#post-8149235)
 * Status: resolved