Title: Incompatible with PHP 7
Last modified: May 5, 2017

---

# Incompatible with PHP 7

 *  Resolved [SK](https://wordpress.org/support/users/sooskriszta/)
 * (@sooskriszta)
 * [9 years ago](https://wordpress.org/support/topic/incompatible-with-php-7-9/)
 *     ```
       updraftplus/includes/phpseclib/File/ANSI.php
       -------------------------------------------------------------------------------------------------------------------------
       FOUND 5 ERRORS AFFECTING 5 LINES
       -------------------------------------------------------------------------------------------------------------------------
        191 | ERROR | 'clone' is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE)
        192 | ERROR | 'clone' is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE)
        344 | ERROR | 'clone' is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE)
        414 | ERROR | 'clone' is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE)
        433 | ERROR | 'clone' is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE)
       -------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/includes/phpseclib/File/X509.php
       -------------------------------------------------------------------------------------------------------------------
       FOUND 4 ERRORS AFFECTING 4 LINES
       -------------------------------------------------------------------------------------------------------------------
        4657 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
        4682 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
        4749 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
        4821 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
       -------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/includes/phpseclib/Net/SFTP/Stream.php
       -------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       -------------------------------------------------------------------------------------------------------------------------
        200 | ERROR | Global with variable variables is not allowed since PHP 7.0
       -------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/CompositeResourceIteratorFactory.php
       ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        3 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorFactoryInterface.php
       ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        3 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/Model.php
       -------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       -------------------------------------------------------------------------------------------------------------------------------------------------------------------
        3 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       -------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorInterface.php
       -------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       -------------------------------------------------------------------------------------------------------------------------------------------------------------------
        3 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       -------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/MapResourceIteratorFactory.php
       -------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       -------------------------------------------------------------------------------------------------------------------------------------------------------------------
        3 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       -------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIterator.php
       -------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       -------------------------------------------------------------------------------------------------------------------------------------------------------------------
        3 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       -------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/AbstractResourceIteratorFactory.php
       -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
        3 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorClassFactory.php
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
        3 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorApplyBatched.php
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
        3 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/rackspace/php-opencloud/lib/OpenCloud/Identity/Resource/Tenant.php
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
        18 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/rackspace/php-opencloud/lib/OpenCloud/Identity/Resource/Token.php
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
        18 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/rackspace/php-opencloud/lib/OpenCloud/Identity/Resource/Role.php
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
        18 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/rackspace/php-opencloud/lib/OpenCloud/Identity/Resource/User.php
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
        18 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/rackspace/php-opencloud/lib/OpenCloud/Common/Resource/PersistentResource.php
       ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
        18 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/rackspace/php-opencloud/lib/OpenCloud/Common/Resource/ReadOnlyResource.php
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
        18 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/rackspace/php-opencloud/lib/OpenCloud/Common/Resource/BaseResource.php
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
        18 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/rackspace/php-opencloud/lib/OpenCloud/Common/Resource/NovaResource.php
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
        18 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/rackspace/php-opencloud/lib/OpenCloud/ObjectStore/Resource/Account.php
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
        18 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/rackspace/php-opencloud/lib/OpenCloud/ObjectStore/Resource/ContainerMetadata.php
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        18 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/rackspace/php-opencloud/lib/OpenCloud/ObjectStore/Resource/AbstractContainer.php
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        18 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/rackspace/php-opencloud/lib/OpenCloud/ObjectStore/Resource/Container.php
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
        18 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/rackspace/php-opencloud/lib/OpenCloud/ObjectStore/Resource/DataObject.php
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
        18 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       --------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/rackspace/php-opencloud/lib/OpenCloud/ObjectStore/Resource/AbstractResource.php
       -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        18 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 *     ```
       updraftplus/vendor/rackspace/php-opencloud/lib/OpenCloud/ObjectStore/Resource/CDNContainer.php
       ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
        18 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
       ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [9 years ago](https://wordpress.org/support/topic/incompatible-with-php-7-9/#post-9110539)
 * Hi,
 * Thanks. UpdraftPlus has been PHP 7.0 compatible since 2015. Note that static 
   code checkers only check what code exists, and not what code branches will be
   run by particular versions.
 * It’s helpful to search forums before posting these sorts of reports – this identical
   question gets asked on quite a regular basis.
 * David
    -  This reply was modified 9 years ago by [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/).
      Reason: fix typo

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/updraftplus/assets/icon-256x256.jpg?rev=1686200)
 * [UpdraftPlus: WP Backup & Migration Plugin](https://wordpress.org/plugins/updraftplus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/updraftplus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/updraftplus/)
 * [Active Topics](https://wordpress.org/support/plugin/updraftplus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/updraftplus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/updraftplus/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/incompatible-with-php-7-9/#post-9110539)
 * Status: resolved