Make WordPress Core

Changes between Version 3 and Version 4 of Ticket #56078, comment 10


Ignore:
Timestamp:
11/18/2022 01:55:32 AM (10 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56078, comment 10

    v3 v4  
    1212> you can only use array_unique with an array of string values
    1313
    14 Right, `array_unique()` cannot be used for multi-dimensional arrays. There's an example of a function in the PHP manual that can do this: https://www.php.net/manual/en/function.array-unique.php#116302.
     14Right, `array_unique()` cannot be used for multi-dimensional arrays. There's an example of a function in the PHP manual that may be helpful here: https://www.php.net/manual/en/function.array-unique.php#116302.