Title: PHP 7 Compatibility
Last modified: March 8, 2017

---

# PHP 7 Compatibility

 *  [mwhiteley16](https://wordpress.org/support/users/mwhiteley16/)
 * (@mwhiteley16)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/php-7-compatibility-128/)
 * Hello, just curious if this is compatible with PHP 7. When doing a compatibility
   check I received the following errors:
 *     ```
       FILE: /home/creati64/public_html/wp-content/plugins/swift-mailer/lib/classes/Swift/KeyCache/DiskKeyCache.php
       ------------------------------------------------------------------------------------------------------------
       FOUND 4 ERRORS AFFECTING 4 LINES
       ------------------------------------------------------------------------------------------------------------
        180 | ERROR | INI directive 'magic_quotes_runtime' is deprecated since PHP 5.3 and removed since PHP 5.4.
        187 | ERROR | INI directive 'magic_quotes_runtime' is deprecated since PHP 5.3 and removed since PHP 5.4.
        207 | ERROR | INI directive 'magic_quotes_runtime' is deprecated since PHP 5.3 and removed since PHP 5.4.
        213 | ERROR | INI directive 'magic_quotes_runtime' is deprecated since PHP 5.3 and removed since PHP 5.4.
       ------------------------------------------------------------------------------------------------------------
   
       FILE: /home/creati64/public_html/wp-content/plugins/swift-mailer/lib/classes/Swift/Transport/Esmtp/Auth/NTLMAuthenticator.php
       -----------------------------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       -----------------------------------------------------------------------------------------------------------------------------
        522 | ERROR | Bitwise shifts by negative number will throw an ArithmeticError in PHP 7.0
       -----------------------------------------------------------------------------------------------------------------------------
   
       FILE: /home/creati64/public_html/wp-content/plugins/swift-mailer/lib/classes/Swift/Transport/SimpleMailInvoker.php
       ------------------------------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
       ------------------------------------------------------------------------------------------------------------------
        33 | WARNING | INI directive 'safe_mode' is deprecated since PHP 5.3 and removed since PHP 5.4.
       ------------------------------------------------------------------------------------------------------------------
   
       FILE: /home/creati64/public_html/wp-content/plugins/swift-mailer/lib/classes/Swift/Message.php
       -------------------------------------------------------------------------------------------------------------------------
       FOUND 2 ERRORS AFFECTING 2 LINES
       -------------------------------------------------------------------------------------------------------------------------
        284 | ERROR | 'clone' is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE)
        288 | ERROR | 'clone' is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE)
       -------------------------------------------------------------------------------------------------------------------------
   
       FILE: /home/creati64/public_html/wp-content/plugins/swift-mailer/lib/classes/Swift/ByteStream/FileByteStream.php
       ----------------------------------------------------------------------------------------------------------------
       FOUND 2 ERRORS AFFECTING 2 LINES
       ----------------------------------------------------------------------------------------------------------------
        87 | ERROR | INI directive 'magic_quotes_runtime' is deprecated since PHP 5.3 and removed since PHP 5.4.
        91 | ERROR | INI directive 'magic_quotes_runtime' is deprecated since PHP 5.3 and removed since PHP 5.4.
       ----------------------------------------------------------------------------------------------------------------
       ```
   

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

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

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