CodeCourse - PHP Enums

CodeCourse - PHP Enums

Register & Get access to index

TUTProfessor

Processing....
Staff member
Administrator
Uploader
Jul 31, 2020
9,111
1,040,615
129
TUTProfessor submitted a new resource:

CodeCourse - PHP Enums - Enums represent a typed set of possible values in PHP. For example, if you're storing a Book that ca

ng635620y1kj.png


About this course​

Enums represent a typed set of possible values in PHP. For example, if you're storing a Book that can have a status of want to read, reading or read, an Enum will hold these values in one place that you can reference anywhere.
Prior to PHP 8.1 (when Enums were added), you'd have to work with a simple class with constants. While that works fine, it doesn't provide much power under...

Read more about this resource...
 

Latest resources