Elektrine lite

← Feed

@dseguy@phpc.social

Post #694688

2026-03-16 15:53 UTC

Enumerations are backed by strings, they work with in_array(), but not with array_unique() Well, at least, not directly. Also, did you know Enum::cases() ? #phptip #phptrick https://php-tips.readthedocs.io/en/latest/tips/array_unique_and_enum.html

Replies (0)

No replies.