Title: PHP warning
Last modified: March 16, 2024

---

# PHP warning

 *  Resolved [Mahdi Akrami](https://wordpress.org/support/users/akramipro/)
 * (@akramipro)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-warning-480/)
 * hi. please fix this php warning
 *     ```wp-block-code
       PHP Deprecated: Implicit conversion from float 23.5 to int loses precision in /wp-content/plugins/wordfence/models/scanner/wfScanner.php on line 1232
       ```
   
 * my wf version: 7.11.4
    -  This topic was modified 2 years, 2 months ago by [Mahdi Akrami](https://wordpress.org/support/users/akramipro/).

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

 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-warning-480/#post-17509596)
 * Thank-you for highlighting this [@akramipro](https://wordpress.org/support/users/akramipro/),
 * Implicit conversion from float messages seemed to occur in the past when using
   PHP 8.1 (although may now be present on higher versions). It won’t affect running
   scans according to our tests.
 * These notices will be fixed in upcoming releases to ensure compatibility with
   future PHP versions – often as WordPress moves towards officially supporting 
   them too. At the moment certain version of PHP 8 have “compatible with exceptions”
   or “beta support” status for WordPress 6.4, but this is a good chart to keep 
   an eye on: [https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/](https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/)
 * Even though Wordfence is tested with PHP 8+ and its release candidates, there
   may be some deprecation notices such as these, so will pass your message on to
   ensure we’re looking in that area.
 * Thanks,
   Peter.
 *  Thread Starter [Mahdi Akrami](https://wordpress.org/support/users/akramipro/)
 * (@akramipro)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-warning-480/#post-17509969)
 * I will be waiting for your update.
 * Thanks

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

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

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Mahdi Akrami](https://wordpress.org/support/users/akramipro/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/php-warning-480/#post-17509969)
 * Status: resolved