[wp-trac] [WordPress Trac] #60429: Deprecated: Implicit conversion from float to int loses precision

WordPress Trac noreply at wordpress.org
Thu Mar 7 09:10:41 UTC 2024


#60429: Deprecated: Implicit conversion from float to int loses precision
--------------------------+------------------------------
 Reporter:  retrovertigo  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  I18N          |     Version:
 Severity:  minor         |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by sabernhardt):

 * component:  General => I18N


Comment:

 [https://core.trac.wordpress.org/browser/tags/6.4.3/src/wp-
 includes/pomo/mo.php#L208 Line 208] is in `MO::get_byteorder()`:
 {{{
 $magic_big = ( (int) - 569244523 ) & 0xFFFFFFFF;
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60429#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list