Title: PHP 7
Last modified: January 13, 2017

---

# PHP 7

 *  [Marcus Downing](https://wordpress.org/support/users/marcusdowning/)
 * (@marcusdowning)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/php-7-29/)
 * This plugin has problems with PHP 7. As reported by the [PHP Compatibility Checker plugin](https://en-gb.wordpress.org/plugins/php-compatibility-checker/):
 *     ```
       FILE: /data/hmic-local/htdocs/wp-content/plugins/revisionary/lib/agapetry_wp_core_lib.php
       ----------------------------------------------------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
       ----------------------------------------------------------------------------------------------------------------------------------------
        228 | WARNING | Function name "__awp" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
       ----------------------------------------------------------------------------------------------------------------------------------------
   
       FILE: /data/hmic-local/htdocs/wp-content/plugins/revisionary/revisionary_main.php
       ---------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
       ---------------------------------------------------------------------------------------------
        21 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
       ---------------------------------------------------------------------------------------------
   
       FILE: /data/hmic-local/htdocs/wp-content/plugins/revisionary/rvy_init.php
       -------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       -------------------------------------------------------------------------------------------------------------------------
        401 | ERROR | Using 'break' outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
       -------------------------------------------------------------------------------------------------------------------------
   
       FILE: /data/hmic-local/htdocs/wp-content/plugins/revisionary/front_rvy.php
       --------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
       --------------------------------------------------------------------------------------------
        5 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
       --------------------------------------------------------------------------------------------
   
       FILE: /data/hmic-local/htdocs/wp-content/plugins/revisionary/admin/options.php
       ---------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
       ---------------------------------------------------------------------------------------------
        18 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
       ---------------------------------------------------------------------------------------------
   
       FILE: /data/hmic-local/htdocs/wp-content/plugins/revisionary/admin/filters-admin-ui-item_rvy.php
       ------------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
       ------------------------------------------------------------------------------------------------
        12 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
       ------------------------------------------------------------------------------------------------
   
       FILE: /data/hmic-local/htdocs/wp-content/plugins/revisionary/admin/includes/Text/Diff/Renderer.php
       --------------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
       --------------------------------------------------------------------------------------------------
        36 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
       --------------------------------------------------------------------------------------------------
   
       FILE: /data/hmic-local/htdocs/wp-content/plugins/revisionary/admin/includes/Text/Diff/Engine/string.php
       ----------------------------------------------------------------------------------------------------------------
       FOUND 10 ERRORS AFFECTING 10 LINES
       ----------------------------------------------------------------------------------------------------------------
        102 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0
        110 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0
        124 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0
        126 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0
        192 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0
        206 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0
        213 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0
        220 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0
        232 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0
        239 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0
       ----------------------------------------------------------------------------------------------------------------
   
       FILE: /data/hmic-local/htdocs/wp-content/plugins/revisionary/admin/includes/Text/Diff/Engine/xdiff.php
       ---------------------------------------------------------------------------------------------------------------
       FOUND 3 ERRORS AFFECTING 3 LINES
       ---------------------------------------------------------------------------------------------------------------
        48 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0
        52 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0
        56 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0
       ---------------------------------------------------------------------------------------------------------------
   
       FILE: /data/hmic-local/htdocs/wp-content/plugins/revisionary/admin/includes/Text/Diff.php
       ---------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AND 6 WARNINGS AFFECTING 7 LINES
       ---------------------------------------------------------------------------------------------------------------------------
         36 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
        121 | ERROR   | 'clone' is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE)
        307 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
        369 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
        394 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
        416 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
        438 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
       ---------------------------------------------------------------------------------------------------------------------------
   
       FILE: /data/hmic-local/htdocs/wp-content/plugins/revisionary/admin/admin_rvy.php
       ---------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
       ---------------------------------------------------------------------------------------------
        28 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
       ---------------------------------------------------------------------------------------------
       ```
   

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

 * ![](https://ps.w.org/revisionary/assets/icon-256x256.png?rev=3394615)
 * [PublishPress Revisions: Duplicate Posts, Submit, Approve and Schedule Content Changes](https://wordpress.org/plugins/revisionary/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/revisionary/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/revisionary/)
 * [Active Topics](https://wordpress.org/support/plugin/revisionary/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/revisionary/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/revisionary/reviews/)

 * 0 replies
 * 1 participant
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/php-7-29/)
 * Status: not resolved