Recent Posts


November, 2021 2

Modern PHP’s Reuse of Keywords

I was looking at some of the new features that are coming to PHP 8.1 and I saw enums were on the list. I also saw that PHP’s continuing its pattern of reusing keywords in different contexts to mean different things. An enum in PHP 8.1 looks like this enum Status { case DRAFT; case PUBLISHED; case ARCHIVED; } That’s the case [...]

email hidden; JavaScript is required