• gluestick@lemmy.zip
    link
    fedilink
    arrow-up
    1
    ·
    30 minutes ago

    PHP enums can be backed by integers or strings but are distinctly typed and any signature that types them will be fatal even if the value matches that of a backed enum.