PHP Tek 2025 PHP Tek 2025 Login
Enums in the wild
Speaker: Dana Luther
Enums in the wild

Level: Intermediate (some prior knowledge necessary)
Length: Standard (50 minutes)

Description:
Before the advent of Enums in PHP, we had numerous ways of representing enum-like data. Like many aspects of PHP, how the Enums have been implemented to replace those old methods can vary widely based on the developer and the application in question. In this session, we will dive into the ways Enums have been adopted - the good, the bad, and the ugly. We’ll talk about readability and data storage as well as diving into methods for refactoring. This will be an interactive session and I encourage all attendees to share their experiences as we go.

Thanks to our PHP Tek 2025 sponsors!
PHP Architect
(Platinum)
Prompt
(Platinum)
WPConcierge
(Gold)
Roave
(Silver)
typesense
(Silver)
Geocod.io
(Silver)
Vehikl
(Bronze)
Laravel
(Bronze)
OSMI
(Bronze)
Clayton Kendall LLC
(Bronze)
NativePHP
(Bronze)