Search posts, tags, users, and pages
Enumerations were added to PHP in PHP 8.1 so I decided to give them a try, and I quite like them. Here’s the most basic form enum MaritalStatus { case Single; case Married; case Divorced; case
Paul Hunter
@paulh · Salford, United Kingdom
Markdown supported · ⌘↵ to post
No responses yet.