Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #57213, comment 11


Ignore:
Timestamp:
06/02/2025 12:28:37 AM (17 months ago)
Author:
SirLouen

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57213, comment 11

    initial v1  
    55By the way, @johnbillion, just as a curiosity, on the paper a type cast with a `===` can't have an impact compared with a regular comparison. For all scenarios where type conversion happens the complexity is going to be the same, except for strings, where casting from `string` to `int` (in case it's ever cast) will have a constant complexity, while a classic comparison will need to ultimately do the same. So I doubt that performance testing was required at all, and I doubt that these changes were required at all (other than aesthetic purposes).
    66
    7 Anyway, time to close this as it has been already fixed.
     7Anyway, time to close this as it has been already fixed, and I wonder if there is a risk that `$the_['accepted_args']` could be a noninteger (which shouldn't).
    88