# Enums are coming to PHP 8.1

**URL:** <https://forum.devtalk.com/t/enums-are-coming-to-php-8-1/7162>\
**Category:** Blogs/Articles/Talks/Podcasts\
**Tags:** php, in-the-news\
**Created:** [19 February 2021 00:31 UTC](https://forum.devtalk.com/t/enums-are-coming-to-php-8-1/7162 "2021-02-19T00:31:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CommunityNews](https://forum.devtalk.com/user_avatar/forum.devtalk.com/communitynews/32/1113_2.png) [@CommunityNews](https://forum.devtalk.com/u/CommunityNews)\
**Post date:** [19 February 2021 00:31 UTC](https://forum.devtalk.com/t/enums-are-coming-to-php-8-1/7162/1 "2021-02-19T00:31:00Z")

</div>

> They are finally coming — built-in support for enums will be added in [PHP 8.1](https://stitcher.io/blog/new-in-php-81)! Some might consider them long overdue, but you don’t hear me complain; I’m glad they made it! This post is dedicated to looking at the newly added feature in-depth.

> **[PHP 8.1: Enums - stitcher.io](https://stitcher.io/blog/php-enums)**
>
> PHP 8.1 adds built-in support for enums, let's take a look at all the details.

_This thread was posted by one of our members via one of our news source trackers._
