Castuner
English
English Català Español Euskara Galego Português Français Italiano Deutsch Polski Русский Svenska
No Compromises

How much logic is too much logic in a PHP enum

Jun 6, 2026 13:17

Audio file

Have you ever added a method to an enum and then wondered if you just turned it into something it was never meant to be?

In the latest episode of the No Compromises podcast, we discuss where to draw the line when adding methods and logic to PHP enums.

We trace the evolution from magic strings to constants to interfaces, and explain why enums were the missing piece PHP needed all along.

We…

88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108

Every podcast with a public feed, played straight from the people who make it.

Browse

All podcasts Submit a podcast

Castuner

About CastunerPrivacyTerms

Language

English Català Español Euskara Galego Português Français Italiano Deutsch Polski Русский Svenska

© 2026 All Tuner Labs · Made with ❤️ in Poblenou, Barcelona

0:00 0:00