Deep Dive into Basic and Backed Enums in PHP

Поделиться
HTML-код
  • Опубликовано: 4 авг 2024
  • PHP 8.1 introduced Enumerations (Enums). Learn all about enums and discover how to use both basic and backed enums and the various features that come with using Enums.
    00:00 - Intro
    00:30 - Define Basic Enums
    02:00 - Using an Enum
    08:58 - Functions in Enums
    11:05 - Backed Enums
    16:30 - Special Backed Enum Functions
    19:36 - Traits, Interfaces, Constants
    22:21 - Difference between enums and classes
    25:19 - PHP Enum Documentation
    Follow me:
    / nick_escobedo
    / nickescobedo
    #php #enums #phpenums
  • НаукаНаука

Комментарии •