Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #46550, comment 7


Ignore:
Timestamp:
08/02/2023 03:49:25 PM (14 months ago)
Author:
jrf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #46550, comment 7

    initial v1  
    11> It causes no warnings nor errors in PHP unless strict typing is declared: https://3v4l.org/dEQk2.
    22
    3 Agreed and using `strict_types = 1` in the context of WP is generally not the greatest idea as WP is as loosely as possible, so this would easily cause a mountain of errors.
     3Agreed and using `strict_types = 1` in the context of WP is generally not the greatest idea as WP is as loosy as possible, so this would easily cause a mountain of errors.
    44
    55Having said that, the proposed fix looks like a good improvement, though for reasons of synchronicity with PHP core, not for compatibility reasons.