[wp-trac] [WordPress Trac] #57205: PHP 8.1 warning : Implicit conversion from float 9.9 to int loses precision

WordPress Trac noreply at wordpress.org
Fri Nov 25 07:55:12 UTC 2022


#57205: PHP 8.1 warning : Implicit conversion from float 9.9 to int loses precision
--------------------------+-----------------------------
 Reporter:  roadlink      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.1.1
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 Hi,
 I use pressable as hosting and tehir php error log shows me these.

 {{{#!php
 <?php
 [24-Nov-2022 20:41:44 UTC] PHP Deprecated:  Implicit conversion from float
 9.9 to int loses precision in /wordpress/core/6.1.1/wp-includes/class-wp-
 hook.php on line 77
 [24-Nov-2022 20:41:44 UTC] PHP Deprecated:  Implicit conversion from float
 9.9 to int loses precision in /wordpress/core/6.1.1/wp-includes/class-wp-
 hook.php on line 79
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57205>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list