- ๐ฆ๐นAustria drunken monkey Vienna, Austria
For example:
['option1'=> 'option1', 'option2' => 0] != ['option1'=> 0, 'option2' => 'option2']
returns false although values have changed. - Status changed to Active
over 1 year ago 1:53pm 26 September 2023 - ๐ณ๐ฑNetherlands willempje2
Not sure if link works or if you want to support PHP 7 but does seems to be true for PHP 7.4.33
https://3v4l.org/QMF0j#v7.4.33 - Status changed to Closed: won't fix
over 1 year ago 8:45am 1 October 2023 - ๐ฆ๐นAustria drunken monkey Vienna, Austria
Ah, OK.
Well, since PHP 7 has been EOL for almost a year, and the last Drupal version to even theoretically support it will follow in a month, I donโt think itโs worth it to fix this now. Still, thanks for reporting, and please feel free to re-open if you have any good examples that fail on PHP 8 as well.