Title: PHP 7.2
Last modified: November 5, 2018

---

# PHP 7.2

 *  Resolved [politicske](https://wordpress.org/support/users/politicske/)
 * (@politicske)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/php-7-2-16/)
 * Hi, PHP compatibility checker detects this code as incompatible with php 7.2
 *     ```
       FILE: /home/xxx/public_html/wp-content/plugins/download-monitor/src/DownloadHandler.php
       -----------------------------------------------------------------------------------------------------------
       FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
       -----------------------------------------------------------------------------------------------------------
        604 | WARNING | INI directive 'safe_mode' is deprecated since PHP 5.3 and removed since PHP 5.4
        609 | ERROR   | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
       -----------------------------------------------------------------------------------------------------------
   
       FILE: /home/xxx/public_html/wp-content/plugins/download-monitor/src/Libs/uaparser/lib/spyc-0.5/spyc.php
       ----------------------------------------------------------------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
       ----------------------------------------------------------------------------------------------------------------------------------------------------
        393 | WARNING | Method name "Spyc::__load" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
        398 | WARNING | Method name "Spyc::__loadString" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
       ----------------------------------------------------------------------------------------------------------------------------------------------------
       ```
   
 * Is this a false positive? Or is it maintained for backwards compatibility?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Harish Chouhan](https://wordpress.org/support/users/hchouhan/)
 * (@hchouhan)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/php-7-2-16/#post-10854948)
 * Hello,
 * These warnings are due to backward compatibility. We do all our development with
   the latest versions of PHP :).
 * I hope that answers your query. Let us know if you have any further questions.
 *  Thread Starter [politicske](https://wordpress.org/support/users/politicske/)
 * (@politicske)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/php-7-2-16/#post-10857578)
 * Thanks for the answer. It was just that. Is this probably going to cause any 
   problems with future versions of PHP?
 *  [Harish Chouhan](https://wordpress.org/support/users/hchouhan/)
 * (@hchouhan)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/php-7-2-16/#post-10878141)
 * Hi,
 * It should not cause any issue with future versions of PHP.

Viewing 3 replies - 1 through 3 (of 3 total)

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

 * ![](https://ps.w.org/download-monitor/assets/icon-256x256.png?rev=3198936)
 * [Download Monitor](https://wordpress.org/plugins/download-monitor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/download-monitor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/download-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/download-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/download-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/download-monitor/reviews/)

## Tags

 * [PHP 7.2](https://wordpress.org/support/topic-tag/php-7-2/)

 * 3 replies
 * 2 participants
 * Last reply from: [Harish Chouhan](https://wordpress.org/support/users/hchouhan/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/php-7-2-16/#post-10878141)
 * Status: resolved