Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #63975, comment 10


Ignore:
Timestamp:
09/16/2025 01:44:30 PM (7 months ago)
Author:
SirLouen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #63975, comment 10

    initial v1  
    22> This is wrong. INT (or BIGINT) is always a (numeric-)string when using mysql in PHP on unix.
    33
    4 It's technically wrong (hence your strict typing alert or probably most static analyzers), but not conceptually wrong given that this is only going to receive an array of a very particular case of numerical strings like incremental and mandatory BIGINT IDs, so it's impossible that this can possibly fail.
     4It's technically wrong (hence your strict typing alert or probably most static analyzers), but not conceptually wrong given that this is only going to receive an array of a very particular case of numerical strings that happen to be simplistically incremental and mandatory BIGINT IDs, so it's impossible that this can possibly fail.
    55
    66Being sincere, I'm sure of what the general opinion is on these topics; there are probably a couple hundred like this (and they will keep rising as this is not strongly typed). I'm going to raise it in the next dev chat, would like to hear from others.