you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 13 hours 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.

  • source
  • parent